We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Unable to load GFPGANv1.3.pth
Traceback (most recent call last): File "E:\video-retalking\inference.py", line 345, in main() File "E:\video-retalking\inference.py", line 39, in main restorer = GFPGANer(model_path='checkpoints/GFPGANv1.3.pth', upscale=1, arch='clean', channel_multiplier=2, bg_upsampler=None) File "E:\video-retalking\third_part\GFPGAN\gfpgan\utils.py", line 76, in init self.face_helper = FaceRestoreHelper( File "D:\Program Files\miniconda3\envs\video_retalking\lib\site-packages\facexlib\utils\face_restoration_helper.py", line 99, in init self.face_det = init_detection_model(det_model, half=False, device=self.device, model_rootpath=model_rootpath) File "D:\Program Files\miniconda3\envs\video_retalking\lib\site-packages\facexlib\detection_init_.py", line 22, in init_detection_model load_net = torch.load(model_path, map_location=lambda storage, loc: storage) File "D:\Program Files\miniconda3\envs\video_retalking\lib\site-packages\torch\serialization.py", line 815, in load return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args) File "D:\Program Files\miniconda3\envs\video_retalking\lib\site-packages\torch\serialization.py", line 1051, in _legacy_load typed_storage._untyped_storage._set_from_file( RuntimeError: unexpected EOF, expected 724613 more bytes. The file might be corrupted.
The text was updated successfully, but these errors were encountered:
我也有这个问题
Sorry, something went wrong.
No branches or pull requests
Unable to load GFPGANv1.3.pth
Traceback (most recent call last):
File "E:\video-retalking\inference.py", line 345, in
main()
File "E:\video-retalking\inference.py", line 39, in main
restorer = GFPGANer(model_path='checkpoints/GFPGANv1.3.pth', upscale=1, arch='clean', channel_multiplier=2, bg_upsampler=None)
File "E:\video-retalking\third_part\GFPGAN\gfpgan\utils.py", line 76, in init
self.face_helper = FaceRestoreHelper(
File "D:\Program Files\miniconda3\envs\video_retalking\lib\site-packages\facexlib\utils\face_restoration_helper.py", line 99, in init
self.face_det = init_detection_model(det_model, half=False, device=self.device, model_rootpath=model_rootpath)
File "D:\Program Files\miniconda3\envs\video_retalking\lib\site-packages\facexlib\detection_init_.py", line 22, in init_detection_model
load_net = torch.load(model_path, map_location=lambda storage, loc: storage)
File "D:\Program Files\miniconda3\envs\video_retalking\lib\site-packages\torch\serialization.py", line 815, in load
return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args)
File "D:\Program Files\miniconda3\envs\video_retalking\lib\site-packages\torch\serialization.py", line 1051, in _legacy_load
typed_storage._untyped_storage._set_from_file(
RuntimeError: unexpected EOF, expected 724613 more bytes. The file might be corrupted.
The text was updated successfully, but these errors were encountered: