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

UnpicklingError: invalid load key, '\x00'. #256

Open
Juuustin opened this issue Aug 31, 2020 · 2 comments
Open

UnpicklingError: invalid load key, '\x00'. #256

Juuustin opened this issue Aug 31, 2020 · 2 comments

Comments

@Juuustin
Copy link

There is another error when I run on my own data:
Traceback (most recent call last):
File "train.py", line 616, in
model = Yolov4(cfg.pretrained, n_classes=cfg.classes)
File "D:\study\Dinosaour\pytorch-YOLOv4\models.py", line 426, in init
pretrained_dict = torch.load(yolov4conv137weight)
File "C:\Users\onthe\Anaconda3\lib\site-packages\torch\serialization.py", line 368, in load
return _load(f, map_location, pickle_module)
File "C:\Users\onthe\Anaconda3\lib\site-packages\torch\serialization.py", line 532, in _load
magic_number = pickle_module.load(f)
_pickle.UnpicklingError: invalid load key, '\x00'.
Any suggestions?

@ghost
Copy link

ghost commented Nov 29, 2020

I changed the filters, as mentioned in #138 (comment).

@DeviAyyagari
Copy link

Have you been able to resolve this issue? I am seeing the same issue "_pickle.UnpicklingError: invalid load key, '\x00'." and would appreciate your help. Thank you!

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