You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
是什么问题?
The text was updated successfully, but these errors were encountered:
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
是什么问题?
The text was updated successfully, but these errors were encountered: