RangiLyu / nanodet

NanoDet-Plusāš”Super fast and lightweight anchor-free object detection model. šŸ”„Only 980 KB(int8) / 1.8MB (fp16) and run 97FPS on cellphonešŸ”„
Apache License 2.0
5.71k stars 1.04k forks source link

Difference between train.py and test.py evaluation #501

Closed MarTorb closed 1 year ago

MarTorb commented 1 year ago

When training a model with train.py and running the model_best.ckpt file with test.py I get different precision, recall and mAP. Is there an explanation for this?

Results from train.py: image

Results from test.py in val mode: Screenshot from 2023-03-17 10-28-57

MarTorb commented 1 year ago

I must have done something wrong, it performed very similar when I tried again later.