jshtok / RepMet

Few-shot detection for visual categories
Apache License 2.0
108 stars 18 forks source link

Is there a mistake in "fpn/core/tester.py"? #27

Closed marvelyou closed 4 years ago

marvelyou commented 4 years ago

Hi jshtok,

In line 272: info_str = imdb.evaluate_detections(detections=all_boxes,logger=logger), and line 345: info_str = imdb.evaluate_detections(all_boxes,logger), where function evaluate_detections (in imagenet.py or pascal_voc.py) only has one parameter (detections), but two parameters are given.

This seem to trigger some errors when running "fpn/test.py"!

jshtok commented 4 years ago

hi @marvelyou , We did not use the evaluation code of the imagenet/Pascal, so it's quite possible the functions there are not addressed properly in the current code.