-
Notifications
You must be signed in to change notification settings - Fork 126
Open
Description
Describe the issue
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'Environment
OS: Ubuntu
Python version: 3.10.12
EasyNMT vesion: EasyNMT==2.0.2
Metadata
Metadata
Assignees
Labels
No labels