SAFA
SAFA copied to clipboard
animation_demo.py error
When I execute the following code, I had the bellow error. How we execute the "animation_demo.py" without error?
! python animation_demo.py --config config/end2end.yaml --checkpoint path/to/checkpoint --source_image_pth path/to/source_image --driving_video_pth path/to/driving_video --relative --adapt_scale --find_best_frame
Traceback (most recent call last):
File "animation_demo.py", line 18, in
You must have a version of PyTorch3D that is build against the same version of the installed pytorch and CUDA.
I got it working for fairly recent versions with the following:
pip install torch==1.11.0 torchvision==0.12.0 -f https://download.pytorch.org/whl/cu113/torch_stable.html
pip install git+https://github.com/facebookresearch/[email protected]