wav2lip_288x288 icon indicating copy to clipboard operation
wav2lip_288x288 copied to clipboard

Can preprocess.py not be used?

Open cncbec opened this issue 1 year ago • 4 comments

In the new version of training, can this step be skipped? python preprocess.py

cncbec avatar Dec 30 '23 04:12 cncbec

Hi, You should use python preprocess.py to get frames and audio files which is necessary input-data for the training

lililuya avatar Jan 01 '24 13:01 lililuya

@lililuya thank you for your reply. But what about the command parameters including add_argument generated by preprocesed that are not added to the train_syncnet_sam.py and hq_wav2lip_sam_train.py files? Could it be that the train.txt of train_dataset = Dataset('filelists/train.txt') is the image and audio path generated by preprocesed?

cncbec avatar Jan 02 '24 00:01 cncbec

Hi, as the filelists you mentioned, you have to code a script to generate your own dataset filelists(just simple absoluted files' path), you can refer the lrs2 dataset's filelists as well. Btw, you can change the get_image_list() function in you own way to get the data without filelists. I think you should refer the original project to understand this part.

lililuya avatar Jan 02 '24 05:01 lililuya

Thank you,I will try agian.

cncbec avatar Jan 02 '24 07:01 cncbec