broadinstitute / keras-rcnn

Keras package for region-based convolutional neural networks (RCNNs)
Other
553 stars 224 forks source link

only integer scalar arrays can be converted to a scalar index #176

Open helenadeus opened 6 years ago

helenadeus commented 6 years ago

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

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

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

NurmaU commented 6 years ago

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