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

encoding.py #12

Open
Maxliag opened this issue Jul 14, 2023 · 0 comments
Open

encoding.py #12

Maxliag opened this issue Jul 14, 2023 · 0 comments

Comments

@Maxliag
Copy link

Maxliag commented Jul 14, 2023

Ubuntu 18.04.6
报错
Traceback (most recent call last):
File "encoding.py", line 8, in
retinaface = Retinaface(1)
File "/home/maxl/facenet-retinaface-pytorch-main/retinaface.py", line 122, in init
self.generate()
File "/home/maxl/facenet-retinaface-pytorch-main/retinaface.py", line 142, in generate
state_dict = torch.load(self.retinaface_model_path, map_location=torch.device('cpu'))
File "/home/maxl/anaconda3/envs/face_ret/lib/python3.7/site-packages/torch/serialization.py", line 386, in load
return _load(f, map_location, pickle_module, **pickle_load_args)
File "/home/maxl/anaconda3/envs/face_ret/lib/python3.7/site-packages/torch/serialization.py", line 573, in _load
result = unpickler.load()
TypeError: argument list must be a tuple
是什么问题?

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