Skip to content
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

I made YOLO annotations script #6

Closed
galaktyk opened this issue Sep 13, 2018 · 3 comments
Closed

I made YOLO annotations script #6

galaktyk opened this issue Sep 13, 2018 · 3 comments

Comments

@galaktyk
Copy link

galaktyk commented Sep 13, 2018

here
It create .txt yolo format annotation out from downloaded images
compatible with other visualizer e.g. labelImg, boobs

*now read .csv in small chunk so it wont crash my potato PC and re-arrange if condition to improve speed.

@EscVM
Copy link
Owner

EscVM commented Sep 14, 2018

Hi,
good work @galaktyk! I created one too, but it's still not complete. For now, it works only with separated classes. In the following days I'll implement also multi-label translation (when more classes are in the same folder). Nevertheless, you can peep to my script ---> here.

@EscVM
Copy link
Owner

EscVM commented Sep 17, 2018

Hi @galaktyk,
I've just upadated the "oid to yolo" script. It has far more features than the previous version, but it still can be improved.
Feature
Convert:

  • convert one class to yolo format
  • convert multiple classes in a common folder to yolo format
  • copy all pictures together with the new created labels
  • create the .name file with the classes

Dummy:

  • add to the converted folder, pictures of a different class with void labels. It's helpful to had negative examples to the dataset

Enjoy ;)

@pullmyleg
Copy link

@EscVM just a note there is a small issue with the latest version. The previous version works fine.

File "oid_to_yolo.py", line 177
try:
^
TabError: inconsistent use of tabs and spaces in indentation

Thanks for the great tools!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants