Install PaddlePaddle (Parallel Distributed Deep Learning)

Posted 华东 博客

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Install PaddlePaddle (Parallel Distributed Deep Learning)相关的知识,希望对你有一定的参考价值。

 

Step 1: Install docker on your linux system (My linux version is fedora)

https://docs.docker.com/engine/installation/linux/fedora/

Other linux systems You can refer to the official guide https://docs.docker.com/engine/installation/ for further information.

Step 2: You can use docker pull to download images first, or just launch a container with docker run:

[email protected]:/home/hd# sudo docker pull paddledev/paddle:cpu-demo-latest
cpu-demo-latest: Pulling from paddledev/paddle
862a3e9af0ae: Pull complete 
6498e51874bf: Pull complete 
159ebdd1959b: Pull complete 
0fdbedd3771a: Pull complete 
7a1f7116d1e3: Pull complete 
cf3b261b873d: Pull complete 
a45605e2b3be: Pull complete 
Digest: sha256:89a590a9906fd2c6e789190f6df45f22c7fe5f8805a96ec74b9456a519d09151
Status: Downloaded newer image for paddledev/paddle:cpu-demo-latest
[email protected]:/home/hd# docker images
REPOSITORY          TAG                 IMAGE ID            CREATED             SIZE
paddledev/paddle    cpu-demo-latest     b92f6d4594c8        5 hours ago         1.978 GB
hello-world         latest              ff1fef95caaa        10 weeks ago        1.848 kB
[email protected]:/home/hd# sudo docker run -it paddledev/paddle:cpu-demo-latest
[email protected]:/# ls
bin   dev  home  lib64  mnt  proc  run   srv  tmp  var
boot  etc  lib   media  opt  root  sbin  sys  usr
[email protected]:/# 

 

 Note: there exist a error in the Chinese guide provided by Badu.(http://www.paddlepaddle.org/doc_cn/build_and_install/install/docker_install.html)

$ docker run -it paddledev/paddlepaddle:latest-cpu

 should be replaced by

$ docker run -it paddledev/paddle:cpu-latest

You can also choose other paddlepaddle images, Baidu provide six docker images

  • paddledev/paddle:cpu-latest: PaddlePaddle CPU binary image.
  • paddledev/paddle:gpu-latest: PaddlePaddle GPU binary image.
  • paddledev/paddle:cpu-devel-latest: PaddlePaddle CPU binary image plus source code.
  • paddledev/paddle:gpu-devel-latest: PaddlePaddle GPU binary image plus source code.
  • paddledev/paddle:cpu-demo-latest: PaddlePaddle CPU binary image plus source code and demo
  • paddledev/paddle:gpu-demo-latest: PaddlePaddle GPU binary image plus source code and demo

Tags with latest will be replaced by a released version.

 

以上是关于Install PaddlePaddle (Parallel Distributed Deep Learning)的主要内容,如果未能解决你的问题,请参考以下文章

pip install出错,pip版本不匹配

pip install报错是啥问题啊?

Couldn't find a tree builder with the features you requested: lxml. Do you need to install a par

Couldn't find a tree builder with the features you requested: lxml. Do you need to install a par

R语言可视化绘图基础知识详解

AIPaddlePaddile-Docker运行