yoyo-nb / Thin-Plate-Spline-Motion-Model

[CVPR 2022] Thin-Plate Spline Motion Model for Image Animation.
MIT License
3.38k stars 552 forks source link

FileNotFoundError: [Errno 2] No such file or directory: 'checkpoints/vox.pth.tar' #86

Open kittela opened 10 months ago

kittela commented 10 months ago

FileNotFoundError: [Errno 2] No such file or directory: 'checkpoints/vox.pth.tar'

Error presents on execution of Thin-Plate-Spline-Motion-Model.ipynb line

from demo import load_checkpoints inpainting, kp_detector, dense_motion_network, avd_network = load_checkpoints(config_path = config_path, checkpoint_path = checkpoint_path, device = device)

pekosong commented 8 months ago

You should download the pre-trained model first

You can find url in readme

karelrosseel commented 6 months ago

hello, I tried, but get with this link

from demo import load_checkpoints
inpainting, kp_detector, dense_motion_network, avd_network = load_checkpoints(config_path = config/vox-256.yaml  , checkpoint_path = checkpoints/vox.pth.tar  , device = device)

this error


File ["<ipython-input-47-e6fb26af977d>"](https://localhost:8080/#), line 2
    inpainting, kp_detector, dense_motion_network, avd_network = load_checkpoints(config_path = config/vox-256.yaml  , checkpoint_path = checkpoints/vox.pth.tar  , device = device)
                                                                                                              ^
SyntaxError: invalid decimal literal