Same image has multiple rows in metadata but only single is displayed in viewer

#2
by SushantGautam - opened

Need feature to show multiple rows referring to the same images.

I have 6.5K images and 60K annotations (see metadata)
But only 6.5K data are shown in the viewer. . any way to solve this?

I tried with dataset loader script, but that was not so efficient. The size got huge.
Need help!

cc @albertvillanova @lhoestq @severo .

https://github.com/huggingface/datasets/discussions/7131

fixed!

fixed!

But how? I still can see only 6.5 rows (one row per unique filename) in the preview (or with load_dataset)

ah ok, there was another error, that is fixed now. I'm not sure if we support having multiple annotations for the same image, besides having everything in a webdataset / parquet or arrow format. cc @lhoestq

ah ok, there was another error, that is fixed now. I'm not sure if we support having multiple annotations for the same image, besides having everything in a webdataset / parquet or arrow format. cc @lhoestq

I have ImageFolder dataset here in this repo.
I think this is related to the the logic while building parquet for the viewer.

Sign up or log in to comment