Skip to content
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

MissingSectionHeaderError: File contains no section headers. #161

Open
DawnChou opened this issue Mar 12, 2019 · 2 comments
Open

MissingSectionHeaderError: File contains no section headers. #161

DawnChou opened this issue Mar 12, 2019 · 2 comments

Comments

@DawnChou
Copy link

DawnChou commented Mar 12, 2019

I have downloaded yolov2.cfg and yolov2.weights from official YOLO, but I am getting this error after inputting ./yad2k.py yolov2.cfg yolov2.weights model_data/yolo.h5

Here is the error:

image

And I open "yolov2.cfg" via default text editor, the content of the file looks like:
image
……

What might be wrong? Any help appreciated.

@RuobingZhang
Copy link

Same problem! Have you figured it out?

@DawnChou
Copy link
Author

Same problem! Have you figured it out?

I created a config file in my linux and copied the content of this .cfg directly instead of using the command "wget" , then it worked. I guess maybe there is something wrong via "wget" from a web page to have a config file and its content will change into something like html?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants