Closed titanlambda closed 3 years ago
Requirements.txt librosa==0.7.0 numpy==1.17.1 opencv-contrib-python>=4.2.0.34 opencv-python==4.1.0.25 tensorflow==1.13.1 torch==1.1.0 torchvision==0.3.0 tqdm==4.45.0 numba==0.48
Please check if the checkpoint file is not corrupted.
Possible duplicate of https://github.com/Rudrabha/Wav2Lip/issues/141, please comment there if your issue is not resolved
While running inference.py this is the error:
Traceback (most recent call last): File "inference.py", line 279, in
main()
File "inference.py", line 251, in main
model = load_model(args.checkpoint_path)
File "inference.py", line 171, in load_model
s = checkpoint["state_dict"]
KeyError: 'state_dict'