IBM / transition-amr-parser

SoTA Abstract Meaning Representation (AMR) parsing with word-node alignments in Pytorch. Includes checkpoints and other tools such as statistical significance Smatch.
Apache License 2.0
246 stars 48 forks source link

problems with setup #13

Closed PolKul closed 3 years ago

PolKul commented 3 years ago

I'm following your setup instructions, but when I run bash bash tests/minimal_test.sh I get the following error:

ModuleNotFoundError: No module named 'fairseq_ext.modules'

The result of bash tests/correctly_installed.sh: No CUDA runtime is found, using CUDA_HOME='/usr/local/cuda'

pytorch 1.2.0 No CUDA available fairseq 0.8.0 spacy 2.0.16 [OK] correctly installed

ramon-astudillo commented 3 years ago

Can you remind me your platform? I just run this on OSX with CPU and we regularly install on Linux with GPU just fine. Also can you write here the set of comands that you use for the install?

PolKul commented 3 years ago

I've figured it out. I had to copy fairseq_ext folder from the distribution to the site-packages of the virtual env.