Problem with deeppavlov/base-cpu (Illegal instruction)

При попытке запустить докер с deeppalov на windows при установке GLOVE - падаем с ошибкой(illegal instruction).


Trying run docker deeppavlov/base-cpu on windows. And have a problem (Illegal instruction) while loading GLOVE.

2020-03-18 10:44:16.843 INFO in ‘deeppavlov.core.data.utils’[‘utils’] at line 237: Extracting /root/.deeppavlov/ner_ontonotes_v3_cpu_compatible.tar.gz archive into /root/.deeppavlov/models
2020-03-18 10:44:17.949 INFO in ‘deeppavlov.core.data.simple_vocab’[‘simple_vocab’] at line 115: [loading vocabulary from /root/.deeppavlov/models/ner_ontonotes/tag.dict]
2020-03-18 10:44:17.958 INFO in ‘deeppavlov.core.data.simple_vocab’[‘simple_vocab’] at line 115: [loading vocabulary from /root/.deeppavlov/models/ner_ontonotes/char.dict]
2020-03-18 10:44:18.533 INFO in ‘deeppavlov.models.embedders.glove_embedder’[‘glove_embedder’] at line 52: [loading GloVe embeddings from /root/.deeppavlov/downloads/embeddings/glove.6B.100d.txt]
Illegal instruction

Hi @Nikita

Could you please send command you launched image with?

@Ignatov
docker run -e CONFIG=ner_ontonotes -p 5555:5000 deeppavlov/base-cpu
command without mount components.

@Nikita, I have successfully started container with docker run -e CONFIG=ner_ontonotes -p 5555:5000 deeppavlov/base-cpu on Windows 10 with Docker Desktop 2.2.0.4 (Engine 19.03.8). Maybe we are facing the problem like this.
Please rebuild image on your machine. To build the image get the Dockerfile from here and run in directory with this file following command:

docker build -t deeppavlov/base-cpu:0.7.1 --build-arg PYTHON_BASE_IMAGE=python:3.7-slim-stretch --build-arg COMMIT=0.7.1 .