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

[MUSECOCO] Cannot load file checkpoint #195

Open
hungngo32 opened this issue Mar 28, 2024 · 0 comments
Open

[MUSECOCO] Cannot load file checkpoint #195

hungngo32 opened this issue Mar 28, 2024 · 0 comments

Comments

@hungngo32
Copy link

2024-03-28 16:46:02 | INFO | fairseq_cli.interactive | loading model(s) from ../checkpoints/linear_mask2-xl-truncated_2560/checkpoint_last.pt
Traceback (most recent call last):
File "interactive_dict_v5_1billion.py", line 479, in
cli_main()
File "interactive_dict_v5_1billion.py", line 469, in cli_main
attributes(args)
File "interactive_dict_v5_1billion.py", line 223, in attributes
models, _model_args = checkpoint_utils.load_model_ensemble(
File "/usr/local/lib/python3.8/dist-packages/fairseq/checkpoint_utils.py", line 250, in load_model_ensemble
ensemble, args, _task = load_model_ensemble_and_task(
File "/usr/local/lib/python3.8/dist-packages/fairseq/checkpoint_utils.py", line 279, in load_model_ensemble_and_task
state = load_checkpoint_to_cpu(filename, arg_overrides)
File "/usr/local/lib/python3.8/dist-packages/fairseq/checkpoint_utils.py", line 224, in load_checkpoint_to_cpu
state = torch.load(
File "/usr/local/lib/python3.8/dist-packages/torch/serialization.py", line 1005, in load
with _open_zipfile_reader(opened_file) as opened_zipfile:
File "/usr/local/lib/python3.8/dist-packages/torch/serialization.py", line 457, in init
super().init(torch._C.PyTorchFileReader(name_or_buffer))
RuntimeError: PytorchStreamReader failed reading zip archive: failed finding central directory

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