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

unexpected EOF problem #2

Open
chenjun2hao opened this issue Jan 16, 2019 · 1 comment
Open

unexpected EOF problem #2

chenjun2hao opened this issue Jan 16, 2019 · 1 comment

Comments

@chenjun2hao
Copy link

hi, thanks your excellent job, I meet the error:

Traceback (most recent call last):
  File "/media/chenjun/ed/30_face/detect/DSFD.pytorch/demo.py", line 107, in <module>
    net.load_state_dict(torch.load(args.model))
  File "/home/chenjun/miniconda2/envs/test/lib/python3.6/site-packages/torch/serialization.py", line 261, in load
    return _load(f, map_location, pickle_module)
  File "/home/chenjun/miniconda2/envs/test/lib/python3.6/site-packages/torch/serialization.py", line 416, in _load
    deserialized_objects[key]._set_from_file(f, offset)
RuntimeError: unexpected EOF. The file might be corrupted

when i use the pretrained model.so, could you please raplace the pretrained model, thanks.

@yxlijun
Copy link
Owner

yxlijun commented Jan 16, 2019

I have replace the pretrained model,you can try again

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