Update README.md

pull/15/head
Michael Nguyen 2018-07-06 17:25:00 -05:00 committed by GitHub
parent 9a3d1d2a20
commit 33eb480018
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 13 additions and 3 deletions

View File

@ -24,9 +24,19 @@ Pull requests are welcome!
#### using docker
1. make sure you have docker installed
2. Build Docker (If you want to use the GPU in docker make sure you have [nvidia-docker](https://github.com/NVIDIA/nvidia-docker) installed)
1. `docker build -t mycroft/mimic2:gpu -f gpu.Dockerfile .` (switch all gpu for cpu if you want cpu version)
2. `nvidia-docker run -it -p 3000:3000 mycroft/mimic2:gpu` (switch gpu for cpu if you want cpu version)
1. Build Docker
the Dockerfile comes with a gpu option or cpu option. If you want to use the GPU in docker make sure you have [nvidia-docker](https://github.com/NVIDIA/nvidia-docker) installed
gpu: `docker build -t mycroft/mimic2:gpu -f gpu.Dockerfile .`
cpu: `docker build -t mycroft/mimic2:gpu -f cpu.Dockerfile .`
2. Run Docker
gpu: `nvidia-docker run -it -p 3000:3000 mycroft/mimic2:gpu`
cpu: `docker run -it -p 3000:3000 mycroft/mimic2:cpu`
#### manually
1. Install Python 3.