Comments (5)
Please provide complete error information.
Which line of code caused the error?
from video-retalking.
多谢。错误信息如下
File "inference.py"Tine 342. in main0File "inference.py", Tine 33, in mainsize=512,mode1="GPEN-BFR-512',enhancer = FaceEnhancement(base dir='checkpoints'use sr=False.File "/root/autodl-tmp/video-retalking/third_part/GPEN/gpen_face_enhancer.py”,Tine 18. in initself.facedetector = RetinaFaceDetection(base dirdewice)File/root/autodI-tmp/video-retalking/third part/GPEN/face detect/retinaface detection.py", Tine 27, in initself.load mode1()File "/root/autodl-tmp/video-retalking/third part/GPEN/face detect/retinaface detection.py", Tine 51, in load modeFi'eetrrone monsconda3/envsaatsrkinorefpainenonatk stap-pocatdon torch, deviee cpuon pv", line 608. in loadreturnlegacy load(openedocation.pickle module.**pickle load args)m30File "/root/miniconda3/envs/retalking/lib/python3.8/site-packages/torch/serialization.py", line 794, in _legacy_loadeserialized obiects[key7.set from file(foffset.f should read directly)untimeError: storage has wrona size:expected 0 got 256
from video-retalking.
错误信息如下。多谢多谢
[Info] Using cuda for inference.
Traceback (most recent call last):
File "inference.py", line 342, in
main()
File "inference.py", line 33, in main
enhancer = FaceEnhancement(base_dir='checkpoints', size=512, model='GPEN-BFR-512', use_sr=False,
File "/root/autodl-tmp/video-retalking/third_part/GPEN/gpen_face_enhancer.py", line 18, in init
self.facedetector = RetinaFaceDetection(base_dir, device)
File "/root/autodl-tmp/video-retalking/third_part/GPEN/face_detect/retinaface_detection.py", line 27, in init
self.load_model()
File "/root/autodl-tmp/video-retalking/third_part/GPEN/face_detect/retinaface_detection.py", line 51, in load_model
pretrained_dict = torch.load(self.pretrained_path, map_location=torch.device('cpu'))
File "/root/miniconda3/envs/retalking/lib/python3.8/site-packages/torch/serialization.py", line 608, in load
return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args)
File "/root/miniconda3/envs/retalking/lib/python3.8/site-packages/torch/serialization.py", line 794, in _legacy_load
deserialized_objects[key]._set_from_file(f, offset, f_should_read_directly)
RuntimeError: storage has wrong size: expected 0 got 256
from video-retalking.
可能是retinaface预训练模型下载过程中出现问题,可以试试重新下载一下
from video-retalking.
多谢多谢
from video-retalking.
Related Issues (20)
- Problem producing high resolution output HOT 9
- 您好,请问一下可以重新进行训练模型吗?我觉得对于中文语音来说,7秒之内唇形很准确,但是7秒之后就不准了,有些停顿的地方都不停顿。
- SSL Issue with usage HOT 1
- TensorBody.h:338:30: note: declared here 338 | DeprecatedTypeProperties & type() const
- sieve improvements HOT 5
- 提升生成速度
- model running speed
- [Step 5] FaceDet:: 0%|
- 请问传入什么样的mp4文件会获得较好的效果
- 求助,折腾48小时了,还没好,报错解决不掉 HOT 4
- UnboundLocalError: local variable 'keypoints' referenced before assignment HOT 3
- Lips don't sync on big faces. HOT 1
- ModuleNotFoundError: No module named 'torchvision.transforms.functional_tensor' HOT 9
- RuntimeError: PytorchStreamReader failed reading file data/36: file read failed HOT 2
- how to generate video in realtime and restream to RTMP or WebRTC server/app
- Need to be able to lipsync videos having some frames having no Face HOT 4
- Where do I enter the --one_shot parameter?
- Share my Dockerfile
- how to make the mouth region smaller? HOT 2
- 1080p视频嘴部闪动 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from video-retalking.