Yolov4-Detector-and-Distance-Estimator
Yolov4-Detector-and-Distance-Estimator copied to clipboard
[ WARN:[email protected]] global /io/opencv/modules/dnn/src/dnn.cpp (1483) setUpNet DNN module was not built with CUDA backend; switching to CPU
[ WARN:[email protected]] global /io/opencv/modules/dnn/src/dnn.cpp (1483) setUpNet DNN module was not built with CUDA backend; switching to CPU
Traceback (most recent call last):
File "/home/braholli/Documents/Yolov4-Detector-and-Distance-Estimator-master/DistanceEstimation.py", line 72, in
I have Successfully installed opencv-contrib-python-4.5.5.64
Make sure to choose the correct environment, while running the code.
what do you mean by choosing the correct environment? What should i do to solve this issue? I'm using pycharm to run your code.
a python Virtual Envnieorment in which you have installed required version of opencv
but the version you have mentioned is not being installed in the environment
have you got any specific error message while installation process?
Hi,
I've got the same error. I've applied an answer from https://stackoverflow.com/questions/32978575/how-to-fix-indexerror-invalid-index-to-scalar-variable in three places.
But I think without CUDA it is too slow for my RPi4.
And I got another error:
[h264 @ 0x10ad7e20] error while decoding MB 45 2, bytestream -13
Traceback (most recent call last):
File "/home/swim/Yolov4-Detector-and-Distance-Estimator/DistanceEstimation.py", line 92, in