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

Error while using cfg file and weight file from YOLO site. #834

Closed
benn94 opened this issue Jul 6, 2018 · 2 comments
Closed

Error while using cfg file and weight file from YOLO site. #834

benn94 opened this issue Jul 6, 2018 · 2 comments

Comments

@benn94
Copy link

benn94 commented Jul 6, 2018

As the topic suggested

I use cfg and weight file available from : https://pjreddie.com/darknet/yolov2/

I use this cfg : https://github.com/pjreddie/darknet/blob/master/cfg/yolov2-voc.cfg
and their corresponding weight.

But the after i run

flow --imgdir dataset/standford40/img --model cfg/yolov2-voc.cfg --load bin/yolov2-voc.weights --json --gpu 1.0

I got this as a result

AssertionError: expect 202704260 bytes, found 202704264

Then I rename cfg and weight file and run command:

flow --imgdir dataset/standford40/img --model cfg/yolo-voc-standford.cfg --load bin/yolo-voc.weights --json --gpu 1.0

output is still the same

@benmurphy7
Copy link

Try this solution. This fixed a similar problem I was having.

@adavoudi
Copy link

PR #836 can solve your problem

@benn94 benn94 closed this as completed Nov 5, 2018
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

3 participants