dangqingqing
c8817a192b
merge upstream
8 years ago
dangqingqing
8b5431d5e1
padding operation
8 years ago
liaogang
8acd1ac31a
Add extern python interp
8 years ago
Peng Li
f1e31ecada
Merge branch 'develop' into fix-crf-weight-and-coeff-bug
8 years ago
qingqing01
7b74a6de63
Merge pull request #900 from wangyang59/batchNorm
...
fixed a bug for demo/gan caused by batchNormLayer
8 years ago
Yu Yang
54cb6bdb37
Fix bad import name in trainer_config_helpers.
...
* math => layer_math
* Fix #903
8 years ago
wangyang59
a50caba881
modified img_trans_layers.protostr to refect the change in batchNorm layer behavior
8 years ago
Yu Yang
4afaaa4b92
Autoformat all files
8 years ago
Yu Yang
56c20f8261
Merge pull request #734 from hohdiy/dev-test
...
test code for issue #729
8 years ago
Yu Yang
b6aca330a2
Merge pull request #764 from emailweixu/multiple_parse
...
Correctly handling multiple calls to parse_config()
8 years ago
Yi Wang
e9549cbb78
Change "Baidu, Inc" into "PaddlePaddle Authors"
8 years ago
hanchao
957794cd29
fix bad ident
8 years ago
hanchao
23d57335f1
update cr for pull #734 .
8 years ago
xuwei06
d87b2c11ac
Fix bug in CMakeList.txt
...
test_rest_hook.py => test_reset_hook.py
Change-Id: I84909ade4a1ea2bec4311264626dd000cd6bc86c
8 years ago
xuwei06
3cf7337f30
Correctly handling multiple calls to parse_config()
...
To solve this, we maintain the list of DefaultNameFactory used in by trainer_config_helper,
and reset the state at the beginning of each parse_config call.
Change-Id: I13c7574dc8f0b6bc6f6b7c92eb425e2c52c926e8
8 years ago
Liu Yiqun
78bdd32471
Merge branch 'develop' into warpctc
8 years ago
hanchao
7f78912c9f
test code for issue #729
8 years ago
Tao Luo
7bb627d3f9
Merge pull request #409 from luotao1/conv
...
Support rectangle input for CNN
8 years ago
Luo Tao
23e61c2132
fix bug when run test_layerHelpers multiple times
8 years ago
Luo Tao
7830893a83
fix conflict
8 years ago
Peng Li
749456bd60
Fix test_layerHelpers bug
...
The values for ____crf_layer_0__.w0 in python/paddle/trainer_config_helpers/tests/configs/protostr/test_cost_layers.protostr is not correct due to swapped height and width in config_parser
8 years ago
Liu Yiqun
25f1fbc491
Merge branch 'develop' into warpctc
8 years ago
Yu Yang
1eb9c36fd2
Make ApproximatelyEquals fit for protobuf2
8 years ago
Yu Yang
1733a777fe
Using ApproximatelyEquals for trainer config unittest.
...
* Make float equal works well.
* compare 0.01 and 0.009999999999 will return true.
9 years ago
Liu Yiqun
4d487c6f35
Integrate warp-ctc as WarpCTCLayer, including unitest and layer interface.
9 years ago
Luo Tao
7573205c68
follow comments on config_parser
9 years ago
Luo Tao
496d64ebdb
Support rectangle input for CNN
9 years ago
xuwei06
bf6f690f31
Add ScalingProjection
...
out = w * input
where w is a parameter of size 1
Change-Id: Ife682d62323ceb1a20cbbf6269421b20a862d888
9 years ago
qijun
a1ba3f442f
format python code in python directory
9 years ago
Yu Yang
4607d517bf
Add unittest for split datasource
...
* Fix #436
9 years ago
Yu Yang
ae7452f47b
Merge branch 'develop' of github.com:baidu/Paddle into feature/fix_pydataprovider_multiple_obj_bugs
9 years ago
Yu Yang
33b81648a3
Fix bug in multple objects in define_py_sources
9 years ago
Tao Luo
ca0bb40c6e
Merge pull request #300 from QiJune/feature/sppnet
...
add SpatialPyramidPoolLayer c++ support
9 years ago
Luo Tao
aa560dbb97
fix bug in sum_cost
9 years ago
Tao Luo
eb3bf9ea64
Merge pull request #360 from emailweixu/sum_cost
...
Add SumCost
9 years ago
xuwei06
36fa251756
'*' operator overload for LayerOutput
...
Making '*' support the multiplication between a scalar and LayerOutput
Also changing '+' to support adding between a vector and a scalar.
Change-Id: I7daf35590dc2b2f855a29d9ef43ac57979442e0f
9 years ago
qijun
9dd588b414
fix merge conflicts
9 years ago
gangliao
8295eb91bf
Merge pull request #287 from gangliao/bilinear
...
Add bilinear interpolation layer
9 years ago
qingqing01
cfc965d52c
Merge pull request #269 from wangyang59/deconv
9 years ago
qijun
61444d903d
Merge remote-tracking branch 'baidu/develop' into feature/sppnet
9 years ago
Haonan
8d4c453bbb
set mixedlayer output size according to input operator ( #414 )
...
* set mixedlayer output size according to input operator
* change from num_channel to num_channels for conv_operator (the old one is
really misleading because all the others are num_channels)
* also changed the arg name in projections.py
9 years ago
liaogang
9ff0db37fe
Generate bilinear protostr via Linux
9 years ago
wangyang59
1c58e27fdc
fixed a bug in parse_conv in config_parser.py
9 years ago
wangyang59
af7a50c0d4
minor changes on deconv implementation and add protostr test for deconv layer
9 years ago
qijun
f173341fb2
Merge remote-tracking branch 'baidu/develop' into feature/sppnet
9 years ago
liaogang
c8091ad80f
Follow comments
9 years ago
liaogang
4dada9c7ce
Delelte old protostr
9 years ago
liaogang
93dc44c9df
Update
9 years ago
liaogang
0519cc6423
Merge branch 'develop' of https://github.com/baidu/Paddle into bilinear
9 years ago
luotao1
e6c83f4ec0
some tiny fixs ( #406 )
...
* some tiny fixs
* use VLOG(3)
9 years ago
qijun
eaf3dec9c5
follow comments
9 years ago
liaogang
fd94e6aff8
Merge branch 'develop' of https://github.com/baidu/Paddle into bilinear
9 years ago
qijun
3553576e6e
Merge remote-tracking branch 'baidu/develop' into feature/sppnet
9 years ago
qijun
e2c0713589
follow comments
9 years ago
luotao1
65af9f9495
modify the format of diff information in protostr ( #398 )
9 years ago
qijun
db569f293e
fix merge conflict
9 years ago
qijun
5ece5c96ad
add python wrap for sppLayer
9 years ago
xuwei06
38764bf908
Add sum_cost to document
...
And rebase
Change-Id: I7ea234b3aa8fc70675af15d91db08242c43fb5ff
9 years ago
xuwei06
ebad8e525d
Add SumCost
...
This allows user to implement any type of cost by summing over the output of non-cost layers.
Change-Id: Ic55aaabbf0c1299e70b8e48a0effcc91f8f5bd29
9 years ago
liaogang
bd38facada
Fix conflict
9 years ago
liaogang
57348806b5
Follow comments
9 years ago
wenboyang
c64cd6feb4
Use diff to compare config unittest ( #363 )
...
Fix #342
9 years ago
emailweixu
6c3a678c9a
Add elementwise math operations ( #343 )
...
* Add elementwise math operations
This allows use to use expressions like: y=log(1+exp(x))
Also added unittests for ActivationFunction
* Enforce keyword arguments for non-positional arguments
* Add LogActivation to doc
9 years ago
qingqing01
45c81a414f
Add job=time in trainer, refine cudnn_conv to reduce gpu memory and speed up training. ( #218 )
...
* Add benchmark for PaddlePaddle, tensorflow and caffe
* ConvProjection to reduce memory for goolenet
* Add unit test for ConvProjection.
1. unit test in test_LayerGrad.
2. compare the ConvPorjection and CudnnConvLayer, also compare the concat_layer+img_conv_layer and concat_layer_conv_projection.
* Reduce cudnn_conv memory and add benchmark document.
1. Use TmpMatrix as the workspace in cudnn_conv to reduce gpu memory. It reduce lots of memory.
2. Add benchmark document.
3. fix smallnet_mnist_cifar.py in paddle.
* Add job=time and refine cudnn_conv to reduce gpu memroy and speed up
* Refine cudnn_conv and shared biases operation in concat_layer and mixed_layer.
* follow comments
* follow comments
* Use unique_ptr to prevent memory leaks in CudnnConvLayer.
9 years ago
liaogang
fd4eeaf59c
Merge conflict with maxout layer
9 years ago
liaogang
ddfff3a7fd
Add bilinear interpolation layer
9 years ago
luotao1
fc9ca53ae4
fix interface bug of block_expand_layer and add unittest ( #265 )
...
* fix interface bug of block_expand_layer and add unittest
* auto compute num_channels
* default value of num_channels is None
* adjust input order of block_expand
9 years ago
luotao1
3dd8c9bea4
add maxout layer, including interface and unittest ( #229 )
...
* add maxout layer, including interface and unittest
* follow maxout comments
* auto setting channels
* fix unittest bug in test_RecurrentGradientMachine
9 years ago
Yu Yang
e4952ca6ce
Add FAQ ( #128 )
...
* Init commit for doing FAQ
* Add speed up training
* Add graphviz to ci
* Add shared paramter
* Tiny refine
9 years ago
luotao1
199a6a4b5c
add weight for cost layer interface ( #177 )
9 years ago
qingqing01
191fafe355
support rectangle padding, stride, window and input for PoolProjection ( #115 )
...
* support rectangle padding, stride, window and input for PoolProjection
* Follow comments.
1. Remove start
2. refine img_pool_a/b.conf for test_NetworkCompare
3. Split unit test
* Modify the test in img_layers.py
9 years ago
Yu Yang
d130d18146
Complete unittest for trainer_config_helpers. ( #108 )
...
* Fix lots of trainer_config_helpers bug, and complete unittest for `layers.py`
9 years ago
Haonan
1c56e0dc9e
fixed the name issue for conv_operator and added a test case ( #131 )
9 years ago
Haichao-Zhang
332194c881
add type compatible check for ParamAttr ( #113 )
...
* add type compatible check for ParamAttr
9 years ago
Haichao-Zhang
159dd8331c
split dotmul_projection and dotmul_operator ( #87 )
...
* split dotmul_projection and dotmul_operator
* bug fix in outputsize checking for mixed layer
9 years ago
xuwei06
05a97ab50e
Further fix the memory for Hierarchical RNN
...
Sequences should be sorted according to the number of subsequences they have.
9 years ago
Haonan
a9d327bd87
add wrapper for out_prod_layer ( #83 )
9 years ago
emailweixu
f392452308
Update layers_test_config.py
9 years ago
qingqing01
9f3cbed2f2
Add more details for CTC layer, fix CTC evalutor and add their interface test ( #74 )
...
* Add some comments for CTC layer and fix CTC evalutors, also add interface test
9 years ago
xuwei06
7481429f99
Change cos_sim to use CosSimLayer layer when size=1 and rename convex_comb_layer to linear_comb_layer
...
Also add an unittest for layers.py, currently for a few things. More need to be added later.
9 years ago