Semantic Segmentation Dataset (one label)

Hi
I am new to hugging faces and trying to upload my dataset and have uploaded the dataset.

I tried to use the dataset but got the following error (I only have one label)

my dataset

I am not sure what I did wrong. Can some one please help me understand why my dataset is not correct?

Thank you.

Hi @janakipanneerselvam,
It states here that you have to use the model with more than one label.

I would assume that: if you add another label to your dataset such as “not-the-label-iam-looking-for”, update dataset locally, push to the hub and re-download it should work.
You’ve already checked the correct elements, however the label key should not be None but [mylabel,not-my-label] and probably show in your particular case at least =2.
Best,
Mike

1 Like