Unable to download model silero_te #125
MariyaTikhonova
started this conversation in
General
Replies: 2 comments 1 reply
-
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Hi Maria, could you please verify which Pytorch version you use? I would recommend to check it with torch 1.10. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to use your model for repunctuazation. However, I'm unable to run the getting started example as soon as it fells down with the error RuntimeError: [enforce fail at inline_container.cc:222] . file not found: v2_4lang_q/version. How can I fix it? Or where can I download the required model?
model, example_texts, languages, punct, apply_te = torch.hub.load(repo_or_dir='snakers4/silero-models',
model='silero_te')
Downloading: "https://github.com/snakers4/silero-models/archive/master.zip" to /home/jovyan/.cache/torch/hub/master.zip
100%
87.5M/87.5M [00:01<00:00, 74.8MB/s]
RuntimeError Traceback (most recent call last)
/tmp/ipykernel_3514/633877077.py in
1 model, example_texts, languages, punct, apply_te = torch.hub.load(repo_or_dir='snakers4/silero-models',
----> 2 model='silero_te')
~/.imgenv-mashkka-gpu-0/lib/python3.7/site-packages/torch/hub.py in load(repo_or_dir, model, *args, **kwargs)
368 verbose (bool, optional): If
False, mute messages about hitting369 local caches. Note that the message about first download cannot be
--> 370 muted. Does not have any effect if
source = 'local'.371 Default is
True.372 skip_validation (bool, optional): if
False, torchhub will check that the branch or commit~/.imgenv-mashkka-gpu-0/lib/python3.7/site-packages/torch/hub.py in _load_local(hubconf_dir, model, *args, **kwargs)
397 repo_or_dir = _get_cache_or_reload(repo_or_dir, force_reload, verbose, skip_validation)
398
--> 399 model = _load_local(repo_or_dir, model, *args, **kwargs)
400 return model
401
~/.cache/torch/hub/snakers4_silero-models_master/hubconf.py in silero_te()
134 progress=True)
135
--> 136 imp = package.PackageImporter(model_path)
137 model = imp.load_pickle("te_model", "model")
138 example_texts = model.examples
~/.imgenv-mashkka-gpu-0/lib/python3.7/site-packages/torch/package/package_importer.py in init(self, file_or_buffer, module_allowed)
73 self.filename = str(file_or_buffer)
74 if not os.path.isdir(self.filename):
---> 75 self.zip_reader = torch._C.PyTorchFileReader(self.filename)
76 else:
77 self.zip_reader = DirectoryReader(self.filename)
RuntimeError: [enforce fail at inline_container.cc:222] . file not found: v2_4lang_q/version
Beta Was this translation helpful? Give feedback.
All reactions