Skip to content

subprocess.CalledProcessError #3

@spacemonqi

Description

@spacemonqi

Hi @creat89, @jgmorenof

Using all the package versions as given in the environment.yml file with Python 3.6.13, running

python3.6 NER.py -f input.txt -F plain -l en -o output.txt

yields:

Using TensorFlow backend.
File to process: input.conll
Language to process: en
Output redirected to: {'output.txt'}
Using CPU
trap: SIGINT: bad trap
Traceback (most recent call last):
File "NER.py", line 352, in
main_command()
File "NER.py", line 65, in main_command
lstm_model = loadModels(arguments.language)
File "NER.py", line 164, in loadModels
subprocess.run(["sh", "./embeddings/komninos_embeddings.sh"], check=True)
File "/home/daniel/anaconda3/envs/bert_env/lib/python3.6/subprocess.py", line 438, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['sh', './embeddings/komninos_embeddings.sh']' returned non-zero exit status 1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions