Update installation.md

This commit is contained in:
dyning 2020-05-14 13:17:59 +08:00 committed by GitHub
parent 79524b72bf
commit f989c713f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@
cd /home/Projects
# 首次运行需创建一个docker容器再次运行时不需要运行当前命令
# 创建一个名字为pdocr的docker容器并将当前目录映射到容器的/paddle目录下
sudo nvidia-docker run --name pdocr -v $PWD:/paddle --network=host -it hub.baidubce.com/paddlepaddle/paddle:latest-gpu-cuda9.0-cudnn7-dev /bin/bash
sudo nvidia-docker run --name ppocr -v $PWD:/paddle --network=host -it hub.baidubce.com/paddlepaddle/paddle:latest-gpu-cuda9.0-cudnn7-dev /bin/bash
# ctrl+P+Q可退出docker重新进入docker使用如下命令
sudo nvidia-docker container exec -it pdocr /bin/bash