-
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
Unable to Import COCO, PASCAL, YOLO annotations - Error 500 [Urgent Support Requested] #5977
Comments
Hi, please make sure the uploaded annotations and datasets use the file layouts described here. |
It does work with the exact "word to word" file structure and naming. Isn't there a generalised file structure? |
Image file names can be arbitrary, given they are listed in the corresponding subset file ( |
If anyone has the same problem, i was able to solve it for the YOLO case by including the images alongside the annotation files. |
@elhabchiali did you export the images with yolo format from roboflow ? If not any advice on how to export roboflow dataset to cvat ? Thanks. |
My actions before raising this issue
When I try to import annotations for a small dataset, CVAT online as well as the locally hosted version throws an error 500 with the error
in the console.
Steps to Reproduce (for bugs)
Create a Project "XYZ" with 5 labels.
Create a Task and upload images directly (no archive) with local storage option and 100% image quality.
Open the job and upload annotations (archive with just annotation files or JSON file) - I have coco json, yolo, and pascal voc xml annotations - which need to be verified and updated.
The YOLO data are in the format:
images
| 1.jpg
| 2.jpg
...
labels
| 1.txt
| 2.txt
...
data.yaml
data.names
obj.data
train.txt
The COCO JSON data is in the same format except that the images folder has a file named
_annotations.json
, and there are no labels, data.yaml, etc files and folders.The PASCAL VOC XML data is in the same format except that the images folder has 1.xml, 2.xml etc files and there are no labels, data.yaml, etc files and folders.
CVAT will take the annotations in all formats, and throw the same error after some time and ask to check console.
This is happening with many datasets, also sometimes for 5-7 images it works!
Annotations are not flawed - model trains, tested on roboflow, makesense, and labelimg and it works! Want to use CVAT for better processing as always.
Expected Behaviour
Current Behaviour
OR
Possible Solution
Context
Your Environment
Git hash commit (
git log -1
):commit 2709802 (HEAD -> develop, origin/develop, origin/HEAD)
Author: Maxim Zhiltsov zhiltsov.max35@gmail.com
Date: Wed Apr 5 01:59:25 2023 +0300
Fix cloud storage permissions (Fix cloud storage permissions #5956)
Docker version
docker version
(e.g. Docker 17.0.05):Docker
MacOS 13.3 - 2.6 GHz 6-Core Intel Core i7
NA
The text was updated successfully, but these errors were encountered: