Skip to content

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