rogerle / wav2lip_train

30 stars 10 forks source link

预处理数据找不到s3fd.pth #1

Open OceanTan opened 1 year ago

OceanTan commented 1 year ago

(Wav2LipTrain) E:\wav2lip_train>python preprocess.py --ngpu 1 --data_root data/original_data --preprocessed_root data/preprocessed_root --batch_size 8 Traceback (most recent call last): File "preprocess.py", line 10, in <module> before running this script!') FileNotFoundError: Save the s3fd model to data/face_detection/detection/sfd/s3fd.pth before running this script!

preprocess.py 文件第8行改为if not path.isfile('face_detection/detection/sfd/s3fd.pth'):即可,亦或者将face_detection目录拷贝到data下

ZhangCz40 commented 2 weeks ago

你改的不就和原来的一样吗?还是运行不了啊