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)
- No output after FaceDet : 100%,^C HOT 1
- ImportError: cannot import name 'packaging' from 'pkg_resources' HOT 4
- Issue if the Video start with a pause.
- ModuleNotFoundError: No module named 'torchvision.transforms.functional_tensor' HOT 6
- Understanding Model Capabilities
- Any possibilities to make the video result better?
- New to tis but have an error stopping me can anyone hhelp? HOT 1
- ERROR: Could not build wheels for dlib, which is required to install pyproject.toml-based projects HOT 9
- PROBLEM [Errno 2] No such file or directory: 'requirements.txt'
- Hello babe HOT 1
- Hey
- Video result appeared to just be original video with lip sync
- Issue with Output Video Quality Despite 1080P Input HOT 1
- can it be done real time HOT 1
- [Step 6] Error opening input file temp/temp/result.mp4.
- dockerfile
- windows 11
- Working With Different Expressions
- erro na hora de digitar o comando: C:\VideoRetalking\video-retalking>conda create -n video_retalking python=3.8
- vrtc: error: invalid value for --gpu-architecture (-arch) HOT 2
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.