keras-rcnn
keras-rcnn copied to clipboard
only integer scalar arrays can be converted to a scalar index
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
I also got the same error. Try to change selection variable to selection[0] in _object_detection.py file. It works for me