-
Notifications
You must be signed in to change notification settings - Fork 28
[ WARN:[email protected]] global /io/opencv/modules/dnn/src/dnn.cpp (1483) setUpNet DNN module was not built with CUDA backend; switching to CPU #10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
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, |
[ 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
mobile_data = object_detector(ref_mobile)
File "/home/braholli/Documents/Yolov4-Detector-and-Distance-Estimator-master/DistanceEstimation.py", line 42, in object_detector
label = "%s : %f" % (class_names[classid[0]], score)
IndexError: invalid index to scalar variable.
The text was updated successfully, but these errors were encountered: