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

Hotfix/debug almost0mask #27

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

MasahiroOgawa
Copy link
Contributor

Objective

Debug runtime error.

Original Error

It happend below error when running test_video.py; TypeError: cannot unpack non-iterable int object

Cause

The cause was in compute_IoU(), it returns 1 in some case; test_generator.py l.32
( if np.isclose(np.sum(annotation),0) and np.isclose(np.sum(gt_mask),0):
return 1)
but it assumes 2 outputs in test_generator.py l.84
(iou, out_mask = compute_IoU).

Fixation

return 2 values in all case in conput_IoU();
( return 1, annotation)

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.

1 participant