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

ValueError: Renaming of annotated datasets is unsupported #150

Closed
Purmpol opened this issue May 2, 2020 · 3 comments
Closed

ValueError: Renaming of annotated datasets is unsupported #150

Purmpol opened this issue May 2, 2020 · 3 comments

Comments

@Purmpol
Copy link

Purmpol commented May 2, 2020

Thanks for your great tool.
However, I got an error when renaming pascal dataset.


$cvdata_rename --annotations_dir anns --images_dir imgs --prefix train --start 0 --digits 3 --format pascal
Traceback (most recent call last):
File "/home/em/miniconda3/envs/tf2cpu/bin/cvdata_rename", line 8, in
sys.exit(main())
File "/home/em/miniconda3/envs/tf2cpu/lib/python3.7/site-packages/cvdata/rename.py", line 102, in main
raise ValueError("Renaming of annotated datasets is unsupported")
ValueError: Renaming of annotated datasets is unsupported

@monocongo
Copy link
Owner

I apologize for the confusion, @Purmpol , this feature is not supported yet, and that argument (annotations_dir) is essentially a place holder.

We allude to this in the README:

In a future release we'll support renaming of image and corresponding annotation files.

@Purmpol
Copy link
Author

Purmpol commented May 7, 2020

Sorry. It's my bad.
However I hope to see that feature soon.
Your tool helps me a lot. Thank again.

@Purmpol Purmpol closed this as completed May 7, 2020
@monocongo
Copy link
Owner

monocongo commented May 7, 2020

@Purmpol I appreciate your comments, please submit an issue for this feature request. I don't work on this code very often but that rename should not be too hard to add. Thanks!

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

2 participants