You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
~.conda\envs\tensorflow11402\lib\site-packages\torch\serialization.py in load(f, map_location, pickle_module, **pickle_load_args)
577 pickle_load_args['encoding'] = 'utf-8'
578
--> 579 with _open_file_like(f, 'rb') as opened_file:
580 if _is_zipfile(opened_file):
581 # The zipfile reader is going to advance the current file position.
~.conda\envs\tensorflow11402\lib\site-packages\torch\serialization.py in _open_file_like(name_or_buffer, mode)
228 def _open_file_like(name_or_buffer, mode):
229 if _is_path(name_or_buffer):
--> 230 return _open_file(name_or_buffer, mode)
231 else:
232 if 'w' in mode:
FileNotFoundError Traceback (most recent call last)
in
1 import os
2 embedder_path = os.path.join(dataset_path,"embedder.pt")
----> 3 embedder_pt = torch.load(embedder_path,map_location=torch.device('cpu'))
4 embedder = SpeechEmbedder(hyper_params)
5 embedder.load_state_dict(embedder_pt)
~.conda\envs\tensorflow11402\lib\site-packages\torch\serialization.py in load(f, map_location, pickle_module, **pickle_load_args)
577 pickle_load_args['encoding'] = 'utf-8'
578
--> 579 with _open_file_like(f, 'rb') as opened_file:
580 if _is_zipfile(opened_file):
581 # The zipfile reader is going to advance the current file position.
~.conda\envs\tensorflow11402\lib\site-packages\torch\serialization.py in _open_file_like(name_or_buffer, mode)
228 def _open_file_like(name_or_buffer, mode):
229 if _is_path(name_or_buffer):
--> 230 return _open_file(name_or_buffer, mode)
231 else:
232 if 'w' in mode:
~.conda\envs\tensorflow11402\lib\site-packages\torch\serialization.py in init(self, name, mode)
209 class _open_file(_opener):
210 def init(self, name, mode):
--> 211 super(_open_file, self).init(open(name, mode))
212
213 def exit(self, *args):
FileNotFoundError: [Errno 2] No such file or directory: 'LibriSpeech Dataset\embedder.pt'
The text was updated successfully, but these errors were encountered: