fizyr / keras-retinanet

Keras implementation of RetinaNet object detection.
Apache License 2.0
4.38k stars 1.96k forks source link

Problem with multiple object in image #1364

Closed benvizel closed 4 years ago

benvizel commented 4 years ago

Hello, first thank you very much for this helpful repository. I am using this algorithm for my own data set of mammographs in order to detect tumors. In my case there are a lot of images with multiple objects. I know that it is instructed to write a distinct row for each label, like there are two different images with a single object. and so i did. but then i thought about it and it seems that this feature of only one object per image is really bad, because in a lot of cases my algorithm might detect a true tumor, but because it is not the one that he compares to (only one label per image) it would suffer a great loss. someone here knows how to bypass this problem, or explain to me if my argument is false. Thanks in advance.

divyanshmishra19 commented 4 years ago

This is exactly what I'm struggling with. I haven't yet used the "distinct row for each label" annotation method. Without it, I get the " TypeError: type object got multiple values for keyword argument 'training'" error. Are you sure this method also doesn't detect multiple objects in the same image when tested on a validation set?

stale[bot] commented 4 years ago

This issue has been automatically marked as stale due to the lack of recent activity. It will be closed if no further activity occurs. Thank you for your contributions.