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

'0050000.pt' not found #8

Closed
pbz134 opened this issue Sep 5, 2024 · 2 comments
Closed

'0050000.pt' not found #8

pbz134 opened this issue Sep 5, 2024 · 2 comments

Comments

@pbz134
Copy link

pbz134 commented Sep 5, 2024

Hello,

I am currently installing your program in a Conda environment. After getting all the packages, I get the following error:

Traceback (most recent call last):
File "F:\FluxMusic\sample.py", line 120, in
main(args)
File "F:\FluxMusic\sample.py", line 58, in main
state_dict = torch.load(local_path, map_location=lambda storage, loc: storage)
File "D:\Programme\Miniconda3\envs\FluxMusic\lib\site-packages\torch\serialization.py", line 1065, in load
with _open_file_like(f, 'rb') as opened_file:
File "D:\Programme\Miniconda3\envs\FluxMusic\lib\site-packages\torch\serialization.py", line 468, in _open_file_like
return _open_file(name_or_buffer, mode)
File "D:\Programme\Miniconda3\envs\FluxMusic\lib\site-packages\torch\serialization.py", line 449, in init
super().init(open(name, mode))
FileNotFoundError: [Errno 2] No such file or directory: '/maindata/data/shared/multimodal/zhengcong.fei/code/music-flow/results/base/checkpoints/0050000.pt'

How can I get this file?

@abh1nash
Copy link

abh1nash commented Sep 5, 2024

There's a fork that replaces the hardcoded model paths. You can try that one: #3 (comment)

@feizc
Copy link
Owner

feizc commented Sep 6, 2024

Hi, we have cleaned the sample.py code with args instead of local path :)

@pbz134 pbz134 closed this as completed Sep 17, 2024
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

3 participants