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
-212:Parsing error #8
Comments
I have got the same error...can not find the solution till now. |
Im still trying,plz tell me if you find the solution |
ty |
I changed the line 88 but there was an error. During handling of the above exception, another exception occurred: Traceback (most recent call last): During handling of the above exception, another exception occurred: Traceback (most recent call last): |
you need to download weights for yolo and put them in yolov3_coco directory |
ty
…---Original---
From: "iulia"<notifications@github.com>
Date: Tue, Jul 16, 2019 21:54 PM
To: "iArunava/YOLOv3-Object-Detection-with-OpenCV"<YOLOv3-Object-Detection-with-OpenCV@noreply.github.com>;
Cc: "Author"<author@noreply.github.com>;"yayaoking"<610173929@qq.com>;
Subject: Re: [iArunava/YOLOv3-Object-Detection-with-OpenCV] -212:Parsing error (#8)
you need to download weights for yolo
you can do it from here : https://pjreddie.com/media/files/yolov3.weights
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
I have yolov3.cfg and yolov3.weights files in yolov3-coco directory and another exception occurred: File "yolo.py", line 104, in During handling of the above exception, another exception occurred: Traceback (most recent call last): During handling of the above exception, another exception occurred: Traceback (most recent call last): |
!wget "https://pjreddie.com/media/files/yolov3.weights" |
Use opencv>=3.4.2 |
where is the yolo_coco location?? |
I have already got that file,but it can still not work....what should I do?Thanks a lot |
I get the same error if you solve this problem PLEASE HELP ME |
I get the same problem if you solve PLEASE HELP ME |
If you solve this problem PLEASE HELP ME |
just write absolute path for the files to be imported, it will work |
If the method doesn't work, then try ls command first. If the file yolov3.weights isn't there, write the absolute path of the file or just cd to that directory. |
I have the same problem , help please... |
Me, too has the same problem at Windows10... |
Downloading yolov3.weights files save me |
i have the same error ,im trying this in window |
just git clone the entire repository then copy weights and cfg file in the root , for me it worked |
I have yolov3.weights file in directory but still this error occurs. :( |
For all those who are still facing the problem, I assume their system to be Windows or other non-Linux. Resoning :
The getmodel.sh file present in dir ./yolov3-coco contains code
where the command wget is not supported in Windows. Solution : I gave the solution in as much detail as required. Let me know if there's any other error or if it doesn't solve the problem. |
i cant find yolov3-coco directory. do help me plz |
Did you follow the procedure provided in the README.md file? Just git-clone the github repository to get the requirements.
|
Still no change. plz help me as i am a noob. |
i solved the issue , it was due to a silly mistake , the name of the file in included in the path does not matched the file name used in the code . |
Traceback (most recent call last): |
@SyedTaqveemAli It seems the issue is with the YOLO() class that you might have imported. I am not sure from where you have imported it as I couldn't find the file in this Repository. And also, you haven't provided the type of error, so I can guess the error is because the YOLO class might needed some values in its |
|
check the name of the file and the path they should be the same in the code, this is the first mistake most people fall. |
How did you solve this problem. I have the same. |
I try the " python yolo.py --image-path=" part ,it returns a error
cv2.error: OpenCV(4.1.0) C:\projects\opencv-python\opencv\modules\dnn\src\darknet\darknet_importer.cpp:214: error: (-212:Parsing error) Failed to parse NetParameter file: ./yolov3-coco/yolov3.weights in function 'cv::dnn::dnn4_v20190122::readNetFromDarknet'
im a noob,hope you can teach me,it will help a lot.
The text was updated successfully, but these errors were encountered: