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

Child index out of range - TF records error #169

Open
kvAkash-512 opened this issue May 7, 2024 · 1 comment
Open

Child index out of range - TF records error #169

kvAkash-512 opened this issue May 7, 2024 · 1 comment

Comments

@kvAkash-512
Copy link

I get this error when running tfrecord generator on a data from roboflow

File "F:\Animal_detetction\Tensorflow Object Detection\TFODCourse\Tensorflow\scripts\generate_tfrecord.py", line 88, in xml_to_csv
int(member[4][0].text),
~~~~~~~~~^^^
IndexError: child index out of range

@davemaster
Copy link

davemaster commented May 7, 2024

You DON'T saw the creator of this generate_tfrecord.py video; check your annotations of each image, *.xml, THEN check in the class

imagen
for example, in my annotation, my object (cat) has properties, but its needed the bndbox with the coordinates of our interests within the training image... so, instead 4, I putted 5 (FIVE)

Good luck, God bless you

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