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

Kitty to Darknet issue #149

Open
DanIn232 opened this issue Apr 18, 2020 · 1 comment
Open

Kitty to Darknet issue #149

DanIn232 opened this issue Apr 18, 2020 · 1 comment

Comments

@DanIn232
Copy link

Hi,

Thank you for writing this very useful piece of code. I have been trying to convert Kitty annotations to Darknet ones, and I'm having an issue with it. this is the input:

cvdata_convert --in_format kitti --out_format darknet --annotations_dir old --images_dir old --out_dir new

error:
TypeError: join() argument must be str or bytes, not 'NoneType'

Any idea what's wrong?

Thanks

@monocongo
Copy link
Owner

Yes, it looks like the KITTI files are missing fields (column values) in one or more of the records (rows), and so when it's trying to perform a join it's failing because the missing field(s) result in a None, and you can't join to a None (or NoneType). That's one conjecture, anyway. :)

If you can provide your input file(s) and as much about what you're trying to do here I may be able to get to the specific issue where this is happening, otherwise I can only speculate. Also, I apologize in advance because I don't have too much time to devote to this project currently, so it may take a little while...

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