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

FileNotFoundError: [Errno 2] No such file or directory: '/home/karen/.cache/audioldm/audioldm-s-full.ckpt' #55

Open
VinceAlle opened this issue Sep 20, 2024 · 1 comment

Comments

@VinceAlle
Copy link

When I follow the README.md to self-train this model, there is an error stopping the train
pretrained_model_name = "audioldm-s-full" vae, stft = build_pretrained_models(pretrained_model_name) def build_pretrained_models(name): checkpoint = torch.load(get_metadata()[name]["path"], map_location="cpu",weights_only=True)
FileNotFoundError: [Errno 2] No such file or directory: '/home/karen/.cache/audioldm/audioldm-s-full.ckpt'
But when I check the folder '/home/karen/.cache/audioldm/', there is a file named 'audioldm-s-full' instead of 'audioldm-s-full.ckpt'
So what I need to do is just change the 'tango/audioldm/utils.py' in line 209 from "audioldm-s-full.ckpt" to "audioldm-s-full". After that, the Error not show again.
Hope the owner can fix it.

@aixingxy
Copy link

aixingxy commented Sep 20, 2024 via email

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

2 participants