Closed zabir-nabil closed 4 years ago
break
should be fine as the boxes are sorted by score: https://github.com/see--/keras-centernet/blob/master/keras_centernet/models/decode.py#L31
Edit: letterbox_transformer is from the original repo. It's how the images are resized.
Okay, didn't see the sorting part. Thanks.
What is the purpose of letterbox_transformer used in the code?
In your test codes, you have processed the bounding boxes in the following manner,
Should the
break
statement be there or it should be acontinue
statement instead?