No such file or directory 2DFAN4-cd938726ad.zip
Can't run inference.py almost immediately issue with 2DFAN4-cd938726ad.zip pops up. It says it can't find it, but when I copy and paste it separately - it finds it, when I locate it manualy -it finds it, when I reinstall it manually - I find it. But no matter what I do, including changing permissions, path in variables, or even trying to modify cog.yaml where the path to 2DFAN4 is listed - nothing helps at all. Could you please help me with this one?
Here is the traceback from the code itself:
(base) C:\AI\video-retalking>python inference.py --face examples/face/reporter.mp4 --audio examples/audio/sound.mp3 --outfile results/reporterretalkingapp.mp4
C:\AI\conda\Lib\site-packages\paramiko\transport.py:219: CryptographyDeprecationWarning: Blowfish has been deprecated
"class": algorithms.Blowfish,
C:\AI\conda\Lib\site-packages\torchvision\transforms\functional_tensor.py:5: UserWarning: The torchvision.transforms.functional_tensor module is deprecated in 0.15 and will be removed in 0.17. Please don't rely on it. You probably just need to use APIs in torchvision.transforms.functional or in torchvision.transforms.v2.functional.
warnings.warn(
[Info] Using cuda for inference.
[Step 0] Number of frames available for inference: 519
[Step 1] Landmarks Extraction in Video.
Traceback (most recent call last):
File "C:\AI\video-retalking\inference.py", line 345, in
your username shouldnt has speacial character add these to inference.py import os os.environ['TORCH_HOME']='C:/Data/torch'