-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Cannot upload YOLO annotations generated from dump annotations #2473
Comments
Hi. |
Thanks for the response! I uploaded the image directly using the direct file upload and nothing else out of ordinary |
Reproduced the issue using a small 5 images test data set in both Win10 / Ubuntu20 OS (I was originally hoping to incorporate my new label txt files are Windows based and I thought CRLF was originally the problem before running into this issue). Further testing in both OS suggests the issue is more than CRLF as default YOLO 1.1 label zip output from CVAT in YOLO 1.1 format cannot be imported back into itself even before I attempt to incorporate my own label. Built based on latest Master branch #916dd6d on both Ubuntu20 and Windows 10 host. Server version: 1.2 |
@yasakova-anastasia , could you please take the issue and fix? @DmitriyOparin , could you please add test? |
@nmanovic, yes, sure |
My actions before raising this issue
I have a dataset i want to label, but i want to incorporate exisitng labels of the dataset (detection dataset, i want to add attributes)
I experimented to see if it was possible through the upload annotation feature and did exactly this :
And instead of working as intended, i have met with this error :
I immediately checked the log and traced the error all the way to this file
in which i surmise the error comes from the absence of the 'size' property of 'image' being None, which is funnily caused by the absence of an images.meta file judging from these lines, documented nowhere.
I also thought that somehow i did something that makes image info is not passed to the constructor of the extractor, but seems like this shows it was not the case.
Expected Behaviour
The yolo annotation can be uploaded normally without anything on the way.
Current Behaviour
The error aforementioned
Possible Solution
Better documentations regarding such subjects if it was NOT documented, or bugfix if it was a bug / error
Steps to Reproduce (for bugs)
Mentioned above
Context
Your Environment
This commit hash 3fb3f67
Website says version 1.1rc0
The text was updated successfully, but these errors were encountered: