-
Notifications
You must be signed in to change notification settings - Fork 17
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
Only one sample in train and val #68
Comments
Which version are you using? |
0.2.4 Below is the command I used: labelme2yolo --json_dir /Users/xxx/Documents/project/train/ |
Could you try it with 0.2.0? it might be caused by parallelization. |
Would you mind providing some logs, I can't reproduce the issue. |
Thanks for the fast response! Just tried. Now I have the 16 images organized into 12 for train and 4 for val. But for the labels, there is still only one txt file. |
Versions smaller than 0.2 are more stable, just a lot slower, so maybe you could try that. |
There is actually no error. My file names are like "a.b.png" and "a.b.json". Could this be the cause? |
I think this is the issue. I renamed my files to "a.png" and "a.json". Now I get all the outputs correctly. Perhaps the parsing of file names needs to be updated. Thanks again! |
Thanks for the feedback, I'll try to fix the issue next. |
No problem. Great work mate! |
Hi, I have totally 16 labelled images (png + json). But after running the command, there is only one in train and one in val. May I know what has gone wrong? Thank you!

The text was updated successfully, but these errors were encountered: