DSFD.pytorch icon indicating copy to clipboard operation
DSFD.pytorch copied to clipboard

unexpected EOF problem

Open chenjun2hao opened this issue 6 years ago • 1 comments

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.

chenjun2hao avatar Jan 16 '19 02:01 chenjun2hao

I have replace the pretrained model,you can try again

yxlijun avatar Jan 16 '19 06:01 yxlijun