-
Notifications
You must be signed in to change notification settings - Fork 128
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
Unable to execute object_detection #46
Comments
Hello, I am using ubuntu and I run to the same error |
I have found a temporary workaround. If you change in line 29 to (removing the typechange from list to value) in the object_detection.py script (you'll find the location in the error message) it should work again. Small edit: I've forked the library and added the fix there. Feel free to add it to the main project, I'll remove the fork later =) |
Besides the change mentioned by @tomgit-com I also had to comment out cvlib/cvlib/object_detection.py Line 245 in 52a3186
|
I've also noticed that issues, but it happened rather lately. I don't know if there've been some changes on the pretrained models |
I think there are some changes in the latest OpenCV version. Try using with older opencv version for now. Will fix this soon. |
with openCV 4.5.3.56 works, But with 4.5.4.58, 4.5.4.60(latest) doesn't work. |
Hello, this issue still exists, I ran into it today. I followed tomgit-com and mihaipanait's comments and it worked. Thank you for the direction. |
As of rather recently I am unable to use object_detection, whereas everything else seems to work rather fine.
It boils down to that error message:
It runs fine on my old Win10/11 installation from a couple of months ago, however accessing the same script from a WSL machine on the exact same PC results in the error above. I'm also getting the same from a new macOS setup.
The text was updated successfully, but these errors were encountered: