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
When trying to use opus-mt with python package, it throw a FileNotFoundError
(py3.10) girishsharma@me:~/documents/code$ python
Python 3.10.12 (main, Jul 5 2023, 18:54:27) [GCC 11.2.0] on linux
Type "help", "copyright", "credits" or "license"for more information.
>>> from easynmt import EasyNMT
>>> model = EasyNMT('opus-mt')
Traceback (most recent call last):
File "<stdin>", line 1, in<module>
File "/home/girishsharma/miniconda3/envs/py3.10/lib/python3.10/site-packages/easynmt/EasyNMT.py", line 84, in __init__
with open(os.path.join(model_path, 'easynmt.json')) as fIn:
FileNotFoundError: [Errno 2] No such file or directory: 'opus-mt/easynmt.json'
Describe the issue
When trying to use
opus-mt
with python package, it throw a FileNotFoundErrorEnvironment
OS: Ubuntu
Python version: 3.10.12
EasyNMT vesion:
EasyNMT==2.0.2
The text was updated successfully, but these errors were encountered: