Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
229 commits
Select commit Hold shift + click to select a range
b317cbf
fix typo, rewrite graph
dzhwinter Sep 5, 2017
dbaaa49
fix typo, rewrite graph
dzhwinter Sep 5, 2017
c117185
rewrite graph
dzhwinter Sep 5, 2017
c8701bd
rewrite graph
dzhwinter Sep 5, 2017
1e5302c
"redraw the graph"
dzhwinter Sep 13, 2017
e0a8b59
"redo the graph"
dzhwinter Sep 13, 2017
1c63771
Merge remote-tracking branch 'origin/develop' into multigpu
dzhwinter Sep 13, 2017
ddc2587
Merge remote-tracking branch 'origin/develop' into multigpu
dzhwinter Oct 2, 2017
5c057f9
add spp op only can test ok
Dec 3, 2017
c75b453
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into…
Dec 3, 2017
531e7b6
gpu test ok
Dec 3, 2017
8368e55
modify some doc
Dec 4, 2017
0c44468
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into…
Dec 4, 2017
141a323
fix a bug
Dec 4, 2017
23e3821
add dilation
chengduoZH Dec 5, 2017
aa77019
add dilation in c++ code
chengduoZH Dec 8, 2017
d93bbf1
add conv_trans unit test
chengduoZH Dec 8, 2017
5f48421
fix conv2d_transpose API (Add dilation)
chengduoZH Dec 8, 2017
a6ef875
refine conv
chengduoZH Dec 11, 2017
988a4a6
Merge remote-tracking branch 'origin/develop' into feature/nccl_doc
dzhwinter Dec 11, 2017
7389ea9
"add NCCL multi-GPU design doc"
dzhwinter Dec 11, 2017
ebd0cf1
"add manual allreduce"
dzhwinter Dec 11, 2017
9a89b04
Add ChunkEvaluator for multi-batches
guoshengCS Dec 11, 2017
1eaeacb
Merge branch 'develop' of https://github.com/PaddlePaddle/paddle into…
guoshengCS Dec 12, 2017
6ecf08b
Enhance init_from_tar to support indicating parameters excluded from …
guoshengCS Dec 12, 2017
5000398
remove conflict
chengduoZH Dec 12, 2017
63ce906
Refine ChunkEvalutor by following comments
guoshengCS Dec 12, 2017
2cd5106
Fix crop op doc
wanghaoshuang Dec 12, 2017
29cd089
Merge branch 'develop' of https://github.com/PaddlePaddle/paddle into…
guoshengCS Dec 12, 2017
048254d
Merge branch 'develop' of https://github.com/PaddlePaddle/paddle into…
guoshengCS Dec 13, 2017
2cc3453
Refine the doc of parameters.init_from_tar
guoshengCS Dec 13, 2017
89de58d
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into…
Dec 13, 2017
ea09328
for code review by zhaolong
Dec 13, 2017
aa2f2fb
remove conflict
chengduoZH Dec 13, 2017
842b485
Enhance ReduceOp to support reducing over all elements
guoshengCS Dec 13, 2017
97c3de0
follow comments
chengduoZH Dec 14, 2017
a60b3a5
fix doc of seq_expand_op
wanghaoshuang Dec 14, 2017
685d1e3
Enable reshape_op to support dimension inference
Dec 14, 2017
2a7bc64
Merge pull request #6455 from chengduoZH/refine/conv_zero
Dec 14, 2017
0a75ed6
Add unit test for dimension inference in reshape_op
Dec 14, 2017
7ab48ae
Merge pull request #6586 from guoshengCS/enhance-ReduceOp
guoshengCS Dec 14, 2017
49b8ac8
Merge pull request #6550 from guoshengCS/enhance-exclude-param-init
guoshengCS Dec 14, 2017
3545d3a
Expose seq_expand op.
pkuyym Dec 14, 2017
9b16750
"remove AllReduce2 comments"
dzhwinter Dec 14, 2017
181db32
Merge branch 'develop' of https://github.com/PaddlePaddle/paddle into…
guoshengCS Dec 14, 2017
dafd449
Unify `step_block` and `block` to `sub_block`
JiayiFeng Dec 14, 2017
0e9b393
"derived cudnnDevice context" (#6585)
dzhwinter Dec 14, 2017
ecfd2ac
Merge pull request #6614 from JiayiFeng/dev_rename_sub_block
JiayiFeng Dec 14, 2017
e11a561
update
JiayiFeng Dec 14, 2017
1059796
update the link of docs icon
luotao1 Dec 14, 2017
9918263
Add extern "C" to paddle_error_string (#6611)
lileding Dec 14, 2017
044a13d
expose GradOpMaker to Python
JiayiFeng Dec 14, 2017
b84da66
Merge pull request #6618 from luotao1/icon_link
luotao1 Dec 14, 2017
e0698e3
Make layers as a python module (#6564)
reyoung Dec 14, 2017
a524f8e
auto compute the training FPS by avg elapsed time
luotao1 Dec 14, 2017
a2dfabb
"fix based on comments"
dzhwinter Dec 14, 2017
9956d5f
Merge pull request #6623 from JiayiFeng/dev_expose_GradOpMaker
JiayiFeng Dec 14, 2017
126d274
Add separable convolution
will-am Dec 13, 2017
479ee27
remove conflict
chengduoZH Dec 14, 2017
a02a68d
"fixed based on comment"
dzhwinter Dec 14, 2017
e0c3317
add MKLDNNPlace
tensor-tang Dec 14, 2017
a7fa205
Merge branch 'develop' of https://github.com/PaddlePaddle/paddle into…
guoshengCS Dec 14, 2017
c52a0bd
Merge pull request #3769 from dzhwinter/multigpu
helinwang Dec 14, 2017
a243edf
add cross compiling doc in en
putcn Dec 14, 2017
d2b6d2e
minor tweaks.
putcn Dec 14, 2017
72bcf7b
Merge pull request #6640 from putcn/cross_compiling_for_ios_en
putcn Dec 14, 2017
f5dc9ea
Add refer code to get started
Dec 15, 2017
7fe3c57
Fix typo in cross-compiling documentation of iOS and add it to the in…
Xreki Dec 15, 2017
78c20e3
Merge pull request #6648 from Xreki/fix_ios_doc
luotao1 Dec 15, 2017
d40d28d
Merge pull request #6515 from guoshengCS/add-multiBatch-chunkEval
guoshengCS Dec 15, 2017
d7b67f2
fix pipe_reader on multi passes (#6627)
Dec 15, 2017
537a0d4
Update infer.py
memorycancel Dec 15, 2017
d62552d
Update use_concepts_cn.rst
memorycancel Dec 15, 2017
8a24915
Merge pull request #6646 from memorycancel/add-refer-code-to-getstarted
luotao1 Dec 15, 2017
d5cab4f
Fix compile on CUDA9.1 & MacOS (#6642)
reyoung Dec 15, 2017
5ac8a0b
Merge branch 'develop' of upstream into fix_reshape_op
Dec 15, 2017
f271210
fix undefined issue when with_gpu
tensor-tang Dec 15, 2017
d37ed6c
polish code in reshape_op
Dec 15, 2017
0fce0fe
Reduce memory usage in conv layer and RoI layer for mobile inference.
qingqing01 Dec 15, 2017
3496092
Fix the error function/GemmConvOp.
qingqing01 Dec 15, 2017
1b0c7d7
Simplize system_allocator and fix GPU_INFO (#6653)
reyoung Dec 15, 2017
c907654
Merge pull request #6609 from kuke/fix_reshape_op
Dec 15, 2017
7728c53
Merge remote-tracking branch 'upstream/develop' into fluid
tensor-tang Dec 15, 2017
a92f057
fix conflict of Place
tensor-tang Dec 15, 2017
bf269d6
fix place_test on MKLDNNPlace
tensor-tang Dec 15, 2017
b858e17
Merge pull request #6592 from tensor-tang/fluid
tensor-tang Dec 14, 2017
e1049c4
add fluid python api in chinese website
luotao1 Dec 15, 2017
480a544
Merge pull request #6659 from qingqing01/mobile_mem
qingqing01 Dec 15, 2017
7968b66
Fix error in function/GemmConvOp.cpp.
qingqing01 Dec 15, 2017
734e87e
Add python wrapper for lstm unit op.
pkuyym Dec 15, 2017
087fbb4
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into…
pkuyym Dec 15, 2017
0d748f5
Move seq_expand to nn.py.
pkuyym Dec 15, 2017
acaef9a
rename mkldnn doc
tensor-tang Dec 14, 2017
1670ec0
add mkl packed desgin doc
tensor-tang Dec 14, 2017
f4626d6
Merge pull request #6663 from luotao1/fluid_doc
luotao1 Dec 16, 2017
3f2fa0a
follow comments and refine doc
tensor-tang Dec 16, 2017
c1a6870
follow comments and refine doc
tensor-tang Dec 16, 2017
c13805e
Merge pull request #6636 from tensor-tang/mkl
luotao1 Dec 15, 2017
ca0b5ca
refine cluster doc structure
typhoonzero Dec 16, 2017
77cf7d4
Fix read_source.md (#6673)
reyoung Dec 16, 2017
84cb542
use intel openmp to speedup seq2batch when WITH_MKL
tensor-tang Dec 15, 2017
9c27c13
follow comments using macro to separate the original implements
tensor-tang Dec 16, 2017
5ac72d9
Merge pull request #6622 from tensor-tang/omp
luotao1 Dec 16, 2017
1eac276
add spp avg
Dec 17, 2017
5be5afb
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into…
Dec 17, 2017
a045955
add moved files
typhoonzero Dec 18, 2017
93a2d9c
add more place test and rename Cudnn to CUDNN (#6621)
QiJune Dec 18, 2017
964f01e
fix simple_gru2 doc
jacquesqiao Dec 18, 2017
24fda39
Feature/global context (#6537)
dzhwinter Dec 18, 2017
2321555
follow comments
typhoonzero Dec 18, 2017
7c9c244
update doc index
typhoonzero Dec 18, 2017
e3a9a89
Merge pull request #6691 from jacquesqiao/fix-simple_gru2-doc
jacquesqiao Dec 18, 2017
7456d73
Merge pull request #6204 from sweetsky0901/my_spp_op
sweetsky0901 Dec 18, 2017
dd92fb2
Merge pull request #6666 from qingqing01/mobile_mem
qingqing01 Dec 18, 2017
b0e4357
seperate openblas train/infer script with mkl
luotao1 Dec 18, 2017
b28a173
Merge pull request #6538 from wanghaoshuang/crop_doc
wanghaoshuang Dec 18, 2017
c30bc56
rename seq to sequence
wanghaoshuang Dec 18, 2017
3242e28
seq_expand --> sequence_expand
pkuyym Dec 18, 2017
e6306b4
follow comments
typhoonzero Dec 18, 2017
53f4451
update links
typhoonzero Dec 18, 2017
4716b67
Fix 404 in k8s single training
Yancey0623 Dec 18, 2017
89e6c39
fix capital title
Yancey0623 Dec 18, 2017
fbdaf7e
Fix unitest
wanghaoshuang Dec 18, 2017
cfc2621
fix en links
typhoonzero Dec 18, 2017
ed56ed9
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into…
pkuyym Dec 18, 2017
e579dc1
Merge pull request #6708 from wanghaoshuang/rename_seq
wanghaoshuang Dec 18, 2017
a398e25
Expose param_attr and bias_attr.
pkuyym Dec 18, 2017
984e4ca
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into…
pkuyym Dec 18, 2017
16fd9f1
Merge pull request #6674 from typhoonzero/refine_doc_structure
luotao1 Dec 18, 2017
d9f2057
Merge branch 'develop' into mkl_script
luotao1 Dec 18, 2017
537a15f
"polish executor design doc" (#6688)
dzhwinter Dec 18, 2017
0a76f72
Merge pull request #6706 from luotao1/mkl_script
luotao1 Dec 19, 2017
5f90a31
Merge pull request #6670 from pkuyym/fix-6590
pkuyym Dec 19, 2017
58d6946
Set the act to 'linear'.
pkuyym Dec 19, 2017
69072ef
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into…
pkuyym Dec 19, 2017
d993a4f
Change default value for bias_attr.
pkuyym Dec 19, 2017
9ee9fef
Change the return order to h, c.
pkuyym Dec 19, 2017
fa5cdd8
Expose sequence_softmax_op.
pkuyym Dec 19, 2017
7901f06
Remove `main_program` and `startup_program` as the paramter of layer …
reyoung Dec 19, 2017
cb23c63
Polishing executor design doc (#6721)
Dec 19, 2017
dfb2261
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into…
pkuyym Dec 19, 2017
2a058b1
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into…
pkuyym Dec 19, 2017
94ca8f2
Make the default layer type for separable conv is exconv
will-am Dec 19, 2017
7be4f2b
Merge remote-tracking branch 'upstream/develop' into img_separable_conv
will-am Dec 19, 2017
9573256
Remove main_program and startup_program.
pkuyym Dec 19, 2017
27c3961
Merge branch 'develop' of github.com:PaddlePaddle/Paddle into fix_k8s…
Yancey0623 Dec 19, 2017
6f79126
Merge pull request #6669 from pkuyym/fix-6581
pkuyym Dec 19, 2017
6cba821
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into…
pkuyym Dec 19, 2017
760d20d
Add test for sequence_softmax.
pkuyym Dec 19, 2017
0286044
update the link of doc.paddlepaddle.org in README.md
luotao1 Dec 19, 2017
5e04b64
refine elementwise
chengduoZH Dec 19, 2017
1e92353
Merge pull request #6726 from pkuyym/fix-6712
pkuyym Dec 19, 2017
51f3bf1
Merge pull request #6734 from luotao1/readme
luotao1 Dec 19, 2017
de85470
Support Clip in param_attr (#6729)
reyoung Dec 19, 2017
4952597
fix some doc errors
typhoonzero Dec 19, 2017
5c530ea
export const value to python
jacquesqiao Dec 19, 2017
b2023db
fix a typo
jacquesqiao Dec 19, 2017
c057d53
remove duplicated code
jacquesqiao Dec 19, 2017
293b292
refine im2col
chengduoZH Dec 19, 2017
33e074d
Merge pull request #6742 from typhoonzero/fix_document_errors
luotao1 Dec 19, 2017
07f2ba5
reopen linkchecker for checking broken links in websites
luotao1 Dec 19, 2017
927f5d5
complete const test
jacquesqiao Dec 19, 2017
fb72c10
paddledev -> paddlepaddle
Yancey0623 Dec 19, 2017
5e30a3d
Merge branch 'develop' of github.com:PaddlePaddle/Paddle into fix_k8s…
Yancey0623 Dec 19, 2017
79b964d
cpu-latest -> latest
Yancey0623 Dec 19, 2017
f1ab13b
refine
chengduoZH Dec 19, 2017
d639b13
Merge pull request #6744 from jacquesqiao/expose-const-value
jacquesqiao Dec 19, 2017
7ea6b1d
add mkl pakced design for python interface and add link for some func…
tensor-tang Dec 18, 2017
f8413ff
Merge pull request #6680 from tensor-tang/doc
luotao1 Dec 19, 2017
7b0744e
refine im2col
chengduoZH Dec 19, 2017
52177ac
fix broken links to pass the ci
luotao1 Dec 19, 2017
31dba88
revert paddlepaddle/paddlepaddle.org
Yancey0623 Dec 19, 2017
9eacf49
update
Yancey0623 Dec 19, 2017
a87f496
Merge pull request #6711 from Yancey1989/fix_k8s_404
luotao1 Dec 19, 2017
e445b3f
Move framework.proto to proto namespace (#6718)
reyoung Dec 20, 2017
9bfa301
Merge pull request #6631 from will-am/img_separable_conv
will-am Dec 20, 2017
e0c4c39
Merge pull request #6748 from luotao1/linkchecker
luotao1 Dec 20, 2017
cb3a74e
revert im2col
chengduoZH Dec 20, 2017
0ab5d8e
Add python wrapper for reduce_sum
guoshengCS Dec 20, 2017
2d5ec16
Execute the program with multi threads (#6223)
Dec 20, 2017
71dd8f8
Merge pull request #6716 from guoshengCS/add-python-reduceSum
guoshengCS Dec 20, 2017
a948fac
Add design of switching kernel (#6720)
reyoung Dec 20, 2017
59403c3
Add comment of GetSubLoDAndAbsoluteOffset (#6771)
reyoung Dec 20, 2017
0f1c685
Add more log of lod_rank_table (#6761)
reyoung Dec 20, 2017
f1a9efc
add kernel hint design
jacquesqiao Dec 20, 2017
6a1e312
refine the doc.
lcy-seso Dec 20, 2017
6646873
Merge branch 'develop' into refine_doc
lcy-seso Dec 20, 2017
1102591
add two sub title
jacquesqiao Dec 20, 2017
c322c7b
some small refines.
lcy-seso Dec 20, 2017
f3cbd8d
follow comment
jacquesqiao Dec 20, 2017
a7bb983
optimize indent
jacquesqiao Dec 20, 2017
5b52481
refine accuracy_op.cu (#6774)
Dec 20, 2017
c2b1ddb
Correct the dropout_op's computation in test
Dec 20, 2017
aad8b22
Adding a proposal for operator documentation. (#6805)
Dec 20, 2017
c8ef452
Polishing the embedding layer and the fc layer documentation (#6806)
abhinavarora Dec 21, 2017
82eff9d
Merge pull request #6804 from kuke/fix_dropout
Dec 21, 2017
ebe4425
Merge branch 'develop' into refine_doc
lcy-seso Dec 21, 2017
e19032f
Merge pull request #6743 from chengduoZH/profiling/02.recognize_digits
Dec 21, 2017
f734d0c
Merge pull request #6790 from jacquesqiao/kernel-hint-design
jacquesqiao Dec 21, 2017
ad97908
Polish layer documentation for fill_constant ops (#6808)
abhinavarora Dec 21, 2017
f04f4f9
Fix equation of sequence_softmax_op. (#6810)
wanghaoshuang Dec 21, 2017
ad2ab95
"small fix of Place" (#6766)
dzhwinter Dec 21, 2017
863661a
Polishing the documentation of the less than layer (#6816)
abhinavarora Dec 21, 2017
dcf5e94
remove conflict
chengduoZH Dec 21, 2017
0295b00
Add libprotobuf-lite.a when install. (#6340)
hedaoyuan Dec 21, 2017
0918973
Rename XXDescBind --> XXDesc (#6797)
reyoung Dec 21, 2017
f605f16
Merge pull request #6279 from chengduoZH/feature/add_dilation_for_con…
Dec 21, 2017
f56f149
fix_output_name
JiayiFeng Dec 21, 2017
feb05c3
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into…
JiayiFeng Dec 21, 2017
1a3d4b0
add design doc on keys of operaror kernel type (#6782)
QiJune Dec 21, 2017
0895d1d
Fix a error
JiayiFeng Dec 21, 2017
f3cc75d
Fix errors
JiayiFeng Dec 21, 2017
7e214b4
Speed up ColwiseSum in CPU (#6834)
reyoung Dec 21, 2017
afaa73e
fix pip install page 404 links
Yancey0623 Dec 21, 2017
a74db48
follow comments.
lcy-seso Dec 21, 2017
24f7770
Merge pull request #6825 from JiayiFeng/rename_fill_zero_op_output
JiayiFeng Dec 21, 2017
3c6399d
Merge pull request #6847 from Yancey1989/fix_pip_page_404
typhoonzero Dec 21, 2017
ab916e5
Adding layer array_length (#6817)
Dec 21, 2017
e56d03e
Writeup for array write layer (#6820)
Dec 21, 2017
e473fa6
Adding array read layer (#6853)
Dec 21, 2017
3528e6e
Polish API docs for Fluid Assign and Concat layer (#6855)
abhinavarora Dec 21, 2017
61eb085
Adding documentation for the operators: lod_tensor_to_array , array_t…
Dec 21, 2017
91911f4
Fix documentation of embedding layer (#6854)
abhinavarora Dec 21, 2017
a552385
Adding doc for sums layer (#6857)
Dec 21, 2017
22fba72
Add doc for data layer (#6858)
Dec 21, 2017
298dc89
Merge pull request #6792 from lcy-seso/refine_doc
lcy-seso Dec 22, 2017
0381e59
change 'common' to 'base'
wanghaoshuang Dec 22, 2017
63f5e47
Merge branch 'wanghaoshuang-fix_seq' into develop
wanghaoshuang Dec 22, 2017
0eeb234
Merge branch 'develop' into fix_seq
wanghaoshuang Dec 22, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
22 changes: 11 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@


[![Build Status](https://travis-ci.org/PaddlePaddle/Paddle.svg?branch=develop)](https://travis-ci.org/PaddlePaddle/Paddle)
[![Documentation Status](https://img.shields.io/badge/docs-latest-brightgreen.svg?style=flat)](http://doc.paddlepaddle.org/develop/doc/)
[![Documentation Status](https://img.shields.io/badge/中文文档-最新-brightgreen.svg)](http://doc.paddlepaddle.org/develop/doc_cn/)
[![Documentation Status](https://img.shields.io/badge/docs-latest-brightgreen.svg?style=flat)](http://www.paddlepaddle.org/docs/develop/documentation/en/getstarted/index_en.html)
[![Documentation Status](https://img.shields.io/badge/中文文档-最新-brightgreen.svg)](http://www.paddlepaddle.org/docs/develop/documentation/zh/getstarted/index_cn.html)
[![Coverage Status](https://coveralls.io/repos/github/PaddlePaddle/Paddle/badge.svg?branch=develop)](https://coveralls.io/github/PaddlePaddle/Paddle?branch=develop)
[![Release](https://img.shields.io/github/release/PaddlePaddle/Paddle.svg)](https://github.com/PaddlePaddle/Paddle/releases)
[![License](https://img.shields.io/badge/license-Apache%202-blue.svg)](LICENSE)
Expand Down Expand Up @@ -61,32 +61,32 @@ Please refer to our [release announcement](https://github.com/PaddlePaddle/Paddl
## Installation

It is recommended to check out the
[Docker installation guide](http://doc.paddlepaddle.org/develop/doc/getstarted/build_and_install/docker_install_en.html)
[Docker installation guide](http://www.paddlepaddle.org/docs/develop/documentation/en/getstarted/build_and_install/docker_install_en.html)
before looking into the
[build from source guide](http://doc.paddlepaddle.org/develop/doc/getstarted/build_and_install/build_from_source_en.html).
[build from source guide](http://www.paddlepaddle.org/docs/develop/documentation/en/getstarted/build_and_install/build_from_source_en.html).

## Documentation

We provide [English](http://doc.paddlepaddle.org/develop/doc/) and
[Chinese](http://doc.paddlepaddle.org/doc_cn/) documentation.
We provide [English](http://www.paddlepaddle.org/docs/develop/documentation/en/getstarted/index_en.html) and
[Chinese](http://www.paddlepaddle.org/docs/develop/documentation/zh/getstarted/index_cn.html) documentation.

- [Deep Learning 101](http://book.paddlepaddle.org/index.html)
- [Deep Learning 101](http://www.paddlepaddle.org/docs/develop/book/01.fit_a_line/index.html)

You might want to start from this online interactive book that can run in a Jupyter Notebook.

- [Distributed Training](http://doc.paddlepaddle.org/develop/doc/howto/usage/cluster/cluster_train_en.html)
- [Distributed Training](http://www.paddlepaddle.org/docs/develop/documentation/en/howto/usage/cluster/cluster_train_en.html)

You can run distributed training jobs on MPI clusters.

- [Distributed Training on Kubernetes](http://doc.paddlepaddle.org/develop/doc/howto/usage/k8s/k8s_en.html)
- [Distributed Training on Kubernetes](http://www.paddlepaddle.org/docs/develop/documentation/en/howto/usage/cluster/k8s_en.html)

You can also run distributed training jobs on Kubernetes clusters.

- [Python API](http://doc.paddlepaddle.org/develop/doc/api/index_en.html)
- [Python API](http://www.paddlepaddle.org/docs/develop/documentation/en/api/index_en.html)

Our new API enables much shorter programs.

- [How to Contribute](http://doc.paddlepaddle.org/develop/doc/howto/dev/contribute_to_paddle_en.html)
- [How to Contribute](http://www.paddlepaddle.org/docs/develop/documentation/en/howto/dev/contribute_to_paddle_en.html)

We appreciate your contributions!

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ function train() {
--test_period=100 \
--config_args=$args \
2>&1 | tee ${log}

avg_time=`tail ${log} -n 1 | awk -F ' ' '{print $8}' | sed 's/avg=//'`
fps=`awk 'BEGIN{printf "%.2f",('$bs' / '$avg_time' * 1000)}'`
echo "FPS: $fps images/sec" 2>&1 | tee -a ${log}
}

if [ ! -f "train.list" ]; then
Expand Down
62 changes: 62 additions & 0 deletions benchmark/paddle/image/run_openblas_infer.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
set -e

function clock_to_seconds() {
hours=`echo $1 | awk -F ':' '{print $1}'`
mins=`echo $1 | awk -F ':' '{print $2}'`
secs=`echo $1 | awk -F ':' '{print $3}'`
echo `awk 'BEGIN{printf "%.2f",('$secs' + '$mins' * 60 + '$hours' * 3600)}'`
}

function infer() {
unset OMP_NUM_THREADS MKL_NUM_THREADS OMP_DYNAMIC KMP_AFFINITY
topology=$1
layer_num=$2
bs=$3
thread=`nproc`
if [ $thread -gt $bs ]; then
thread=$bs
fi
log="logs/infer-${topology}-${layer_num}-${thread}openblas-${bs}.log"

models_in="models/${topology}-${layer_num}/pass-00000/"
if [ ! -d $models_in ]; then
echo "./run_mkl_infer.sh to save the model first"
exit 0
fi
log_period=$((256 / bs))
paddle train --job=test \
--config="${topology}.py" \
--use_gpu=False \
--trainer_count=$thread \
--log_period=$log_period \
--config_args="batch_size=${bs},layer_num=${layer_num},is_infer=True" \
--init_model_path=$models_in \
2>&1 | tee ${log}

# calculate the last 5 logs period time of 1280 samples,
# the time before are burning time.
start=`tail ${log} -n 7 | head -n 1 | awk -F ' ' '{print $2}' | xargs`
end=`tail ${log} -n 2 | head -n 1 | awk -F ' ' '{print $2}' | xargs`
start_sec=`clock_to_seconds $start`
end_sec=`clock_to_seconds $end`
fps=`awk 'BEGIN{printf "%.2f",(1280 / ('$end_sec' - '$start_sec'))}'`
echo "Last 1280 samples start: ${start}(${start_sec} sec), end: ${end}(${end_sec} sec;" >> ${log}
echo "FPS: $fps images/sec" 2>&1 | tee -a ${log}
}

if [ ! -f "train.list" ]; then
echo " " > train.list
fi
if [ ! -f "test.list" ]; then
echo " " > test.list
fi
if [ ! -d "logs" ]; then
mkdir logs
fi

# inference benchmark
for batchsize in 1 2 4 8 16; do
infer googlenet v1 $batchsize
infer resnet 50 $batchsize
infer vgg 19 $batchsize
done
39 changes: 39 additions & 0 deletions benchmark/paddle/image/run_openblas_train.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
set -e

function train() {
unset OMP_NUM_THREADS MKL_NUM_THREADS OMP_DYNAMIC KMP_AFFINITY
topology=$1
layer_num=$2
bs=$3
thread=`nproc`
# each trainer_count use only 1 core to avoid conflict
log="logs/train-${topology}-${layer_num}-${thread}openblas-${bs}.log"
args="batch_size=${bs},layer_num=${layer_num}"
config="${topology}.py"
paddle train --job=time \
--config=$config \
--use_gpu=False \
--trainer_count=$thread \
--log_period=10 \
--test_period=100 \
--config_args=$args \
2>&1 | tee ${log}

avg_time=`tail ${log} -n 1 | awk -F ' ' '{print $8}' | sed 's/avg=//'`
fps=`awk 'BEGIN{printf "%.2f",('$bs' / '$avg_time' * 1000)}'`
echo "FPS: $fps images/sec" 2>&1 | tee -a ${log}
}

if [ ! -f "train.list" ]; then
echo " " > train.list
fi
if [ ! -d "logs" ]; then
mkdir logs
fi

# training benchmark
for batchsize in 64 128 256; do
train vgg 19 $batchsize
train resnet 50 $batchsize
train googlenet v1 $batchsize
done
4 changes: 2 additions & 2 deletions cmake/external/protobuf.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -253,9 +253,9 @@ IF(NOT PROTOBUF_FOUND)
IF(WITH_C_API)
INSTALL(DIRECTORY ${PROTOBUF_INCLUDE_DIR} DESTINATION third_party/protobuf)
IF(ANDROID)
INSTALL(FILES ${PROTOBUF_LIBRARY} DESTINATION third_party/protobuf/lib/${ANDROID_ABI})
INSTALL(FILES ${PROTOBUF_LITE_LIBRARY} DESTINATION third_party/protobuf/lib/${ANDROID_ABI})
ELSE()
INSTALL(FILES ${PROTOBUF_LIBRARY} DESTINATION third_party/protobuf/lib)
INSTALL(FILES ${PROTOBUF_LITE_LIBRARY} DESTINATION third_party/protobuf/lib)
ENDIF()
ENDIF()

Expand Down
1 change: 1 addition & 0 deletions doc/api/index_cn.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ API
模型配置 <v2/model_configs.rst>
数据访问 <v2/data.rst>
训练与应用 <v2/run_logic.rst>
v2/fluid.rst
4 changes: 2 additions & 2 deletions doc/api/v2/config/layer.rst
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@ lambda_cost
:noindex:

square_error_cost
--------
-----------------
.. autoclass:: paddle.v2.layer.square_error_cost
:noindex:

Expand Down Expand Up @@ -533,7 +533,7 @@ Miscs
=====

dropout
--------------
--------
.. autoclass:: paddle.v2.layer.dropout
:noindex:

Expand Down
Loading