cvat-ai / cvat

Annotate better with CVAT, the industry-leading data engine for machine learning. Used and trusted by teams at any scale, for data of any scale.

Home Page:https://cvat.ai

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Color Error during uploading of segmentation mask 1.1

t0wgster opened this issue · comments

Hi everyone,

I'm using CVAT for my master thesis and I am currently encountering a problem during uploading my own segmentation mask 1.1 into CVAT. Due to various reasons, i created my own segmentation masks and want to upload them back into CVAT because I want to edit them.

This is the error code that I encounter:
Could not import dataset to the [project 1](......)
Error: Request failed with status code 500. "datumaro.components.errors.AnnotationImportError: Failed to import item ('images/20230308_111122-111552 SurfaceDefect/004116_20230308_111134.796912', 'default') annotation: Undeclared label '255'\n"..

The class that I'm uploading is depicted as white in my segmentation masks. I already changed its color to white in the labelmap.txt file as well as in the constructor but I'm still encountering the same error.

unnamed

Is there anything else I could try out?

Thanks in advance for your help!