bjascob / amrlib

A python library that makes AMR parsing, generation and visualization simple.
MIT License
219 stars 34 forks source link

No such file or directory: 'amrlib/data/model_sto' #68

Closed 141forever closed 4 months ago

141forever commented 4 months ago

Hello! I tried to run your Library Usage or Usage as a Spacy Extension. But it comes an error.


Traceback (most recent call last): File "/home/test.py", line 2, in stog = amrlib.load_stog_model() File "/home/hy/miniconda3/envs/1/lib/python3.9/site-packages/amrlib/init.py", line 35, in load_stog_model stog_model = load_inference_model(model_dir, **kwargs) File "/home/hy/miniconda3/envs/1/lib/python3.9/site-packages/amrlib/models/model_factory.py", line 56, in load_inference_model raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), model_directory) FileNotFoundError: [Errno 2] No such file or directory: '/home/hy/miniconda3/envs/1/lib/python3.9/site-packages/amrlib/data/model_stog'


bjascob commented 4 months ago

Please follow the installation instructions and install the models as described.

141forever commented 4 months ago

THANK YOU, I have worked it out