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

windows 11 #259

Open
hjj-lmx opened this issue Jul 24, 2024 · 1 comment
Open

windows 11 #259

hjj-lmx opened this issue Jul 24, 2024 · 1 comment

Comments

@hjj-lmx
Copy link

hjj-lmx commented Jul 24, 2024

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.

@a907066892
Copy link

我也有这个问题

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