caoying03
5c68aacad1
follow comments.
8 years ago
caoying03
b0ad9c9074
enable intializing memory state for lstmemory_group.
8 years ago
yangyaming
b5ab4b69bc
Follow comments, mainly use std::copy to simplify logic.
8 years ago
Yu Yang
b34a05d114
Fix travis-ci in new image
...
Fix issue #2562
8 years ago
zlx
1d6b859549
modity topo
8 years ago
zlx
561c4562cf
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into improve_pruning
8 years ago
zlx
fdde4eff0d
modify some topo
8 years ago
Peng LI
08d0b1d9ac
Merge pull request #2576 from pengli09/cls_cost_coeff
...
add coeff parameter to classification_cost
8 years ago
Yang yaming
f551c271af
Merge pull request #2467 from pkuyym/ssd_map
...
Add DetectionMAPEvaluator
8 years ago
Peng Li
7cf640b58d
add coeff parameter to classification_cost
8 years ago
zlx
1eab8cce32
modify the annotations of HookAttribute, Variable declaration
8 years ago
zlx
15bf6e05b5
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into improve_pruning
8 years ago
xuwei06
61222578b4
Allow printer layer to print user provided message
...
For example:
layer.printer(input=[x, y], format="x=%s y=%s")
8 years ago
qingqing01
8266546eb2
Merge pull request #2480 from emailweixu/repeat_layer
...
Repeat layer for column vector
8 years ago
xuwei06
f48535102b
Add the test_repeat_layer.py
8 years ago
yangyaming
5f924d5d53
Follow comments.
8 years ago
yangyaming
65969dad64
Add DetectionOutputLayer and MultiBoxLossLayer.
8 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.
8 years ago
xuwei06
ef61288f9e
Clean-up recurrent group related python code
...
No longer need to specify target_inlinks or is_seq.
8 years ago
zlx
fc9e3e4bda
explain the sparsity ratio
8 years ago
xuwei06
fc0ad9048a
Repeat layer for column vector
8 years ago
xuwei06
17994e38aa
RecurrentGroup with mixed input sequence types
...
No longer need to use SubsequenceInput. The framework will detect.
8 years ago
yangyaming
2207659250
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into ssd_map
8 years ago
zlx
6248e566f9
merge from remote
8 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().
8 years ago
xzl
23b1a27483
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into improve_pruning
8 years ago
xzl
997cef2e63
tiny modify
8 years ago
yangyaming
597a58c3ef
Add DetectionMAPEvaluator.
8 years ago
xzl
97a2fde995
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into improve_pruning
8 years ago
qingqing01
6bc9277503
Merge branch 'develop' into row_conv
8 years ago
caoying03
892b1f9ff6
Merge branch 'develop' into fix_config_parsing_bug
8 years ago
dangqingqing
f18d83f3c4
follow comments
8 years ago
dangqingqing
37015fadbd
update code
8 years ago
Cao Ying
a3123e210c
Merge pull request #2412 from lcy-seso/add_config_helper_for_prelu
...
add configuration helper for prelu layer.
8 years ago
caoying03
996614814d
follow comments and refine doc.
8 years ago
caoying03
50764480c1
follow comments.
8 years ago
caoying03
c7483bf956
add configuration helper for prelu layer.
8 years ago
Luo Tao
5bab98a3c5
remove top_k argument in classification_cost
8 years ago
caoying03
692d251869
add missing configuration functions in v2 API.
8 years ago
xzl
15668482e3
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into improve_pruning
8 years ago
dangqingqing
a5dfc556d4
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into row_conv
8 years ago
emailweixu
2c7d8e7b9f
Merge pull request #2369 from emailweixu/print_layer
...
Correctly handle print_layer in V2 API
8 years ago
xzl
1a1c589f31
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into improve_pruning
8 years ago
xzl
092828fbe3
modify the doc of the interface
8 years ago
qingqing01
4537b7bc8c
Merge pull request #2376 from Xreki/warpctc_note
...
Add doc to the usage of warp-ctc.
8 years ago
Liu Yiqun
31e333a212
Add doc to the usage of warp-ctc.
8 years ago
dangqingqing
18cd1f2558
Fix bug and Python API.
8 years ago
xuwei06
252c84dbe1
Correctly handle print_layer in V2 API
...
print_layer is used to print the values of a layer when evaluating the model for debugging purpose. No layer depends on print_layer. It should be added to the topology if it is used to print some layer already in the topology.
8 years ago
Liu Yiqun
bfe8ecfc31
Fix blanks.
8 years ago
xzl
18435f2a73
modify the pruning from reading mask to specify sparsity_ratio
8 years ago
xzl
ca55a24eb3
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into improve_pruning
8 years ago
xzl
5413af8d11
imporve pruning module
8 years ago
emailweixu
68c68ec958
Merge pull request #2218 from luotao1/rename
...
rename AggregateLevel and ExpandLevel
8 years ago
xuwei06
a8d44cc56a
Fix size for lstm, identity_projection and concat
8 years ago
emailweixu
0ef86cbd2e
Merge pull request #2288 from emailweixu/fix_v2_api
...
Fix V2 API
8 years ago
wwhu
efd2d3351c
add multiplex layer for python API
8 years ago
qiaolongfei
9e774a1cdf
remove duplicate code of python/paddle/trainer_config_helpers/config_parser.py
8 years ago
xuwei06
97c4d23fab
Add docs and clean up unused code
8 years ago
xuwei06
7d0355cdd0
Fix V2 API
8 years ago
Luo Tao
630b27ec10
Compatible with previous configurations
8 years ago
Luo Tao
b7e2adbd47
Merge branch 'develop' into rename
8 years ago
xuwei06
35bfb1d5c3
Allow setting both is_static and initial_mean, initial_std at the same time.
...
Some time we simply want to have a fixed initialization for a model.
8 years ago
Luo Tao
28e9807247
Merge branch 'develop' into rename
8 years ago
Yibing Liu
2e4c0bd2ea
enable global gradient_clipping_threshold
...
correct a typo
optimize code
fix a bug
8 years ago
Luo Tao
3ae7541ad3
rename AggregateLevel and ExpandLevel
8 years ago
emailweixu
ba333e8a02
Merge pull request #2219 from emailweixu/sqrt-reciprocal
...
Add Sqrt and Reciprocal activation
8 years ago
xuwei06
a0a3a68551
Add Sqrt and Reciprocal activation
8 years ago
Yang yaming
d3e003be04
Merge pull request #2165 from pkuyym/fix-2078
...
Fix 2078
8 years ago
yangyaming
dfc27aaadc
fix document formation bugs.
8 years ago
Luo Tao
c7fb78b0a5
follow comments
8 years ago
Luo Tao
f8a42d5de9
add doc for AggregateLevel and ExpandLevel
8 years ago
yangyaming
f3eb9cb36a
Override getValueImpl and revise document
8 years ago
yangyaming
a74060d48e
modify usage document of chunk evaluator
8 years ago
Peng Li
87cb840ce9
add coeff parameter to the helpers of mse_cost, crf_layer and smooth_l1_cost
8 years ago
caoying03
7556ceffa6
add unitest for nce layer.
8 years ago
caoying03
1171014d3f
add param_attr to nce_layer and enable multiple inputs.
8 years ago
dangqingqing
805088c615
pass unit test
8 years ago
Luo Tao
c810e6a7c0
Merge branch 'develop' into release/0.10.0
8 years ago
zhanghaichao
b23a23c9db
fixed error in beam_search example and documents
8 years ago
qijun
4dafa6987c
fix gru_step_naive_layer name
8 years ago
Yu Yang
c6a8e23a9e
Fix unittests
8 years ago
Yu Yang
3f1151a54c
Add error clipping to MT demo.
...
* Compose GRU step naive layer in trainer config helpers.
* It is uses mixed_layer for gate.
* It supports ERROR_CLIPPING, DROPOUT
* Add error clipping in MT demo.
* Fix #1143
* Fix #1891
8 years ago
dangqingqing
63e4e16ced
add smooth_l1 interface to v2 doc.
8 years ago
dangqingqing
2838491235
add smooth_l1 interface to v2 doc.
8 years ago
dangqingqing
6c654c012a
resolve conflicts
8 years ago
dangqingqing
cd7c55aa8c
generate protostr automatically when adding a new test for trainer_config_helpers.
8 years ago
dangqingqing
22f2519eba
refine documents
8 years ago
dangqingqing
1fd00758ac
SmoothL1 loss
8 years ago
Yi Wang
68b958c368
Merge pull request #1852 from pengli09/doc-error
...
Fix doc error
8 years ago
Peng Li
42b09b9cac
Fix doc error
8 years ago
Luo Tao
8b5e0275b2
fix sphinx doc bug
8 years ago
Yu Yang
78b322fdba
Merge pull request #1848 from luotao1/doc
...
fix sphinx doc bug
8 years ago
Luo Tao
4f769a8a1d
fix sphinx doc bug
8 years ago
Yu Yang
18a3588b24
Merge branch 'develop' of github.com:baidu/Paddle into feature/c_api
8 years ago
Cao Ying
df5a95dce8
Merge pull request #1701 from luotao1/stride
...
stride pooling for seqlastin and seqfirstin.
8 years ago
Yu Yang
e8f65b86f5
nce_layer cannot accept neg_distribution
8 years ago
Luo Tao
ba68ce1a1a
Merge branch 'develop' into stride
8 years ago
Yu Yang
e423c5d030
It is no need to config num_classes in hsigmoid
...
It should be always equals to label's size.
8 years ago
Luo Tao
c1738e29c8
Merge branch 'develop' into stride
8 years ago
Yu Yang
7adad0c92d
Refine NCE Layer
8 years ago
Luo Tao
dd613047b1
refine annotation
8 years ago
Luo Tao
cbbec59547
adjust poolSequenceWithStride interface for average and max
8 years ago
Yu Yang
9c1c19b6d0
Merge branch 'develop' of github.com:baidu/Paddle into feature/c_api
8 years ago
Luo Tao
0291c01884
Merge branch 'develop' into stride
8 years ago
Tao Luo
5961b52b13
Merge pull request #1653 from Noplz/normalize-layer
...
CrossChannelNorm Layer for SSD
8 years ago
Luo Tao
9298a9ec0d
stride pooling for seqlastin and seqfirstin
8 years ago
wangyang59
dc45cb4b9d
changed projections.protostr
8 years ago
gaoyuan
784e242bd5
Remove redundancy codes
8 years ago
wangyang59
fc7f72c03f
modified after reyoung's comments
8 years ago
wangyang59
090c974e4b
completed implementation of cudnn_convt convTransProjection and convTransOperator
8 years ago
wangyang59
07c1ea258f
python interface for convTransProjection and convTransOperator
8 years ago
gaoyuan
c06d8d2129
Assert cross_channel_norm's input filters
8 years ago
Yuan Gao
8c2d1bad7a
Merge branch 'develop' into normalize-layer
8 years ago
gaoyuan
eb43d93a58
Change Normalize layer to CrossChannelNorm layer
8 years ago
Yu Yang
08113b2019
Merge branch 'develop' of github.com:baidu/Paddle into feature/c_api
8 years ago
Yu Yang
bd4ec1b493
Merge branch 'develop' into memory.set_input
8 years ago
Luo Tao
36ed2ff1ea
keep forward compatibility
8 years ago
Luo Tao
7dbc77ba4d
rename regression_cost to mse_cost
8 years ago
Peng Li
bf838034d6
Merge branch 'develop' into fix-crf-weight-and-coeff-bug
8 years ago
gaoyuan
eea0097dcb
NormalizeLayer for SSD
8 years ago
Yu Yang
8feb58368c
Merge branch 'feature/fix_ccache_not_in_path' into feature/c_api
8 years ago
Luo Tao
8243797059
add relu in layer_math.py
8 years ago
Yu Yang
4380e73fcd
Merge branch 'develop' of github.com:baidu/Paddle into feature/c_api
8 years ago
Yu Yang
8d5a18a209
Complete Layers documentation
8 years ago
Yu Yang
3758993393
Simplify layer.v2
8 years ago
Luo Tao
06056fe26e
Merge branch 'develop' into layer
8 years ago
dangqingqing
623d24ad5c
convert mixed layer, projection and operator
8 years ago
Luo Tao
5258bcf3ee
implement more layers in v2
8 years ago
Liang Zhao
e768721cd9
fix calculating totalScore2_ bug
8 years ago
Liang Zhao
043859b5db
clean up code
8 years ago
Liang Zhao
e00f06afa4
Add top-k error
8 years ago
Luo Tao
0b673756f1
add SequenceReshapeLayer in trainer_config_helpers
8 years ago
Luo Tao
f9eddadb3e
follow comments, add seq_concat_layer in docs
8 years ago
Luo Tao
27a42c2e3b
add SequenceConcatLayer in trainer_config_helpers
8 years ago
xuwei06
7d551dd484
Make it possible to postpone setting the layer name for a memory.
...
The reason for adding the function is exemplified in the following hypothetical code:
mem = memory(name=None, size=256)
hidden = fc_layer(input=mem)
state = hidden + x
mem.set_input(state)
In the above code segment, it would be very annoying if we require the user to provide
the name at memory() call because the layer name of state is automatically generated
and is not easy to set it.
Change-Id: I918bf1d3d5c26addd88a6f7021e98b3e0e9df494
8 years ago
Yu Yang
71c3c93c72
Fix unittest
8 years ago
Yu Yang
970440622f
Temporary disable async load data in PyDP2.
...
* It seems some other change breaks the async load. It will cause data
error in GPU mode.
8 years ago
Tao Luo
c785975b4b
Merge pull request #1256 from luotao1/maxout
...
remove usused arguments for maxout_layer, refine notes for pad_layer
8 years ago
Luo Tao
ca25b9a508
remove unused notes in maxout layer
8 years ago
wangkuiyi
ccb553fec4
Merge pull request #1253 from wangkuiyi/python_learning_and_refactor
...
Rename Python function DataBase into create_data_config_proto
8 years ago
Yi Wang
058eeac0fc
Revert "Remove completely create_data_config_proto"
...
This reverts commit ab279beed1
.
8 years ago
Yi Wang
ab279beed1
Remove completely create_data_config_proto
8 years ago
Luo Tao
03148804bb
remove usused arguments for maxout_layer, refine notes for pad_layer
8 years ago
Haonan
b9dfe8e7c8
Merge pull request #1231 from yu239/rotate_and_flip
...
One bug fix and two new features
8 years ago
Yi Wang
996b1de1d8
Rename DataBase into create_data_config_proto
8 years ago
Haonan
73dcf2cd58
improving code comments
8 years ago
Haonan
6245fed240
rotate_layer python interface fixes
8 years ago
wangyang59
9c42d90468
add comments in gru_step_layer of layers.py to explain the parameter location
8 years ago
Haonan
b4c1d17580
remove flip_layer
8 years ago
Haonan
55eb2fcffa
format correction
8 years ago
Haonan
781b85b5fc
rotate_layer and flip_layer * added getMin and getMax for GpuMatrix * gru_step_layer parameter name
8 years ago
wangyang59
04b5daf92d
change the parameter position of gru_step_layer from 1 back to 0
8 years ago
emailweixu
c1f9cd9dbe
Merge pull request #1241 from wangyang59/rnnParaShare
...
make gru_group parameters sharable
8 years ago
zhanghaichao
e1d074abdb
updated comments for gru_group and lstm_group in networks.py
8 years ago
wangyang59
6da7283475
make gru_group parameters sharable
8 years ago
dangqingqing
44e3c724f9
Refine and comments
8 years ago
Yu Yang
88c3862378
Merge branch 'develop' of github.com:baidu/Paddle into feature/c_api
8 years ago
dangqingqing
312326899e
add api to doc
8 years ago
dangqingqing
8d47499e1d
update code
8 years ago
Yu Yang
a5c1658d45
Always create protobuf_equal
...
* Because currently Paddle only use protobuf 3.
8 years ago
Yu Yang
ceb2d39799
Fix bugs in config_helpers unittest.
...
* It gets wrong command line arguments before.
8 years ago
zhangruiqing01
19cb2a7fb3
fix default value of cos_sim scale
8 years ago
Yu Yang
64022143d8
Fix unittest
8 years ago
dangqingqing
6b61a096e1
Optional padding mode, namely ceil or floor, ceil by default.
8 years ago
dangqingqing
c8817a192b
merge upstream
8 years ago
dangqingqing
8b5431d5e1
padding operation
8 years ago
liaogang
8acd1ac31a
Add extern python interp
8 years ago
Yu Yang
eefe5a7ca6
Merge branch 'develop' of github.com:baidu/Paddle into feature/mnist_train_api
8 years ago
Yu Yang
6951c8ad2e
Merge pull request #1014 from reyoung/feature/fix_bugs_in_math
...
Rename math.py to layer_math.py
8 years ago
Yu Yang
685299c3c5
Rename math.py to layer_math.py
...
* Fix #903
8 years ago
wangyanfei01
224e5fcc77
fix bug:
...
* gradient_clipping_threshold should be allowed to set with parameter-grain
8 years ago
qiaolongfei
763a30fdde
add config_parser_utils
8 years ago
qiaolongfei
843b63bb84
add config_parser in trainer_config_helpers to seperate trainer config
8 years ago
qingqing01
b53bdcdc67
Merge pull request #867 from Noplz/ssd
...
priorbox layer for Single Shot Multibox Detection Network
8 years ago
Peng Li
af820fb2eb
Merge branch 'develop' into fix-crf-weight-and-coeff-bug
8 years ago
Peng Li
6e405a10c5
fix style issues
8 years ago
Peng Li
f1e31ecada
Merge branch 'develop' into fix-crf-weight-and-coeff-bug
8 years ago
Peng Li
8fe3a3aa73
Add excluded_chunk_types to ChunkEvaluator
...
The chunks of types in excluded_chunk_types will not be counted in
ChunkEvaluator. This is useful for tasks such as SRL, in which chunks of
type V (verb) will not be taken into account in evaluation.
8 years ago
Luo Tao
deed483c22
Merge branch 'develop' into link
8 years ago
Yu Yang
50edf5243e
Merge pull request #862 from backyes/fix_data_sources
...
refine data_sources.py and PyDataProvider2.py to make more readable
8 years ago
Luo Tao
2b4ddb3808
fix dead links and refine tutorials/index
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
f94a0cce90
Merge pull request #922 from reyoung/feature/fix_bugs_in_math
...
Fix bad import name in trainer_config_helpers.
8 years ago
Yu Yang
54cb6bdb37
Fix bad import name in trainer_config_helpers.
...
* math => layer_math
* Fix #903
8 years ago
Yu Yang
ee2c14229e
Partially fix demo data provider.
...
* Partially fix #622
8 years ago
wangyang59
a50caba881
modified img_trans_layers.protostr to refect the change in batchNorm layer behavior
8 years ago
Yu Yang
638cf8d469
Merge pull request #905 from pengli09/fix-model-avg-py-error
...
Remove do_average_in_cpu, max_average_window, average_window from optimizers.py
8 years ago
Peng Li
59ae6612e1
Fix formatting error.
8 years ago
Peng Li
6516fd9294
Fix formatting error.
8 years ago
Peng Li
c287b6b216
Add an extra parameter label to chunk_evaluator
...
In order to keep consistent with other evaluators, an extra parameter
label is add to chunk_evaluator. Document and demos are modified
accordingly.
8 years ago
wangyanfei01
7598846cf5
Merge remote branch 'origin/develop' into fix_data_sources
8 years ago
wangyanfei01
89a638b8b3
do pre-commit
8 years ago
Peng Li
8455071a51
Remove do_average_in_cpu, max_average_window, average_window from optimizers.py
...
These three parameters have already been moved to model_average. Leaving
them here will cause duplicate keys in kwargs
8 years ago
gaoyuan
707a9c9bbd
Fix variable name and add the annotation
8 years ago
gaoyuan
c0076084e2
Format the python file.
8 years ago
Luo Tao
0764bb4a9e
add exclude_patterns for conf.py.in
8 years ago
yuan
0eac399280
priorbox layer for ssd
8 years ago
wangyanfei01
62b20ca033
refine data_sources.py and PyDataProvider2.py to make more readable
8 years ago
Luo Tao
52f6c9a6a9
Merge branch 'develop' into link
8 years ago
Yu Yang
4afaaa4b92
Autoformat all files
8 years ago
Luo Tao
3f9f222328
fix some dead links in doc/
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
Liu Yiqun
7bb7fed833
Simplify the CMakelist.txt and fix typos.
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
wangyang59
4641285c75
Added a test in test_NetworkCompare to verify cudnn and exconv, fixed a bug in cudnn_conv in dealing with groups
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.
8 years ago
Liu Yiqun
4d487c6f35
Integrate warp-ctc as WarpCTCLayer, including unitest and layer interface.
8 years ago
Luo Tao
7573205c68
follow comments on config_parser
8 years ago
Luo Tao
96615fe329
merge develop, fix conflict
8 years ago
Luo Tao
b3f4e53539
fix LogActivation is not defined
8 years ago
Haonan
ed7334d694
fix the has_LayerOutput boolean for StaticInput as the input of recurrent_group
8 years ago
Luo Tao
496d64ebdb
Support rectangle input for CNN
9 years ago
Luo Tao
29727289fc
modify first level directory of english doc
9 years ago
Luo Tao
8c59437612
change is_train to is_generating
9 years ago
Luo Tao
ffbf00a022
Merge branch 'develop' into group
9 years ago
xuwei06
a6ad9a1608
Fix unittest
...
Change-Id: Ic80845c892c96c37a0df0ddc433fe1aeaa5a9d1c
9 years ago
xuwei06
bf6f690f31
Add ScalingProjection
...
out = w * input
where w is a parameter of size 1
Change-Id: Ife682d62323ceb1a20cbbf6269421b20a862d888
9 years ago
Luo Tao
0752b3b710
add layer check for recurrent_group
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
afba3a2d46
Merge branch 'develop' of github.com:baidu/Paddle into feature/fix_pydataprovider_multiple_obj_bugs
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
qijun
62c5389bad
fix test_layerHelpers unittest error
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
Haonan
ebb153b067
Merge pull request #416 from yu239/hl_activetype
...
change the act.name for LinearActivation() to "linear" so that it won't fail in hl_activetype; also fix the hasinputsset in submodel
9 years ago
Tao Luo
eb3bf9ea64
Merge pull request #360 from emailweixu/sum_cost
...
Add SumCost
9 years ago
Haonan
45f6e1abee
change hlactivetype instead of act.name
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
880774d141
change the act.name for LinearActivation() to "linear" so that it won't
...
fail in hl_activetype; also fix the hasinputsset in submodel
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
wangyang59
03f4b1d4d2
minor changes on deconv per luotao1 comments
9 years ago
wangyang59
fb20187aaa
deconv layer implementation modification following luotao1 comments
9 years ago
wangyang59
5e4cc241ac
Revised deconv implementations according to luotao1
9 years ago
wangyang59
bda259bb18
added more test on convTrans layer and comments
9 years ago
wangyang59
70e44732c2
added convTrans test and python components
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
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
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
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
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
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
emailweixu
d6cc5203ba
Fix LayerOutput.parents for some layers and mixed_layer for Operator ( #69 )
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
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