Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Erroring out at - from demo import load_checkpoints #105

Open
willtowle opened this issue Apr 16, 2024 · 0 comments
Open

Erroring out at - from demo import load_checkpoints #105

willtowle opened this issue Apr 16, 2024 · 0 comments

Comments

@willtowle
Copy link

Hey,
I was running this in colab yesterday without any issues - but since today myself and a colleague can't run it past a certain point - at this point:

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)

It errors, the error reads:

FileNotFoundError                         Traceback (most recent call last)
[<ipython-input-13-2c8086808213>](https://localhost:8080/#) in <cell line: 2>()
      1 from demo import load_checkpoints
----> 2 inpainting, kp_detector, dense_motion_network, avd_network = load_checkpoints(config_path = config_path, checkpoint_path = checkpoint_path, device = device)

3 frames
[/usr/local/lib/python3.10/dist-packages/torch/serialization.py](https://localhost:8080/#) in __init__(self, name, mode)
    424 class _open_file(_opener):
    425     def __init__(self, name, mode):
--> 426         super().__init__(open(name, mode))
    427 
    428     def __exit__(self, *args):

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

I've re-traced my steps many times and I definitely haven't missed a step, it looks like no vox.pth.tar is being created at an earlier step.

Any ideas to resolve this?

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant