LiveTalking icon indicating copy to clipboard operation
LiveTalking copied to clipboard

使用wav2lip生成数字人模型

Open tangyong2000 opened this issue 4 months ago • 1 comments

第一次在使用python genavatar.py --video_path 133.mp4 --img_size 256 --avatar_id wav2lip256_avatar2后,提示让我在LiveTalking-main\wav2lip\face_detection\detection\sfd目录的sfd_detector.py文件第24行加入一个参数,我修改成model_weights = torch.load(path_to_detector, weights_only=True)后,运行,在第二步的时候一直卡着不动,但内存的占用率特别高,请问是还有什么需要修改的吗?

Image

tangyong2000 avatar Sep 02 '25 07:09 tangyong2000

问题已经解决,需要修改默认的--face_det_batch_size值,建议--face_det_batch_size值<显存值

tangyong2000 avatar Sep 05 '25 06:09 tangyong2000