- Clone the repo and
cd
to project root:git clone https://github.com/deepmipt/stand_intent_en.git cd stand_intent_en
- Run script to download and unpack model components:
./download_components.sh
- Create a virtual environment with
Python 3.6
:virtualenv env -p python3.6
- Activate the environment:
source ./env/bin/activate
- Install requirements:
pip install -r requirements.txt
- Specify model endpoint host (
api_host
) and port (api_port
) inintent_agent_config.json
- Specify virtual environment path (if necessary) in
run_en_intent.sh
- Run model:
./run_en_intent.sh
-
If necessary, build Base Docker image from:
-
Clone the repo and
cd
to project root:git clone https://github.com/deepmipt/stand_intent_en.git cd stand_intent_en
-
Build Docker image:
sudo docker build -t stand/intent_en .
-
Run Docker image:
sudo docker run -p <host_port>:6007 -v </path/to/host/vol/map/dir>:/logs stand/intent_en