Skip to content

Error in Colab sheet when creating TFRecords #151

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

Closed
joshfox10 opened this issue Dec 3, 2022 · 3 comments
Closed

Error in Colab sheet when creating TFRecords #151

joshfox10 opened this issue Dec 3, 2022 · 3 comments

Comments

@joshfox10
Copy link

    ![image](https://user-images.githubusercontent.com/88960981/188809827-1735c5ec-863f-4268-87b8-d53e73c416e7.png)

I am able to run now and completed all steps without errors.

I tried with my own dataset and bumped into this error. Please advise.

Originally posted by @elvenkim1 in #135 (comment)

I've gotten the same error. It works when I use the coin dataset. It works when I use a smaller dataset that I have with nice names (IMG_123), however when I use a larger dataset with names from roboflow export long strings of numbers, letters, symbols, etc I get the error shown here. I've tried numerous things but can't crack it. Any suggestions? Thank you!

@EdjeElectronics
Copy link
Owner

I'm guessing it has something to do with the . in the filenames, I don't think the create_tfrecord.py script handles those well. I'll take a look!

@EdjeElectronics
Copy link
Owner

Ahh, shoot. It might be an issue with how Roboflow generates Pascal VOC files. Can you please share a few images and XML files that you're trying to use?

@joshfox10
Copy link
Author

I found it to be the create_csv. I used the attached script in place of it. Then the create tfrecord worked well.
Also, I was unable to get through the tensorflow 1 sheet due to errors since the TF2 quantized result was quite poor. If I dig in again I'll forward the errors.
xml_to_csv (1).zip

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