-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix an issue with Imagenet dataset import #4861
Conversation
/check |
❌ Some checks failed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was able to import the dataset.
However, I've found another problem: if I import an ImageNet dataset, change a label on an image, export with images as ImageNet, and then import it, the dataset misses 1 image (the changed one). The image exists in the exported archive, but the file layout is like this:
/cat/cat_1.jpg
,,,
/dog/cat/cat_0.jpg
/dog/dog_0.jpg
...
@zhiltsov-max, this problem needs to be fixed in Datumaro. I created an issue. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The problem still needs to be resolved. I can get the error with a dataset like this:
images.zip/
/a/b/c.png
/q/e.jpg
I see the previous problem has gone, but I was lucky enough to find another one. If we export an Imagenet dataset in CVAT format and then import the dataset, there will be an error
I don't think this new problem should be fixed here, let's do it in another PR to unblock this one. |
Opened a PR with a fix for this issue. |
Motivation and context
How has this been tested?
Checklist
develop
branchcvat-core, cvat-data and cvat-ui)
License
Feel free to contact the maintainers if that's a concern.