Update installation.md

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

View File

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