Closed apatsekin closed 1 year ago
👋 Hello @apatsekin, thank you for your interest in YOLOv5 🚀! Please visit our ⭐️ Tutorials to get started, where you can find quickstart guides for simple tasks like Custom Data Training all the way to advanced concepts like Hyperparameter Evolution.
If this is a 🐛 Bug Report, please provide screenshots and minimum viable code to reproduce your issue, otherwise we can not help you.
If this is a custom training ❓ Question, please provide as much information as possible, including dataset images, training logs, screenshots, and a public link to online W&B logging if available.
For business inquiries or professional support requests please visit https://ultralytics.com or email support@ultralytics.com.
Python>=3.7.0 with all requirements.txt installed including PyTorch>=1.7. To get started:
git clone https://github.com/ultralytics/yolov5 # clone
cd yolov5
pip install -r requirements.txt # install
YOLOv5 may be run in any of the following up-to-date verified environments (with all dependencies including CUDA/CUDNN, Python and PyTorch preinstalled):
If this badge is green, all YOLOv5 GitHub Actions Continuous Integration (CI) tests are currently passing. CI tests verify correct operation of YOLOv5 training, validation, inference, export and benchmarks on MacOS, Windows, and Ubuntu every 24 hours and on every commit.
FWIW The issue was due to OpenBLAS being dynamically linked in my built but not actually used, since OpenCV couldn't find it on runtime machine. Anyway, it's OpenCV bug that their native implementation (without openBLAS) is incorrect, so I'll report there.
@apatsekin thanks for the research here. We don't use DNN extensively but have seen other users report DNN inference errors on ONNX models exported with do_constant_folding=True
, which might be unrelated to this issue but thought you should be aware of.
PR adds comment on this: https://github.com/ultralytics/yolov5/pull/10368 Original issue https://github.com/ultralytics/yolov5/issues/10304
Search before asking
Question
I came across quite weird issue. Setup:
Results
opencv-contrib-python-headless
on CUDAnet.forward()
fault. Input is being exactly the same. Not related to NMS or anything further down the pipeline.I believe it's OpenCV issue and I'd probably ping them. But may be you guys have any hints on this one?
Additional
faulty OpenCV built: