qiaolongfei
f485a9bc50
add auto gradient check design doc
9 years ago
Yiqun Liu
2e87d747bd
Merge pull request #3337 from tensor-tang/merge
...
Enable mkldnn_fc for general format
9 years ago
Yi Wang
2ca13944b6
Merge pull request #3378 from gangliao/proj_name
...
Rename PROJ_ROOT to PADDLE_SOURCE_DIR and PROJ_BINARY_ROOT to PADDLE_…
9 years ago
gangliao
be473a62eb
Merge pull request #3357 from jacquesqiao/python-test
...
support python test without installation python package
9 years ago
Yu Yang
7fab7ddd7d
Merge branch 'develop' of github.com:baidu/Paddle into feature/refactorize_framework_proto
9 years ago
qiaolongfei
3df8ee1ff7
use lib-python as python test dir
9 years ago
qingqing01
7202f425dd
Merge branch 'refactorize_framework_proto' into feature/refactorize_framework_proto
9 years ago
Yu Yang
3f34ff8f9f
Comment test_gaussian_random_op for hotfix
9 years ago
qiaolongfei
ba0221781f
Merge branch 'tttt' of https://github.com/gangliao/Paddle into python-test
9 years ago
qiaolongfei
c304e02813
fix py_padde test
9 years ago
dongzhihong
2ddb11222a
"on hold"
9 years ago
liaogang
7a56d46a8a
Rename PROJ_ROOT to PADDLE_SOURCE_DIR and PROJ_BINARY_ROOT to PADDLE_BINARY_DIR
9 years ago
caoying03
7ff689f55a
Merge branch 'develop' into add_sequence_slice_layer
9 years ago
dongzhihong
7c0cb0c790
"fix ci launch"
9 years ago
tensor-tang
b2bd67133a
rename and refine functions
9 years ago
dzhwinter
56faf51343
Merge pull request #3060 from dzhwinter/random_op
...
Random op
9 years ago
dongzhihong
68bfc3ff96
"add python test"
9 years ago
qingqing01
665e1a335b
Update grad_op_builder after refactoring framework proto.
9 years ago
liaogang
5e5c441245
Enable Python Unit Test before make install
9 years ago
dongzhihong
f702e7977d
"relauch ci"
9 years ago
qiaolongfei
e2ccbccb02
support python test without installation python package
9 years ago
Yu Yang
f0a85b0805
Rename __is_close -> assert_is_close()
9 years ago
Yu Yang
c957445c72
A better error message for gradient checker
...
* Give which parameter, which element are wrong. And what max_diff is.
9 years ago
dongzhihong
bbd7378b43
"ci job failed weired. restart ci job."
9 years ago
dongzhihong
6bac3e17b5
"remove unused test net modified"
9 years ago
tensor-tang
f6a940936b
remove unused comments, refine and rename
9 years ago
dongzhihong
d98e299d3b
"keep same with uniform random op"
9 years ago
dongzhihong
b7ee1e7d9c
"backward check todo"
9 years ago
dongzhihong
6535a7b001
Merge remote-tracking branch 'origin/develop' into random_op
9 years ago
tensor-tang
abc49f74af
Merge remote-tracking branch 'upstream/develop' into merge
9 years ago
tensor-tang
6373291c77
add test case use_mkldnn_wgt
9 years ago
Qiao Longfei
e31a469ee0
add gradient test framework ( #3226 )
...
* init grad op checker
* can run
* add GradeChecker class
* use get_numeric_gradient
* refine code
* add softmax and cross entropy auto grad test
* use close to judge op_grad and numeric_grad
* add cpu and gpu compare
* add comments
* add support_gpu
* fix allclose
* fix name error and symplify code
* optimize gradient checker
* add test_cross_entropy_op
* update gradient_checker.py
* optimize code
* use random.uniform instead of random.random
* fix type bug
* optimize check_grad
* put SupportGPU into OperatorBase
* typo
9 years ago
dongzhihong
23ac845921
Merge remote-tracking branch 'origin/develop' into random_op
9 years ago
superjom
e9a92e3ed8
add fc test
9 years ago
Yu Yang
6540701f39
Merge pull request #3293 from reyoung/feature/uniform_random_op
...
Add uniform random operator
9 years ago
caoying03
34ff75221f
Merge branch 'develop' into add_sequence_slice_layer
9 years ago
superjom
001b62a4c7
finish simple rnn in python
9 years ago
dongzhihong
8804b242d8
Merge remote-tracking branch 'origin/develop' into random_op
9 years ago
caoying03
92b2b1bd73
Merge branch 'develop' into kmax_score_layer
9 years ago
dongzhihong
52d2ebdaef
"test gaussian random in python side"
9 years ago
Yu Yang
174a3b3ec6
Merge branch 'develop' of github.com:baidu/Paddle into feature/uniform_random_op
9 years ago
Cao Ying
d9f97b023d
Merge pull request #3297 from lcy-seso/add_nest_sequence_select
...
Add a nest sequence select layer.
9 years ago
Yu Yang
b861c01963
Merge branch 'develop' into feature/uniform_random_op
9 years ago
fengjiayi
e7b3e13959
Rewrite test based on new python test format
9 years ago
fengjiayi
5d2b3fb09d
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into dev_add_FillZerosLikeOp_test
9 years ago
Yu Yang
ffd6c3cea6
Merge branch 'develop' into feature/change_op_creation
9 years ago
Yu Yang
e5847924f3
Merge branch 'develop' of github.com:baidu/Paddle into feature/uniform_random_op
9 years ago
caoying03
84627bb934
add config helper for sequence slice layer.
9 years ago
Qiao Longfei
493396d81c
add support_gpu ( #3304 )
...
* add support_gpu
* fix allclose
* fix name error and symplify code
9 years ago
caoying03
59a8ebc62a
Merge branch 'develop' into kmax_score_layer
9 years ago
武毅
36ac89b9c4
Put everything in paddle python wheel package enable pip install paddle ( #3102 )
...
* put everything in paddle wheel
* update
* update
* fix unitest
* with platform specs
9 years ago
caoying03
94686c5751
Merge branch 'develop' into add_nest_sequence_select
9 years ago
caoying03
98a83cd280
follow comments.
9 years ago
caoying03
42c102a0b3
follow comments.
9 years ago
dongzhihong
58561d8f56
Merge remote-tracking branch 'origin/develop' into random_op
9 years ago
Yu Yang
d7f0eb6baf
Merge branch 'feature/change_op_creation' into feature/uniform_random_op
9 years ago
Yu Yang
460326f4b2
Fix CI Test
9 years ago
Yi Wang
efa50a4525
Merge pull request #3181 from qingqing01/sigmoid_bp
...
Sigmoid backward implementation.
9 years ago
Yu Yang
9f816352e5
Follow comments
9 years ago
Yan Chunwei
7665bdba13
Rnn forward logic test ( #3291 )
...
* finish forward debug
9 years ago
Yu Yang
5d074c917c
Merge branch 'develop' into feature/change_op_creation
9 years ago
caoying03
ffafc5c911
fix the SubNestedSequenceLayer implementations.
9 years ago
gangliao
ec2c753c3d
Merge pull request #3290 from PaddlePaddle/cblas_new
...
Import HPC linear algebra libs as cblas target for cc_library deps
9 years ago
Yu Yang
fd0bdb4f8a
Merge branch 'feature/change_op_creation' into feature/uniform_random_op
9 years ago
dangqingqing
9f490c7748
update to develop branch.
9 years ago
liaogang
7ecdf6ad93
Add py_test
9 years ago
Yu Yang
e376bda42c
Add uniform random operator
...
It can be run both CPU/GPU. configure attributes are:
* min: the min value of uniform random
* max: the max value of uniform random
* dims: the dimension of output tensor
* seed: the random seed of uniform random. 0 means generate a seed each
time.
9 years ago
dangqingqing
f72cefabce
fix typo and resolve conflicts.
9 years ago
Yu Yang
a1e16bb5d3
Merge branch 'develop' into feature/change_op_creation
9 years ago
dongzhihong
2447c34a0e
merge origin/develop
9 years ago
Yan Chunwei
c72253127f
crossentropy grad op ( #3186 )
...
* init cross entropy graident
* add crossentropy grad op
* remove details
* fix static compile
9 years ago
Yu Yang
03a38b3d55
Merge pull request #3210 from reyoung/feature/fast_python_unittest
...
Faster Python unittest
9 years ago
QI JUN
10ee3dcbcf
Merge pull request #3248 from QiJune/refine_op_test_compare
...
use isclose instead of assert_almost_equal
9 years ago
Yu Yang
2a3de61785
Merge branch 'reformat-paddle-operators' into feature/fast_python_unittest
9 years ago
Yu Yang
b4ebb3c85c
Change attr_type_pb2 to attribute_pb2
...
Make ci pass
9 years ago
Yu Yang
329370e8ca
Merge branch 'develop' of github.com:baidu/Paddle into feature/fast_python_unittest
9 years ago
caoying03
89ea288c87
Merge branch 'develop' into kmax_score_layer
9 years ago
caoying03
83ce2dce5f
split sorting into another layer. fix config helper.
9 years ago
caoying03
00b6d26684
Merge branch 'develop' into add_nest_sequence_select
9 years ago
caoying03
927adb4a41
Merge branch 'develop' into kmax_score_layer
9 years ago
helinwang
ef8de51587
Merge pull request #3247 from Yancey1989/convert_all_dataset
...
convert dataset into recordio format
9 years ago
fengjiayi
9b0fce516a
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into dev_add_FillZerosLikeOp_test
9 years ago
qijun
dcdd2903fe
use isclose instead of assert_almost_equal
9 years ago
Yancey1989
cbabaa4544
convert dataset into recordio format
9 years ago
caoying03
855ae59d44
add KmaxSeqScoreLayer implementation.
9 years ago
dangqingqing
7fdfe1a9c7
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into unit_test
9 years ago
dangqingqing
c540aa040f
Refine unit test in op_test_util
9 years ago
Yu Yang
89d33ff83f
Complete chagne op creation method.
...
Currently use `Operator("fc", X="x", W='w1', B='b1')` as operator
creation method.
Fix #3198
9 years ago
Yu Yang
82f8304ff0
Merge branch 'feature/fast_python_unittest' into feature/change_op_creation
9 years ago
Yu Yang
a239418bdf
Fix unittest for operator.py
...
Rename operator.py to op.py because it is conflict with protobuf
9 years ago
Yu Yang
53f85df1ab
Start doing `python.framework.operator`
9 years ago
tensor-tang
3c3a11a0dc
add use_mkldnn flag
9 years ago
Yu Yang
36d40b1b70
Paddle needs numpy>=1.12
...
* because it uses `numpy.flip` in `test_image.py`
9 years ago
Yu Yang
aaf2d66db8
Merge branch 'develop' of github.com:baidu/Paddle into gradient_check_utils
9 years ago
fengjiayi
df84e39a00
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into dev_add_FillZerosLikeOp_test
9 years ago
Qiao Longfei
d953611e86
Softmax grad op ( #3164 )
...
* init softmax grad op
* add compute code
* export Backward to python
* update test ,export op.type to python
* update python test, fix compute bug
* update unit test
* use eigen
* optimize eigen code
* add gpu test
* register softmax_grad GPU kernel and fix test bug
* typo
* follow comments
9 years ago
caoying03
aa0ca57a6b
add unittest.
9 years ago
caoying03
567c1a1f65
add config functions for kmax_sequence_score layer.
9 years ago
dangqingqing
4eb25b4793
update code.
9 years ago
Yu Yang
133541ee41
Merge codes
9 years ago
Yu Yang
fbcadb75c6
Merge branch 'develop' of github.com:baidu/Paddle into gradient_check_utils
9 years ago
caoying03
6e291b34c3
Merge branch 'develop' into add_nest_sequence_select
9 years ago
Guo Sheng
0c181c6387
Merge pull request #3112 from guoshengCS/add-ClipLayer
...
Add ClipLayer
9 years ago
fengjiayi
589c3d864b
Rewirte test based on python test frameworks
9 years ago
Qiao Longfei
cc6c33b8b2
export Backward to python ( #3174 )
...
* export Backward to python
9 years ago
Guo Sheng
b7b956f0ba
Merge branch 'develop' into add-ClipLayer
9 years ago
Guo Sheng
5cb29a8fbf
Merge pull request #3083 from guoshengCS/add-L2NormLayer
...
add RowL2NormLayer
9 years ago
dangqingqing
bd01cea1f3
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into sigmoid_bp
9 years ago
dangqingqing
0560733c2e
Add sigmoid backward implenmention.
9 years ago
guosheng
5d644994d3
Add test_clip_layer.protostr for ClipLayer python unit test
9 years ago
guosheng
3fe9e48f36
Merge branch 'develop' of https://github.com/PaddlePaddle/paddle into add-L2NormLayer
9 years ago
guosheng
17e16c2548
Refine RowL2NormLayer and add python unit test for it
9 years ago
caoying03
d3e30146e4
Merge branch 'develop' into add_nest_sequence_select
9 years ago
caoying03
4b39f92bd8
add implementation of SubNestedSequenceLayer.
9 years ago
Yu Yang
3e812383bc
Merge branch 'develop' of github.com:baidu/Paddle into gradient_check_utils
9 years ago
Yu Yang
a0590004ce
Add __all__ in `gradient_checker.py`
9 years ago
qijun
341d1880ee
Merge remote-tracking branch 'baidu/develop' into op_gpu_test
9 years ago
Yu Yang
fcc28ccea2
Add comments
9 years ago
Yu Yang
7c42aad412
Initialize Gradient Checker
...
Add get_numeric_gradient API and its unittest.
9 years ago
guosheng
82911cecb6
Merge branch 'develop' of https://github.com/PaddlePaddle/paddle into add-ClipLayer
9 years ago
guosheng
d19355a532
Refine ClipLayer and add unit test for it
9 years ago
qijun
81cc7a3227
merge baidu/develop
9 years ago
fengjiayi
244c343b66
Fix a test error
9 years ago
fengjiayi
3a8017d148
Merge branch 'backward_dev' into dev_add_FillZerosLikeOp_test
9 years ago
fengjiayi
c59fe7a039
Add unittest for FillZerosLikeOp
9 years ago
fengjiayi
8bd73159c7
Add unittest for `FillZerosLikeOp`
9 years ago
liaogang
c36a093c5e
Fix conflict
9 years ago
Yancey
ec9d4d527e
Add start_record interface ( #3128 )
...
* add start_record interface
* call master client in reader
* update
* add demo code in comments
* update comments
* delete unittest for recordio reader
9 years ago
hedaoyuan
aaf8401fa0
Merge pull request #3126 from hedaoyuan/slice
...
Slice Layer
9 years ago
guosheng
f35e08471c
revise the format of __all__ in layers.py
9 years ago
liaogang
1e676f684d
Add mean op unit test in python
9 years ago
Yu Yang
5d134a03f1
Refine remove std::shared_ptr in Scope
...
* Make interface of Operator to `const Scope&`
9 years ago
hedaoyuan
46988517f2
Fix a small bug.
9 years ago
hedaoyuan
4b1bc6815e
Fix comments of slice_projection, and add unit test of SliceProjection.
9 years ago
hedaoyuan
dc9f31b32b
Add SliceProjection and slice_projection.
9 years ago
qijun
cf5ac5888e
reduce gpu memory allocation in op_test
9 years ago
qijun
61f94f0002
add EIGEN_USE_GPU macro to op.cu file
9 years ago
caoying03
c0ecd5c4c5
add config helper.
9 years ago
qijun
4a1f7bd21f
add gpu python op test
9 years ago
qijun
4cc42171db
merge baidu/develop
9 years ago
dongzhihong
933e55eb06
fix conflict
9 years ago
guosheng
23a8d015e0
add ClipLayer
9 years ago
dongzhihong
47556689d4
"remove unused code"
9 years ago
dongzhihong
4d8ece8a3c
"update"
9 years ago
Yan Chunwei
aee0d3ec5f
RecurrentOp implementation ( #2890 )
...
* add rnn op interfaces
* add Run
* rename state -> memory
* change state -> memory
* make compilable
* add .cc
* init test
* add op fake implementation
* add CreateStepNet and CreateScopes implementation.
* add TODO list
* init memory attributes.
* add LinkMemories
* add PlainNet fake implementation
* Use std::shared_ptr<Scope> in the OpRunContext.
* add test
* disable mutable_data
* finist segmentInput function
* enable mutable_data with a trick
* RNNOp test.
* enable LinkMemories with mutable_data
* update SegmentInput function with comments
* finish ConcatOutput function
* reformat inputs and attributes
boot_memories
* Refine unit test.
* Refine unit test.
* modify inlinks.
* add OpDesc to Net
* fix bug and update unit test.
* move step scopes from inputs to outputs
* fix merge conflict, update SegmentInput function
* add RecurrentOpProtoAndCheckerMaker.
* clean the codes
* Abstract GetStepScopes and GetMaxSeqLen function
* refine LinkMemories
* Refine code and add some comments.
* add backward core
* update for develop branch.
* add forward core
* add forward algorithm
* Add RecurrentGradientAlgorithm implenmention.
* use CopyFrom and Slice function in RecurrentOp
* add unit test for LinkMemories.
* fix unit test.
* use the latest tensor.h, solve conflict
* add maker
* move SegmentInput and ConcatOutput to details nameplace
* unit test for RecurrentGradientAlgorithm.
* apply OperatorBase
* apply net operator.
* move memorys to attributes
* add RecurrentGradientOp
* open test unit test in recurrent_network_op_test.
* revert some files.
* add RecurrentArgument and Link struct to simplify member variable.
* rename.
* move recurrent_op from framework to operators
* add RecurrentGradientOp Init
* fix name
* fix Link.interal/external name
* use namespace operators instead of framework
* clean the code
* use the latest add_op and mul_op, don't test backward now
* Remove ScopePtr and OperatorPtr
* add get_net to pybind
* add test_recurrent_op.py
* add random into gen_tensor
* update to develop branch and refine some code.
* add some comments.
9 years ago
guosheng
84660653f8
add RowL2NormLayer
9 years ago
Cao Ying
2200ff5e3c
Merge pull request #3071 from lcy-seso/enable_dropout_for_embedding
...
fix dropout and clipping settings in layer helpers.
9 years ago
caoying03
8b9e678ddf
fix dropout and clipping setttings in layer helpers.
9 years ago
qingqing01
44923db6ee
Merge pull request #3082 from qingqing01/multi_gpu_infer
...
Fix bug for multi-GPU inference.
9 years ago
武毅
c10121e13c
[Done] Sync master client between passes and fix recordio split ( #2948 )
...
* fix recordio split and task passes
* update for pre commit
* update
* update, still need to sync client wait for pass end.
* able to sync passes for task dispatching
* update to comment
* update
* fix yapf check
* why local pre-commit fails? version is the same
* fix race condition
* update
* fix race condition
* this still have duplicate problem in unit test
* update
* update
* update by comment
* update
9 years ago
dangqingqing
7c13292cff
Fix bug for multi-GPU inference.
9 years ago
Cao Ying
eff17a6859
Merge pull request #3049 from lcy-seso/fix_v2_bachnorm_parse
...
enable v2 automatically sets using cudnn-batch norm.
9 years ago
caoying03
ccdc262848
enable v2 use cudnn batch norm automatically.
9 years ago
dongzhihong
e5cb9b77b6
"fix gen list"
9 years ago
dongzhihong
a22567ebef
"fix almost equal error"
9 years ago
dongzhihong
984225ecf1
"fix operator"
9 years ago
qijun
358261f0bd
fix gpu build error
9 years ago
Yu Yang
afe7bf6179
Merge pull request #3032 from reyoung/feature/middle_level_net_api
...
Feature/middle level net api
9 years ago
Yu Yang
61cd828f3a
Follow comments
9 years ago
Yu Yang
754f0c68da
Fix unittest
9 years ago
dongzhihong
32c15a2919
"random op test"
9 years ago
Yu Yang
385bd4648e
Make C lib in `paddle.v2.master.client` lazy load
...
Currently, WITH_GOLANG is a compiling flag, and not all Paddle binary
enable `WITH_GOLANG=ON`. So we cannot ensure that every paddle has
`master.so`. Make load that C libary lazily could let the user run
Paddle without `WITH_GOLANG=ON`.
9 years ago
Yu Yang
b80590d70b
Remove test_plain_net
9 years ago
Zhaolong Xing
0d26a15890
Merge pull request #3009 from NHZlX/add_paramAttr
...
add param_attr parameter for img_conv_groups(...) in /python/trainer_config_helpers/networks.py
9 years ago
Yu Yang
0467cd2dfe
Merge branch 'develop' into feature/middle_level_net_api
9 years ago
Helin Wang
3ff0a9fbb1
Implement distributed training save model, improve master.NewClient interface
9 years ago
Yu Yang
0ceeacbe45
Make Scope can lookup variable name by variable
...
* Refine unittest also
9 years ago
Yu Yang
0ab678e9e2
Add unittest for network
9 years ago
Yu Yang
c14f3e8ff2
Merge branch 'develop' into feature/middle_level_net_api
9 years ago
Yu Yang
9e4fac1ef4
Complete Add Op
9 years ago
Yu Yang
684563660b
Init commit
9 years ago
zlx
a59fa46c1f
Merge branch 'add_paramAttr' of https://github.com/NHZlX/Paddle into add_paramAttr
9 years ago
zlx
86d692e56b
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into add_paramAttr
9 years ago
zlx
18f4d24d0d
moidify comment of im_conv_group
9 years ago
Yu Yang
1294b3c53e
Expose Net to Python ( #2967 )
...
* Expose Net to Python
* Expose PlainNet to Python, make python can add_op, complete_add_op
* Provide a low level api to manipulate Net
* Unittest for Net::DebugString
9 years ago
Zhaolong Xing
5f32cc10c2
Update networks.py
...
modify the format
9 years ago
Zhaolong Xing
91d2a57a2e
Merge pull request #2776 from NHZlX/mobilenet_gpu
...
Mobilenet gpu implementation
9 years ago
zlx
21a3c9d6f4
add the comments for img_conv_groups
9 years ago
zlx
fae3632c91
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into add_paramAttr
9 years ago
zlx
a183a80e2e
add param_attr for img_conv_group(...)
9 years ago
qijun
06acd6d0cb
add unittest for some basic OpKernels
9 years ago
Qiao Longfei
2685765905
add cross-entropy-op ( #2965 )
...
* add cross-entropy-op
* add infershape and compute
* implement Infershape and compute of onehotcrossentropy op
9 years ago
xzl
d5b0c57d7e
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into mobilenet_gpu
9 years ago
Cao Ying
6a6e1c7407
Merge pull request #2944 from lcy-seso/fix_recurrent_parse_bug
...
fix recurrent_group parsing bug.
9 years ago
caoying03
1b6faffeb5
Merge branch 'develop' into fix_recurrent_parse_bug
9 years ago
livc
ea09edc991
pass precommit
9 years ago
wanghaoshuang
ec236f4624
fix code format
9 years ago
xzl
4d6be9741c
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into mobilenet_gpu
9 years ago
Yu Yang
a98346f4cd
Add comment to `OpTestMeta` ( #2968 )
9 years ago
Qiao Longfei
e3b27d1998
Add sgd op ( #2950 )
...
* a simplest SGD op
9 years ago
xzl
77ff97ab38
fuse interface of depthwise to expand in python api
9 years ago
whs
2e2a674892
Merge pull request #2490 from wanghaoshuang/crop_layer
...
add crop layer
9 years ago
Yu Yang
21baa94b04
Merge branch 'feature/expose_net_op' into feature/middle_level_net_api
9 years ago
Yu Yang
d52913401d
Merge pull request #2947 from reyoung/feature/add_op_test
...
Feature/add op test
9 years ago
Yu Yang
0380bfb3cf
Expose Net to Python
...
* Expose PlainNet to Python, make python can add_op, complete_add_op
* Provide a low level api to manipulate Net
* Unittest for Net::DebugString
9 years ago
wanghaoshuang
a6c53fc2fc
fix python wrapper bugs
9 years ago
Yu Yang
e8304bd92a
Merge pull request #2945 from reyoung/feature/grouped_ops
...
Skeleton Of fully connected operator
9 years ago
wanghaoshuang
2e58f2c4c9
Merge branch 'crop_layer' of https://github.com/wanghaoshuang/Paddle into crop_layer
9 years ago
wanghaoshuang
60a788933b
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into crop_layer
9 years ago
whs
d83bae85da
Merge branch 'develop' into crop_layer
9 years ago
wanghaoshuang
3e7819c276
1. Reading image shape from input data instead of image_config
...
2. Add crop layer unitest
3. Fix bugs
9 years ago
wanghaoshuang
e8ee07f31f
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into pixel_softmax_layer
9 years ago
wanghaoshuang
1cdf149b6f
1. delete PixelSoftmaxLayer and add SwitchOrderLayer
...
2. Make SwitchOrderLayer support for softmax activation
3. Fix bugs
9 years ago
xzl
d50c71f3e2
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into mobilenet_gpu
9 years ago
qingqing01
c1ebb3143f
Merge pull request #2785 from wanghaoshuang/voc_dataset
...
Add voc2012 dataset for image segment
9 years ago
emailweixu
84a0d6d898
Merge pull request #2572 from skylian/error_clipping
...
Enable error clipping for fc layer
9 years ago
xzl
44927bf70a
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into mobilenet_gpu
9 years ago
xzl
d43fbbae74
add comments for python api
9 years ago
Yu Yang
3402b6ad39
Add Unittest of add_two_op
9 years ago
Yu Yang
d3373c5b85
Skeleton Of fully connected operator
...
* Fc operator is a grouped operator, which combined by may internal
operators.
* InferShape & Run a FC operator in Python.
9 years ago
Yu Yang
a89c7ffa94
Make Tensor <--> Numpy interactive in tensor.h
...
* Follow review comments to seperate Tensor Numpy interactive methods in
tensor.h.
* Simplify logic for `CastToPyBufferImpl`, make it as one struct and in
details namespace.
* Remove `Scope` expose in Python, since it currently is useless.
* Remove some debug functions.
9 years ago
wanghaoshuang
ceb9a73aaa
fix import err
9 years ago
wanghaoshuang
b142a6b063
Merge branch 'develop' of https://github.com/paddlepaddle/paddle into voc_dataset
9 years ago
wanghaoshuang
302c4f11d1
rename voc_seg to voc2012
9 years ago
Yu Yang
bde90be71b
Read/Write a Tensor Python
...
Basically following
http://pybind11.readthedocs.io/en/stable/advanced/pycpp/numpy.html
* Use buffer protocol to return a view of Tensor. It can be cast to
numpy array in Python.
* Set a numpy array to a tensor.
9 years ago
caoying03
0ed51ce2e4
fix bug of type check of inputs to recurrent_group.
9 years ago
Yu Yang
c78a5e5da2
Fix merge error before
9 years ago
Yu Yang
68f6ac011c
Merge branch 'develop' into feature/op_creation_methods
9 years ago
Yancey
83f263e6ec
Fix fetch record from master failed ( #2848 )
...
Fix fetch record from master
9 years ago
qingqing01
1032ef1893
Merge pull request #2907 from juliecbd/to_meet_cpplint
...
Change to meet cpplint style
9 years ago
dzhwinter
9b5adfa482
Merge pull request #2905 from dzhwinter/fix_mq2007
...
"fix dense vector shape in mq2007"
9 years ago
武毅
23b8346072
Fault tolerant distributed training, just work version, with etcd ( #2849 )
...
* using etcd as fault tolerant training
* update
* workable version, ft not tested
* small fix
* update
* remove TODO
9 years ago
jc
278f1a8499
fix calling swig_api before import
9 years ago
jc
02e56304c1
fix calling swig_api before import
9 years ago
dongzhihong
56fbed9a42
"fix dense vector shape in mq2007"
9 years ago
Yu Yang
9e0c6800c5
Python Generate OpCreation Methods by OpProto
...
All OpCreation method are generated by
`create_op_creation_methods::__bootstrap__` method, and stores in
`op_creations` object and its methods.
There are three parts to implement this feature.
1. Get all registered `OpProto` from C++ side. It is implemented in
`get_all_op_protos` method.
1. Create a function to convert `kwargs` to `OpDesc` base on each op's
`OpProto`. The `OpDescCreationMethod` class.
1. Convert `OpProto` to `docstring` by `get_docstring_from_op_proto`
method.
All three methods are unit tested. The `__bootstrap__` just combines
them together and create a method in runtime.
For details, please reference the doc string in
`create_op_creation_methods.py` and the unit test
`test_op_creation_methods.py`.
9 years ago
Yu Yang
1faf5e0313
Merge pull request #2864 from reyoung/feature/op_creation_methods
...
Get OpProtos in Python
9 years ago
Yu Yang
d7405e1eaa
Fix a typo before
9 years ago
caoying03
e2fd06c386
refine name of the input parameter.
9 years ago
caoying03
ac69f7730a
add gated linear unit into config helper.
9 years ago
Yu Yang
a76f7ed2eb
Get OpProtos in Python
...
* PyBind and SWIG of paddle cannot be load in a single Python process,
lazy import all SWIG library of Paddle. Otherwise, the glog, gflags
are imported twice in a same Python process.
* Note that all PyBind11 return C++ std::string as an unicode. For
protobuf, it is need be cast to `str` before use them.
* Add unit test for Get `OpProtos`
9 years ago
Yu Yang
8da5587205
Init commit
9 years ago
xzl
6267312aa9
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into mobilenet_gpu
9 years ago
Yu Yang
3c5cc6444c
Merge pull request #2808 from reyoung/feature/scope_default_wrapper
...
Default scope function
9 years ago
wanghaoshuang
4a5c3714ea
fix python dependency for voc2012 dataset
9 years ago
xzl
030a3db20f
the groups default should be None
9 years ago
xzl
2bc08f8914
modify format accored with clang-format 3.8
9 years ago
xzl
433935aa51
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into mobilenet_gpu
9 years ago
wanghaoshuang
1ba879bead
Use PIL to read image in palette mode
9 years ago
wanghaoshuang
c4f301ded7
Modify comments and fix code format.
9 years ago
wanghaoshuang
a5239ac7a5
Merge branch 'develop' of https://github.com/paddlepaddle/paddle into voc_dataset
9 years ago
武毅
bcf9f421c3
Merge pull request #2774 from typhoonzero/fix_newupdater
...
Fix new remote updater for go pserver
9 years ago
Yu Yang
d027f47d7d
Default scope function
...
`Paddle` manages Scope as programming language's scope. It just a
thread-local stack of Scope. Top of that stack is current scope, the
bottom of that stack is all scopes' parent.
Invoking `create_var/get_var` can `create/get` variable in current
scope. Invoking `enter_local_scope/leave_local_scope` can create or
destroy local scope.
A `scoped_function` will take a `function` as input. That function will
be invoked in a new local scope.
9 years ago
Yu Yang
27b196ba6d
Expose paddle.framework by pybind11 ( #2793 )
...
* Expose paddle.framework by pybind11
* Export paddle.framework.{Scope, Variable} to paddle.v2.framework.core.
* See python/paddle/v2/framework/tests/test_scope.py for Python usage
* See paddle/pybind/pybind.cc for C++ bind code.
* add copyright
9 years ago
Yu Yang
62da4a1cde
Merge pull request #2802 from reyoung/feature/fix_python_slow
...
Fix slow parsing a recursive depends topology
9 years ago
Yu Yang
313e9f551f
Fix slow parsing a recursive depends topology
...
* Fix #2797
* It because trainer_config_helpers' __dfs_travel__ did not record the
node which travelled, and if the topology has a recursive dependency,
there are some nodes will be travelled multiple times.
* Add a `travelled` set to record which node is travelled.
* Also add a unittest for this situation.
9 years ago
wanghaoshuang
475dd708b9
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into pixel_softmax_layer
9 years ago
wanghaoshuang
0152d97e63
fix pixel softmax python wrapper bug
9 years ago
wanghaoshuang
de5ded6bbd
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into crop_layer
9 years ago
wanghaoshuang
69b12225cc
fix crop layer python wrapper bug
9 years ago
yi.wu
5a4f33df7e
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into fix_newupdater
9 years ago
Cao Ying
8c615e8ff4
Merge pull request #2783 from lcy-seso/update_wmt14_model_md5
...
update the md5sum of WMT14 trained model.
9 years ago
xzl
e92f002178
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into mobilenet_gpu
9 years ago
caoying03
68ec558c21
update the md5sum of WMT14 trained model.
9 years ago
whs
a698824a8a
Merge branch 'develop' into voc_dataset
9 years ago
wanghaoshuang
3aa679814f
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into pixel_softmax_layer
9 years ago
wanghaoshuang
29f25fbe03
Add pixel softmax layer for FCN model
...
1. Add switch function for switching image dimensions order
2. Add CpuMatrix::backwardSoftmax function
3. Add pixel softmax layer, python wrapper and grad_test
9 years ago
wanghaoshuang
338dd13542
Add voc2012 dataset for image segment
9 years ago
emailweixu
bc3685251e
Merge pull request #2772 from emailweixu/fix_build
...
Fix paddle build when it's a subdirectory of another project
9 years ago
xzl
36e7800aa1
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into mobilenet_gpu
9 years ago
wuyi05
26d95a6bbf
fix new remote updater for go pserver
9 years ago
xuwei06
f7fa9f6725
Fix paddle build when it's a subdirectory of another project
9 years ago
xuwei06
cbc6221748
Update comments of maxout_layer
9 years ago
gongweibao
8e8f3601a5
Merge pull request #2665 from gongweibao/cloudandlocal
...
Recordio cloud and local interface
9 years ago
gongweibao
126e64fc83
add cmake
9 years ago
gongweibao
660475b5ab
modify to add paddle_master name
9 years ago
gongweibao
f2a82b16a2
add print messages
9 years ago
caoying03
075954c17c
follow comment.
9 years ago
caoying03
dc60671127
Merge branch 'develop' into enable_error_clipping_for_fc
9 years ago
caoying03
203364281e
enable error clipping in FC layer.
9 years ago
Yu Yang
e2ea1f42e9
Generate python protobufs for paddle.v2.framework
...
Python should be able to manipulate Protobuf message because:
1. Python's `create_op_creation_methods` take the `OpProto` array to
generate all `op_creation_methods` in RunTime.
2. All `op_creation_methods` will create an `OpDesc` and pass it to
Paddle C++ method `CreateOp` and return the Op handle.
Here is the list of what is added in this commit:
* Add `protobuf_generate_python` if it is not defined.
* Before cmake 3.4, `protobuf_generate_python` is not defined. Just
copy the implementation of that function in `protobuf.cmake`
* Add `py_proto_compile` function in `cmake/generic.cmake`.
* It follows bazel's API interface.
* https://github.com/pubref/rules_protobuf#rules
* Add an empty package named `paddle.v2.framework`, all python code of
`paddle::framework` will be in that package.
* Generate protobuf's python module `__init__.py` by `touch` while
compiling.
* Change setup.py.in, make `paddle.v2.framework.proto` uses the
generated protobuf pythons.
9 years ago
gongweibao
24dc0d1c7c
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into cloudandlocal
9 years ago
wanghaoshuang
d378e0a0cd
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into crop_layer
9 years ago
Tao Luo
7f380c1be3
Merge pull request #2701 from luotao1/stride
...
stride pooling for max and average layer
9 years ago
Luo Tao
e7b071f33a
update annotation with comments
9 years ago
wanghaoshuang
5e6e1f636a
Add grad test and python wrapper for crop layer
9 years ago
Yang yaming
312ce8b419
Merge pull request #2497 from pkuyym/ssd_outloss
...
Add DetectionOutputLayer and MultiBoxLossLayer.
9 years ago
zlx
211f83fa22
set depthwise conv layer interface in python
9 years ago
yangyaming
86543f7f6a
Follow comments.
9 years ago
gongweibao
421d9f12a3
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into cloudandlocal
9 years ago
Luo Tao
b02c453d02
Merge branch 'develop' into stride
9 years ago
gongweibao
e12d7269ff
fix by helin's comments
9 years ago
Luo Tao
0e61730039
stride pooling for max and average layer
9 years ago
gongweibao
26e661bc51
fix by helin's comments
9 years ago
gongweibao
af5ac2c474
merge with upstream develop
9 years ago
dongzhihong
1d4f02ccd9
Merge remote-tracking branch 'origin/develop' into go_optimizer
9 years ago
Zhaolong Xing
03fd5f6b2e
Merge pull request #2686 from qingqing01/row_conv_fix
...
Fix bug for flowers dataset and row_conv.
9 years ago
dongzhihong
260427d2df
"fix copy go master lib2python"
9 years ago
dangqingqing
0925681543
fix typo.
9 years ago
dangqingqing
6a7f1212f5
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into row_conv_fix
9 years ago
dangqingqing
e287034d73
minus mean in flowers dataset.
9 years ago
dangqingqing
0c70f34c60
Fix bug for flowers dataset and row_conv.
9 years ago
dzhwinter
c38331315f
Merge branch 'develop' into go_optimizer
9 years ago
helinwang
fae606fc96
Merge pull request #2659 from helinwang/cmake
...
Improve Go cmake, add go/master/c into cmake include path..
9 years ago
dzhwinter
36f8b84809
Merge branch 'develop' into go_optimizer
9 years ago
gongweibao
b3c5808e13
rm cloud EOF
9 years ago
gongweibao
5b2f9939c2
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into fixdownloadbug
9 years ago
Helin Wang
59cf5e7796
Fix Go cmake
9 years ago
yangyaming
3a0919bab3
Add test for configuration and add doc.
9 years ago
gongweibao
b79784ee9e
fix bugs
9 years ago
gongweibao
0fa409246b
fix bugs
9 years ago
Cao Ying
d011514e5f
Merge pull request #2641 from lcy-seso/enable_boot_memory_for_lstm
...
enable users to set intial memory states for lstm/gru group.
9 years ago
caoying03
5c68aacad1
follow comments.
9 years ago
caoying03
b0ad9c9074
enable intializing memory state for lstmemory_group.
9 years ago
yangyaming
b5ab4b69bc
Follow comments, mainly use std::copy to simplify logic.
9 years ago
qingqing01
aaee28bf63
Merge pull request #2664 from qingqing01/from_tar
...
Init partial network parameters from another saved model.
9 years ago
dangqingqing
23d6c594ec
add comments
9 years ago
gongweibao
4874810ba5
fix bugs
9 years ago
dangqingqing
11a8dfe78e
Use Parameters.from_tar for static method.
9 years ago
gongweibao
48fdfd5a03
fix bugs
9 years ago
gongweibao
fc3d031425
first add
9 years ago
dangqingqing
c9865824a7
Support to init partial network parameters from the tar file.
9 years ago
wanghaoshuang
01f44bff66
rename args and add comments
...
1. rename 'useXmap' to 'use_xmap'
2. add comments about exchanging train data and test data
9 years ago
wanghaoshuang
fc5972ba2c
fix requirement config for flowers dataset
9 years ago
wanghaoshuang
80642bee00
fix_xmap and refine flowers dataset
9 years ago
gongweibao
a489a54de0
fix style
9 years ago
gongweibao
0990b0a5d4
add testdata
9 years ago
gongweibao
e4c7d8cc2b
Merge branch 'develop' into recordio
9 years ago
gongweibao
9cee78c380
fix precommit
9 years ago
gongweibao
4323712431
Merge pull request #2608 from gongweibao/convertdataset
...
Add convert to recordio function
9 years ago
Your Name
b9d015cbc4
rm not need
9 years ago
Your Name
a243bdfbcf
rm not need
9 years ago
Your Name
e915aa9cf1
fix bugs
9 years ago
root
97270b9f27
add convert function
9 years ago
gongweibao
ae79b9ac1c
restore
9 years ago
gongweibao
90c909ac7c
restore creator_test.py
9 years ago
gongweibao
b359d5c5cd
restore creator.py
9 years ago
gongweibao
8c735c8b09
add dependy
9 years ago
lianxiaochen
5e87e27c75
fix error clipping
9 years ago
gongweibao
9f9058ac49
Merge remote-tracking branch 'upstream/develop' into develop
9 years ago
zlx
1d6b859549
modity topo
9 years ago
zlx
561c4562cf
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into improve_pruning
9 years ago
zlx
fdde4eff0d
modify some topo
9 years ago
Peng LI
08d0b1d9ac
Merge pull request #2576 from pengli09/cls_cost_coeff
...
add coeff parameter to classification_cost
9 years ago
Yang yaming
f551c271af
Merge pull request #2467 from pkuyym/ssd_map
...
Add DetectionMAPEvaluator
9 years ago
Peng Li
7cf640b58d
add coeff parameter to classification_cost
9 years ago
gongweibao
8d47690132
Merge remote-tracking branch 'upstream/develop' into develop
9 years ago
Cao Ying
6fa84d40f4
Merge pull request #2521 from emailweixu/fix_rnn_gen
...
Fix bugs for rnn generation.
9 years ago
dzhwinter
1f217f0ab3
"add c testing, python testing TODO"
9 years ago
zlx
43771ad41d
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into improve_pruning
9 years ago
gongweibao
0adb9e01e9
fix bugs
9 years ago
gongweibao
8bffa4a72f
fix bugs
9 years ago
Yi Wang
65aa894142
Merge pull request #2540 from wangkuiyi/check_for_existence_of_data_home
...
Handle multiple processes trying to create the data home directory
9 years ago
wanghaoshuang
d322c94243
fix unittest
9 years ago
wanghaoshuang
cadea35a10
format code
9 years ago
wanghaoshuang
09cc4408e5
modified xmap reader to process sample by order
9 years ago
gongweibao
dbfe58ca47
add local recordio reader interface
9 years ago
zlx
1eab8cce32
modify the annotations of HookAttribute, Variable declaration
9 years ago
zlx
15bf6e05b5
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into improve_pruning
9 years ago
Yi Wang
ff4be82252
Handle multiple processes trying to create the data home directory
9 years ago
Helin Wang
936ac658c0
Fix unit test error: File exists: /root/.cache/paddle/dataset
9 years ago
乔龙飞
d051c2b183
Merge pull request #2530 from jacquesqiao/fix-go
...
Add WITH_GOLANG to control the link of go lib
9 years ago
qiaolongfei
b101aaca0a
disable go master
9 years ago
qiaolongfei
4c4b689f6a
disable go master
9 years ago
qiaolongfei
d9aac1e13d
add WITH_Go to disable compile go to paddle
9 years ago
xuwei06
3438d650ed
Fix bugs for rnn generation
...
1. v2.layer.parse_network does not correctly handle the generation output.
2. GatherAgentLayer does not correctly handle generation output when batch_size > 1
3. Fix CustomStackTrace for rnn group
9 years ago
xuwei06
61222578b4
Allow printer layer to print user provided message
...
For example:
layer.printer(input=[x, y], format="x=%s y=%s")
9 years ago
qingqing01
8266546eb2
Merge pull request #2480 from emailweixu/repeat_layer
...
Repeat layer for column vector
9 years ago
emailweixu
09f34c4b1f
Merge pull request #2479 from emailweixu/mixed_input_rnn
...
RecurrentGroup with mixed input sequence types
9 years ago
xuwei06
f48535102b
Add the test_repeat_layer.py
9 years ago
zlx
1a82e7da9e
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into improve_pruning
9 years ago
yangyaming
5f924d5d53
Follow comments.
9 years ago
helinwang
1a12720bb2
Merge pull request #2468 from helinwang/master_dispatch
...
Implement master client for reading training tasks
9 years ago
yangyaming
65969dad64
Add DetectionOutputLayer and MultiBoxLossLayer.
9 years ago
Helin Wang
4b6243c136
fix cmake format
9 years ago
Helin Wang
8742441fc0
integrate master Python lib with cmake
9 years ago
xuwei06
226f810352
Add activiation for repeat_layer
...
Also remove active_type argument for many layers in config_parser.py because it is automatically
handled by LayerBase.
9 years ago
xuwei06
ef61288f9e
Clean-up recurrent group related python code
...
No longer need to specify target_inlinks or is_seq.
9 years ago
zlx
fc9e3e4bda
explain the sparsity ratio
9 years ago
xuwei06
fc0ad9048a
Repeat layer for column vector
9 years ago
xuwei06
17994e38aa
RecurrentGroup with mixed input sequence types
...
No longer need to use SubsequenceInput. The framework will detect.
9 years ago
yangyaming
2207659250
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into ssd_map
9 years ago
zlx
6248e566f9
merge from remote
9 years ago
xuwei06
dd2cbb63bf
Parameter initializer in V2 API
...
User can provide an initializer in ParamAttr. The initializer will be called when at parameters.create().
9 years ago
xzl
23b1a27483
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into improve_pruning
9 years ago
xzl
997cef2e63
tiny modify
9 years ago
qiaolongfei
8941a38514
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into newparameterupdater
9 years ago
yangyaming
597a58c3ef
Add DetectionMAPEvaluator.
9 years ago
gongweibao
46ccfc0171
Merge branch 'develop', remote-tracking branch 'upstream/develop' into convert
9 years ago
gongweibao
77c4dce759
modify 10000 to 1000
9 years ago
xzl
97a2fde995
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into improve_pruning
9 years ago
qingqing01
6bc9277503
Merge branch 'develop' into row_conv
9 years ago
caoying03
892b1f9ff6
Merge branch 'develop' into fix_config_parsing_bug
9 years ago
gongweibao
283bdc5062
fix by helin's comments
9 years ago
dangqingqing
f18d83f3c4
follow comments
9 years ago
dangqingqing
37015fadbd
update code
9 years ago
Cao Ying
a3123e210c
Merge pull request #2412 from lcy-seso/add_config_helper_for_prelu
...
add configuration helper for prelu layer.
9 years ago
caoying03
996614814d
follow comments and refine doc.
9 years ago
caoying03
50764480c1
follow comments.
9 years ago
caoying03
c7483bf956
add configuration helper for prelu layer.
9 years ago
caoying03
2f4e968b81
follow comments.
9 years ago
qiaolongfei
99dc60642d
new parameterupdater use paddle pserver cclient of go
9 years ago
Luo Tao
5bab98a3c5
remove top_k argument in classification_cost
9 years ago
gongweibao
9011f9e52c
add precommit
9 years ago
caoying03
35332a22aa
add eos layer as an extra parent.
9 years ago
caoying03
1e21259d5c
fix the bug of parsing evaluator in SRL in PaddleBook.
9 years ago
xzl
a1e1472713
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into improve_pruning
9 years ago
caoying03
692d251869
add missing configuration functions in v2 API.
9 years ago
xzl
15668482e3
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into improve_pruning
9 years ago
Liu Yiqun
96204c3c3a
Choose to disable the dependency of opencv-python on arm-based platforms.
9 years ago