Open rafaelvp-db opened 1 year ago
It's in utils.general in the latest versions: https://github.com/ultralytics/yolov5/blob/fde77584687041aa62795bb2c27e895cf73686bf/utils/general.py#L242
But icevision should be used with yolov5-icevision
package I believe: https://github.com/airctic/icevision/blob/b6b70ad5fe5fa168d4d44d122b433ad1aaf1959c/setup.cfg#L38
🐛 Bug
Describe the bug
When trying to use
yolov5==6.2.3
withicevision==0.12.0
I get the following error:To Reproduce Steps to reproduce the behavior:
icevision==0.12.0
andyolov5==6.2.3
icevision.parsers.COCOBBoxParser
Expected behavior COCOBBoxParser is instantiated correctly
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context I'm trying to replicate the exact same architecture available from
ultralytics.yolov5
for inference (mainly because I want to run inference on raw images, without having to declare a Dataset or DataLoader. The reason for this is to deploy an object detection as a REST API endpoint.