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

Error when training! #8

Closed
Minotaur-CN opened this issue Mar 31, 2019 · 2 comments
Closed

Error when training! #8

Minotaur-CN opened this issue Mar 31, 2019 · 2 comments

Comments

@Minotaur-CN
Copy link

hi,all
One error happens when training from scratch.


KerasPersonLab-updated_model_def/data_prep.py", line 16, in get_ground_truth

assert(instance_masks.shape[-1] == len(all_keypoints)), '{} != {}'.format(instance_masks.shape[-1], len(all_keypoints))

AssertionError: 7 != 8

@nitzan1207
Copy link

+1

@jricheimer
Copy link
Contributor

Hello @Minotaur-CN @nitzan1207
The cause of this error was a COCO segm annotation with zero area. I updated the generate_hdf5 script to handle this, so you will need to delete your current hdf5 file and re-run the script again.

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

3 participants