Evaluation on torch hub model #5744
-
Hi I have a question regarding the yolov5s model from torchhub. I'm trying to evaluate the model and other torchvision models (e.g. SSD, Faster RCNN) in a similar way to val.py. I tried using the evaluation function (with some modifiications) from pytorch/vision/references/detection/engine.py and ended up with the following: I'm dropping a few more links in case they prove to be useful:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
We have an open issue with a mAP misalignment with pycocotools. The result is that pycocotools will evaluate to higher mAP on the COCO dataset than we do using the internal YOLOv5 mAP functions in the repo, despite both tools using the exact same predictions. |
Beta Was this translation helpful? Give feedback.
@joangog see #2258
We have an open issue with a mAP misalignment with pycocotools. The result is that pycocotools will evaluate to higher mAP on the COCO dataset than we do using the internal YOLOv5 mAP functions in the repo, despite both tools using the exact same predictions.