-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
AssertionError: Over-read bin/yolo.weights #153
Comments
[UPDATE] The problem was that I had to do this server-side, so after digging a bit, the simplest solution was to use the Firefox addon gcurl that mimic the direct download command:
Btw I'm not sure if those links will work forever, after the download my
|
Files on official YOLO are always renewed as he experiments new configs, you have to check if there is corresponding |
@thtrieu thanks, I solved in the meanwhile using your files! |
this error is caused by the mismatch between the cfg and binary weight file. Here is the related code which causes it.
this walker is created and called function
here the Based on the discussions above, I have downloaded the latest cfg and binary file from the yolov2 website. However, it still doesn't work and I am now sure why. Hope I can write down a successful story later on. |
@chadrick-kwag Hi, did you solve it? |
@AlexeyAB unfortunately no. I had to just switch to tiny-yolo-voc which worked without a glitch. My project is simple so tiny-yolo suits me as well. Sorry to tell you the bad news :( |
@chadrick-kwag Ok thanks. Do you use tiny-yolo-voc from https://drive.google.com/drive/folders/0B1tW_VtY7onidEwyQ2FtQVplWEU or from https://pjreddie.com/darknet/yolo/ ? |
@AlexeyAB I used the one from pjreddie . FYI I am using the one that I downloaded about 6 months ago. I hope it still works. |
Anyone has the direct download link to the cfg file that corresponds to the the weight file (yolo.weights) from the above Google Drive link? |
@shailensobhee I tried all possible combinations of yolov2-voc cfg and weight files between darkflow and darknet repo. There seems to be no single match. |
you can fix this issue by changing the offset in the loader.py in your darkflow directory. |
Did you get the link? If not, here's what I've been using: https://drive.google.com/drive/folders/0B1tW_VtY7onidEwyQ2FtQVplWEU |
I have downloaded the
yolo.weights
andyolo.cfg
from P.J Reddie darknet site:then tried to run into
flow
:and I get
The text was updated successfully, but these errors were encountered: