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

EOFError: Ran out of input HELP!! #543

Open
TigerandRosa opened this issue Sep 7, 2022 · 0 comments
Open

EOFError: Ran out of input HELP!! #543

TigerandRosa opened this issue Sep 7, 2022 · 0 comments

Comments

@TigerandRosa
Copy link

Traceback (most recent call last):
File "train.py", line 628, in
model = Yolov4(cfg.pretrained, n_classes=cfg.classes)
File "/home/wd337/wly/pytorch-YOLOv4-Tianxiaomo/models.py", line 426, in init
pretrained_dict = torch.load(yolov4conv137weight)
File "/home/wd337/anaconda3/envs/yolov4-wang/lib/python3.7/site-packages/torch/serialization.py", line 595, in load
return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args)
File "/home/wd337/anaconda3/envs/yolov4-wang/lib/python3.7/site-packages/torch/serialization.py", line 774, in _legacy_load
result = unpickler.load()
EOFError: Ran out of input

771 _sys_info = pickle_module.load(f, **pickle_load_args)
772 unpickler = pickle_module.Unpickler(f, **pickle_load_args)
773 unpickler.persistent_load = persistent_load
774 result = unpickler.load()

i encountered this problem suddenly that i never meet before. i don't know what is wrong? anyone encountered this problem? i look forward to your answer.

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

1 participant