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

RuntimeError: storage has wrong size: expected 0 got 1024 #28

Open
stefins opened this issue May 2, 2022 · 0 comments
Open

RuntimeError: storage has wrong size: expected 0 got 1024 #28

stefins opened this issue May 2, 2022 · 0 comments

Comments

@stefins
Copy link

stefins commented May 2, 2022

Hi,

When I'm trying to run the container I get the following error.

Traceback (most recent call last):
File "/usr/lib/python3.7/runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "/usr/lib/python3.7/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/app/tts_web/main.py", line 280, in
main()
File "/app/tts_web/main.py", line 270, in main
synthesizer.load()
File "/app/tts_web/synthesize.py", line 199, in load
cp = torch.load(self.model_path, map_location=torch.device("cpu"))
File "/app/lib/python3.7/site-packages/torch/serialization.py", line 585, in load
return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args)
File "/app/lib/python3.7/site-packages/torch/serialization.py", line 772, in _legacy_load
deserialized_objects[key]._set_from_file(f, offset, f_should_read_directly)
RuntimeError: storage has wrong size: expected 0 got 1024

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