Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
LearnedVector authored Jul 6, 2018
1 parent 9a3d1d2 commit 33eb480
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 33eb480

Please sign in to comment.