Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
s920243400
PaddleDetection
提交
ee59d109
P
PaddleDetection
项目概览
s920243400
/
PaddleDetection
与 Fork 源项目一致
Fork自
PaddlePaddle / PaddleDetection
通知
2
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
PaddleDetection
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
ee59d109
编写于
1月 17, 2017
作者:
L
liaogang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Add gfortran in docker
上级
832bb6a7
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
13 addition
and
8 deletion
+13
-8
doc/getstarted/build_and_install/build_from_source_en.md
doc/getstarted/build_and_install/build_from_source_en.md
+11
-6
paddle/scripts/docker/Dockerfile
paddle/scripts/docker/Dockerfile
+1
-1
paddle/scripts/docker/Dockerfile.gpu
paddle/scripts/docker/Dockerfile.gpu
+1
-1
未找到文件。
doc/getstarted/build_and_install/build_from_source_en.md
浏览文件 @
ee59d109
...
@@ -16,7 +16,7 @@ cd paddle
...
@@ -16,7 +16,7 @@ cd paddle
To compile the source code, your computer must be equipped with the following dependencies.
To compile the source code, your computer must be equipped with the following dependencies.
-
**Compiler**
: GCC >= 4.8 or Clang >= 3.3 (AppleClang >= 5.1)
-
**Compiler**
: GCC >= 4.8 or Clang >= 3.3 (AppleClang >= 5.1)
and gfortran compiler
-
**CMake**
: CMake >= 3.0 (at least CMake 3.4 on Mac OS X)
-
**CMake**
: CMake >= 3.0 (at least CMake 3.4 on Mac OS X)
-
**BLAS**
: MKL, OpenBlas or ATLAS
-
**BLAS**
: MKL, OpenBlas or ATLAS
-
**Python**
: only support Python 2.7
-
**Python**
: only support Python 2.7
...
@@ -96,16 +96,21 @@ As a simple example, consider the following:
...
@@ -96,16 +96,21 @@ As a simple example, consider the following:
### Install Dependencies
### Install Dependencies
-
**
CPU
Dependencies**
-
**
Paddle
Dependencies**
```bash
```bash
# necessary
# necessary
sudo apt-get update
sudo apt-get update
sudo apt-get install -y g++ make cmake build-essential python python-pip python-numpy libpython-dev git
sudo apt-get install -y git curl gcc g++ gfortran make build-essential
sudo pip install wheel
sudo apt-get install -y python python-pip python-numpy libpython-dev
sudo pip install 'protobuf>=3.0.0'
sudo pip install 'protobuf==3.1.0.post1'
# install cmake 3.4
curl -sSL https://cmake.org/files/v3.4/cmake-3.4.1.tar.gz | tar -xz && \
cd cmake-3.4.1 && ./bootstrap && make -j4 && sudo make install && \
cd .. && rm -rf cmake-3.4.1
```
```
-
**GPU Dependencies (optional)**
-
**GPU Dependencies (optional)**
To build GPU version, you will need the following installed:
To build GPU version, you will need the following installed:
...
...
paddle/scripts/docker/Dockerfile
浏览文件 @
ee59d109
...
@@ -9,7 +9,7 @@ RUN apt-get update && \
...
@@ -9,7 +9,7 @@ RUN apt-get update && \
apt-get
install
-y
git python-pip python-dev openssh-server
&&
\
apt-get
install
-y
git python-pip python-dev openssh-server
&&
\
apt-get
install
-y
wget unzip
tar
xz-utils bzip2
gzip
coreutils
&&
\
apt-get
install
-y
wget unzip
tar
xz-utils bzip2
gzip
coreutils
&&
\
apt-get
install
-y
curl
sed grep
graphviz libjpeg-dev zlib1g-dev
&&
\
apt-get
install
-y
curl
sed grep
graphviz libjpeg-dev zlib1g-dev
&&
\
apt-get
install
-y
python-numpy python-matplotlib g
++
&&
\
apt-get
install
-y
python-numpy python-matplotlib g
cc g++ gfortran
&&
\
apt-get clean
-y
apt-get clean
-y
RUN
pip
install
--upgrade
pip
&&
\
RUN
pip
install
--upgrade
pip
&&
\
...
...
paddle/scripts/docker/Dockerfile.gpu
浏览文件 @
ee59d109
...
@@ -9,7 +9,7 @@ RUN apt-get update && \
...
@@ -9,7 +9,7 @@ RUN apt-get update && \
apt-get install -y git python-pip python-dev openssh-server && \
apt-get install -y git python-pip python-dev openssh-server && \
apt-get install -y wget unzip tar xz-utils bzip2 gzip coreutils && \
apt-get install -y wget unzip tar xz-utils bzip2 gzip coreutils && \
apt-get install -y curl sed grep graphviz libjpeg-dev zlib1g-dev && \
apt-get install -y curl sed grep graphviz libjpeg-dev zlib1g-dev && \
apt-get install -y python-numpy python-matplotlib g
++
&& \
apt-get install -y python-numpy python-matplotlib g
cc g++ gfortran
&& \
apt-get clean -y
apt-get clean -y
RUN pip install --upgrade pip && \
RUN pip install --upgrade pip && \
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录