qijun
61444d903d
Merge remote-tracking branch 'baidu/develop' into feature/sppnet
8 years ago
Haonan
880774d141
change the act.name for LinearActivation() to "linear" so that it won't
...
fail in hl_activetype; also fix the hasinputsset in submodel
8 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
8 years ago
liaogang
9ff0db37fe
Generate bilinear protostr via Linux
8 years ago
wangyang59
1c58e27fdc
fixed a bug in parse_conv in config_parser.py
8 years ago
wangyang59
af7a50c0d4
minor changes on deconv implementation and add protostr test for deconv layer
8 years ago
wangyang59
53e1629a43
Refactored imageSize in ConvBaseLayer to MathUtil
8 years ago
wangyang59
03f4b1d4d2
minor changes on deconv per luotao1 comments
8 years ago
wangyang59
7a322df0a8
deconv implementation mionr changes in ConvBaseLayer.cpp and config_parser.py
8 years ago
wangyang59
d116b17f06
fix a small bug in ConvTransLayerBase in config_parser.py
8 years ago
wangyang59
fb20187aaa
deconv layer implementation modification following luotao1 comments
8 years ago
wangyang59
3d72e94939
rebase deconv implementation with develop branch and resolve conflicts with pull#218 commit 45c81a414f
8 years ago
wangyang59
5e4cc241ac
Revised deconv implementations according to luotao1
8 years ago
wangyang59
bda259bb18
added more test on convTrans layer and comments
8 years ago
wangyang59
70e44732c2
added convTrans test and python components
8 years ago
qijun
f173341fb2
Merge remote-tracking branch 'baidu/develop' into feature/sppnet
8 years ago
liaogang
c8091ad80f
Follow comments
8 years ago
liaogang
4dada9c7ce
Delelte old protostr
8 years ago
liaogang
93dc44c9df
Update
8 years ago
liaogang
0519cc6423
Merge branch 'develop' of https://github.com/baidu/Paddle into bilinear
8 years ago
luotao1
e6c83f4ec0
some tiny fixs ( #406 )
...
* some tiny fixs
* use VLOG(3)
8 years ago
qijun
eaf3dec9c5
follow comments
8 years ago
liaogang
fd94e6aff8
Merge branch 'develop' of https://github.com/baidu/Paddle into bilinear
8 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
liaogang
db1757556e
Follow comments
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
5a1e7dbc6a
Fix conflict
9 years ago
luotao1
e802471c58
abstract outputSize function in CNN-related layers ( #314 )
9 years ago
liaogang
91a4064e35
Follow comments
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
emailweixu
cbe734b396
Python trainer api ( #193 )
...
* Python trainer API and demo
* Adding missing PaddleAPIPrivate.h
* Adding api_train.sh
* More comments
* Bump up patch version to 0b3
9 years ago
emailweixu
d6944dec16
Sequence tagging demo ( #225 )
9 years ago
luotao1
652b83478f
remove deprecated start input in img_pool_layer ( #237 )
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
luotao1
ac383dd021
add missing layer_attr ( #234 )
9 years ago
Yu Yang
76fb74dc2e
Fix install_docker.rst and data_sources file open mode
...
* Follow #223
* Fix #222
9 years ago
Yu Yang
58f896c3f4
Speed up PyDP2, support numpy.float array ( #207 )
9 years ago
Yu Yang
2f82d72ede
Fix bug in yield dictionary in DataProvider. ( #197 )
...
* Fix bug in yield dictionary in DataProvider.
* Also make virtualenv work in Paddle.
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
Zrachel
6d21ecef54
add cost_type constraint to weighted_cost interface ( #206 )
9 years ago
luotao1
43f7d7b768
add interface and unittest for nce layer ( #180 )
...
* add interface and unittest for nce layer
* follow comments
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
Zrachel
1c2ebe467b
add interface and test of RecurrentGradientMachine ( #156 )
...
* add interface and unittest of RecurrentGradientMachine for the function of multiple Subsequence inlinks with unequal token length
9 years ago
luotao1
1fc4352754
refine sparse momentum api and unittest ( #126 )
...
* refine sparse momentum api and unittest
* fix unittests bug
9 years ago
luotao1
4615c5172c
beam search api and unitest in hierarchical rnn ( #122 )
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
emailweixu
b15a4783cb
Correctly handling multiple inputs and integer inputs for recurrent_g… ( #114 )
...
* Correctly handling multiple inputs and integer inputs for recurrent_group
* Fix ScatterAgentLayer for generation
* Revert sequence_(nest)_rnn.conf
9 years ago
luotao1
ffc341675d
Add parallel_nn api and unittest ( #110 )
...
* Add `device` parameter to ExtraAttr in trainer_config_helpers.
* add unittest for it.
9 years ago
Haichao-Zhang
332194c881
add type compatible check for ParamAttr ( #113 )
...
* add type compatible check for ParamAttr
9 years ago
luotao1
8e957df4b2
fix bug in dotmul_operator's api and anotation ( #99 )
...
* fix bug in dotmul_operator's api and anotation
* update rnn document
* remove redundant info of projection and operator in layers.py
9 years ago
Haonan
98bc889cb5
split the input list of conv_operator into two inputs: image and filter ( #104 )
9 years ago
Haonan
b130ba7328
fixed bugs in conv_operator; add calc_output_size ( #101 )
9 years ago
Yu Yang
2c5a6ac095
Optional fields to shrink generated proto size ( #93 )
...
* remove unnecessary field set in ParameterConfig, Evaluators, etc
9 years ago
Luo Tao
d2e1b46f24
update beam_search and seqToseq config, and add ExpActivation api
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
Yu Yang
90b9cba7fe
Add min_pool_size, Add default value of should_shuffle ( #70 )
...
* min_pool_size would be infinite by default.
* add unittest for min_pool_size
* Fix bug in can_over_batch_size
* add unittest for can_over_batch_size
* Add DEFINE_PROVIDER_EX
* Add default value of should_shuffle
* When training, the default value of should_shuffle is True.
* When testing, the default value of should_shuffle is False.
* User a set a provider should_shuffle or not by pass it to `@provider`
* should_shuffle can handle a list of value, not just boolean
* Add input order mapping by using name
* Add unittest
* Add check to check input format.
* Default is close for speed reason.
* User could stop train when check error, or continue train without
this train sample.
* use deque instead of vector in generators pool, make erase
generator faster.
* Add chinese/english documentation
* Make should shuffle = false in unittest
* Add python files to depends.
9 years ago
xuwei06
9d12ca95e3
Further fix the memory for Hierarchical RNN
...
Sequences should be sorted according to the number of subsequences they have.
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
363b60616c
Update comment for ctc_error_evaluator
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
Yu Yang
c7762da330
Merge branch 'master' into merge_icode
9 years ago
zhangruiqing01
699d5f2638
modify RecurrentGradientMachine to support unequal length inputs
...
* modify RecurrentGradientMachine to support hasSubSeq sequence inlinks with the same number of sentence but different number of tokens for each sentence
Change-Id: Ic71f00a4bb346b4fa93e650dfb4b1a0d8d2338b0
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
qingqing01
7dbc092c87
fix cudnn version number for batch norm. ( #71 )
...
* fix CUDNN_VERSION for backward of CudnnBatchNormLayer
* fix cudnn version number for BatchNorm
9 years ago
emailweixu
d6cc5203ba
Fix LayerOutput.parents for some layers and mixed_layer for Operator ( #69 )
9 years ago
Yu Yang
7cf8e0c9e6
Lazy install Paddle wheels
...
* install wheels when invoke paddle script if current python don't
have paddle packages, or installed a previous version.
* Also add `make install` to travis
9 years ago
Haonan
6a873f505f
fix the layer name error when stacking RecurrentGroups
...
* the last layer in the stack already has all the suffixes
9 years ago
Luo Tao
2b795845ad
fix dead link
...
Change-Id: Id0804d03fc15529a8cf0b13c9e97d628103f5cec
9 years ago
Yu Yang
c5d1902223
Make helper shows the correct output value
...
Change-Id: Ia5358f88129b5c2e2a2653b1d85c168b80d797b3
9 years ago
dangqingqing
9269a5b4cb
Remove img_rnorm_layer and fix ParameterAttribute bug for some layer wrapper.
...
* Fix ParameterAttribute for img_conv_layer, tensor_layer, crf_layer, crf_decoding_layer.
Change-Id: Ic24e4bc1f9d5e03bf35058b49a54c78caf7e97a8
9 years ago
luotao02
6968191ede
fix bug in img_norm_layer, several dead links and add missing files for semantic_role_labeling
...
ISSUE=4619881
git-svn-id: https://svn.baidu.com/idl/trunk/paddle@1502 1ad973e4-5ce8-4261-8a94-b56d1f490c56
9 years ago
dangqingqing
54d4968d38
Refine code and comments for CRMNormLayer.
...
ISSUE=4612671
git-svn-id: https://svn.baidu.com/idl/trunk/paddle@1501 1ad973e4-5ce8-4261-8a94-b56d1f490c56
9 years ago
luotao02
fe22c46491
fix bug in CMakelists and layers.py
...
ISSUE=4612433
git-svn-id: https://svn.baidu.com/idl/trunk/paddle@1476 1ad973e4-5ce8-4261-8a94-b56d1f490c56
9 years ago
caoying03
af0bbfa267
add comments for networks.py
...
ISSUE=4611081
git-svn-id: https://svn.baidu.com/idl/trunk/paddle@1475 1ad973e4-5ce8-4261-8a94-b56d1f490c56
9 years ago
yuyang18
200dfa168c
Add settings documentation
...
Also fix link in quick_start
ISSUE=4611783
git-svn-id: https://svn.baidu.com/idl/trunk/paddle@1474 1ad973e4-5ce8-4261-8a94-b56d1f490c56
9 years ago
dangqingqing
7f1d6c5a75
Fix some documentations.
...
ISSUE=4611579
git-svn-id: https://svn.baidu.com/idl/trunk/paddle@1473 1ad973e4-5ce8-4261-8a94-b56d1f490c56
9 years ago
xuwei06
80790017e2
Fix python/setup.py.in
...
ISSUE=4607061
git-svn-id: https://svn.baidu.com/idl/trunk/paddle@1472 1ad973e4-5ce8-4261-8a94-b56d1f490c56
9 years ago
caoying03
af724aa6c7
add comments for beam search in config helpers.
...
ISSUE=4599577
git-svn-id: https://svn.baidu.com/idl/trunk/paddle@1440 1ad973e4-5ce8-4261-8a94-b56d1f490c56
9 years ago
luotao02
260c734c95
fix bug in trainer_config_helpers
...
ISSUE=4592807
git-svn-id: https://svn.baidu.com/idl/trunk/paddle@1423 1ad973e4-5ce8-4261-8a94-b56d1f490c56
9 years ago
dangqingqing
9c0895ee45
Add commits for recurrent layer and lstm layer.
...
ISSUE=4539687
git-svn-id: https://svn.baidu.com/idl/trunk/paddle@1422 1ad973e4-5ce8-4261-8a94-b56d1f490c56
9 years ago
luotao02
fe3216508a
catalog for trainer_config_helpers
...
ISSUE=4584581
git-svn-id: https://svn.baidu.com/idl/trunk/paddle@1413 1ad973e4-5ce8-4261-8a94-b56d1f490c56
9 years ago
dangqingqing
f063752366
Adjustment doc and code for CostLayer, GradientMachine and DataProvider.
...
Also add some comments for cost layers.
ISSUE=4580653
git-svn-id: https://svn.baidu.com/idl/trunk/paddle@1410 1ad973e4-5ce8-4261-8a94-b56d1f490c56
9 years ago
zhangjinchao01
b72beee4f0
fix dash and space bug,
...
ISSUE=4586495
git-svn-id: https://svn.baidu.com/idl/trunk/paddle@1408 1ad973e4-5ce8-4261-8a94-b56d1f490c56
9 years ago