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

Update generate_tfrecord.py #35

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

NAHIN-JZS
Copy link

In recent annotations the value of xmin, xmax,ymin,ymax are store in 5th attribute rather than 4th.

Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This one was a life saver!

In create_tf_example function, there is a bug. xmins->row['min'], xmaxs->row['ymin'] (I don't know why), ymins->row['xmax'], ymaxs -> row['ymax']...
@NAHIN-JZS
Copy link
Author

This one was a life saver!

I have found another bug. Why that one is a problem I don't know. But you can also try that update if you are facing any new problem like height is negative or something like that.
:D

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

Successfully merging this pull request may close these issues.

3 participants