keras-rcnn icon indicating copy to clipboard operation
keras-rcnn copied to clipboard

only integer scalar arrays can be converted to a scalar index

Open helenadeus opened this issue 6 years ago • 1 comments

Got this error message above upon following the instructions on the readme file:

(target_bounding_boxes, target_image, target_scores, _), _ = generator.next()

TypeError: only integer scalar arrays can be converted to a scalar index

helenadeus avatar Feb 11 '18 18:02 helenadeus

I also got the same error. Try to change selection variable to selection[0] in _object_detection.py file. It works for me

NurmaU avatar Feb 13 '18 11:02 NurmaU