I’m trying to use a different deeppavlov model with docker now.
Ontonotes seems to work as shown in the example on your website:
https://hub.docker.com/r/deeppavlov/base-cpu
However when trying to install one of the other configs like so:
“docker run -e CONFIG=odqa/en_odqa_infer_wiki -p 5000:5000
-v /Users/user/Desktop/docker_dp_components_volume/:/root/.deeppavlov
-v /Users/user/Desktop/docker_host_venv_dir/:/venv
deeppavlov/base-cpu:latest”
It all works fine until it gets to:
“Installing collected packages: blis, jsonschema, cymem, preshed, plac, wasabi, srsly, murmurhash, thinc, spacy”
And specifically the last one:
“subprocess.CalledProcessError: Command ‘[’/base/venv/bin/python’, ‘-m’, ‘pip’, ‘install’, ‘spacy==2.1.3’]’ died with <Signals.SIGKILL: 9>.”
Same happens for another config like: “doc_retrieval/en_ranker_tfidf_wiki”
With ner ontonotes_bert I’m getting:
“cannot create directory ‘/venv/ner/ner_ontonotes_bert’: No such file or directory”
Can anyone tell me what do I have to do to fix this?