-
-
Notifications
You must be signed in to change notification settings - Fork 233
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
Code is running but the results are not are not saved #54
Comments
Thanks for writing the issue. Looking at the global_json2yolo code, there are some flags.
Converting the COCO segmentation format to YOLO segmentation format.
Converting the COCO keypoints format to YOLO keypoints format.
To convert the COCO segmentation format to YOLO segmentation format.
This is the folder structure when we run the script. Please let us know your opinion. |
same here. it makes a new directory named "new_dir" and only create the directory structures in it. the problem is in this line: JSON2YOLO/general_json2yolo.py Line 306 in c38a43f
|
What about the images directory in the created directory called |
Thank you for pointing that out. The script currently handles the conversion of annotation files only. To copy the source images to the destination directory, simply use a file copy command to ensure both the image and label files are present in the |
Hi @SadeghPouriyanZadeh, please copy images by yourself. Do you have any other problems for annotations? |
I trien to convert the |
@Mary14-design hi there! It sounds like there might be an issue with how the script is locating the JSON file or parsing its contents. Could you double-check the path to Additionally, verify that your JSON file is properly formatted and not empty. If the file and path are correct, try adding some print statements in the script to see if it's reading the file and entering the conversion loop. If you're still facing issues, please provide more details such as the command you used to run the script, and we’ll be glad to assist further! 😊 |
Hi @Mary14-design, thanks for writing the issue.
|
Thanks for your code, I'm trying to convert the keypooints.json file to Yolo format using your code in colab. The code runs fine and creating a new folder with images, labels but yolo format labels are not saved. Can you please let me know what is the issue. Thanks
The text was updated successfully, but these errors were encountered: