helinwang
59ca13a381
Merge pull request #1411 from helinwang/deco
...
create reader creator decorators: shuffle, compose, chain
8 years ago
Helin Wang
608de7c0e3
fix according to comments
8 years ago
dangqingqing
bb625337e3
add some comments
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
e19134e0cc
add cost function in v2.layer
8 years ago
dangqingqing
6cf560350e
resolve conflicts
8 years ago
Helin Wang
2a21681c00
fix according to comments
8 years ago
Helin Wang
7fd42b8cce
create reader creator decorators: shuffle, compose, chain
8 years ago
qiaolongfei
7cfe34da7c
modify api_train_v2
8 years ago
Tao Luo
ac712688fd
Merge pull request #1398 from luotao1/reshape
...
add SequenceReshapeLayer in trainer_config_helpers
8 years ago
qiaolongfei
e4af5b9228
optimize code
8 years ago
qiaolongfei
3e8f232e12
remove import . to enable run v2/layer.py directly
8 years ago
dangqingqing
297c6a018b
refine data feeder
8 years ago
qiaolongfei
361dc27a86
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into topology
8 years ago
Luo Tao
0b673756f1
add SequenceReshapeLayer in trainer_config_helpers
8 years ago
dangqingqing
67b8150ff4
data converter test
8 years ago
jacquesqiao
14ee4b8079
Merge pull request #1386 from jacquesqiao/data-type
...
add type to layer.data
8 years ago
qiaolongfei
07539b2a1c
add-topology
8 years ago
qiaolongfei
0a0b5b5b91
change paddle.data to paddle.data_type
8 years ago
qiaolongfei
984d54d018
change data_type to type
8 years ago
Luo Tao
f9eddadb3e
follow comments, add seq_concat_layer in docs
8 years ago
qiaolongfei
89cfb39fe4
use data_type of data layer
8 years ago
qiaolongfei
772b476b76
optimize code
8 years ago
qiaolongfei
47043fe1d3
add type to datalayer
8 years ago
Luo Tao
27a42c2e3b
add SequenceConcatLayer in trainer_config_helpers
8 years ago
helinwang
5dd4612960
Merge pull request #1364 from helinwang/decorator
...
create buffered data reader decorator and tests
8 years ago
dangqingqing
29c5c878da
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into convert
8 years ago
dangqingqing
e6232d82e1
testing in mnist
8 years ago
Helin Wang
b2a969b7b3
fix according to comment
8 years ago
Helin Wang
7b50594f6d
fix test path
8 years ago
Helin Wang
f846362927
create buffered data reader decorator and tests
8 years ago
dangqingqing
733da9b9e6
data converter
8 years ago
dangqingqing
c10f2ebb44
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into convert
8 years ago
dangqingqing
d2dfa70deb
data converter
8 years ago
qiaolongfei
695b5a7fcd
change topology to layer
8 years ago
qiaolongfei
c57954e71c
use v2.layer in api_train_v2
8 years ago
王益
049df03660
Resovle conflict with upstream/develop
8 years ago
qiaolongfei
fdbc289ac3
add v2 activation, add comment for v2 layer
8 years ago
Yu Yang
f648b3aa56
Merge branch 'develop' of github.com:baidu/Paddle into feature/new_api
8 years ago
Yu Yang
8dc4c0538e
Add comments
8 years ago
Yu Yang
f9ea586431
Add get/set method
8 years ago
Yu Yang
c8067ed586
Rearrange event.
8 years ago
Yu Yang
059a162be5
Follow comments
8 years ago
Yu Yang
094d29aaad
Draft for parameters
8 years ago
Yu Yang
844d062007
Remove NAG optimizer
8 years ago
qiaolongfei
e0c3a6d602
optimize parameter name
8 years ago
qiaolongfei
0bd75a57e8
change layers to layer
8 years ago
qiaolongfei
281250f56f
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into v2-network
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
8e0d1d8be1
Complete update equation.
8 years ago
Yu Yang
e13d9c74a2
Expose Parameter to train event handler
...
* User can get/set parameter in event now.
* Add update equation
8 years ago
Yu Yang
176d44ef38
Merge branch 'develop' of github.com:baidu/Paddle into feature/new_api
8 years ago
Yu Yang
dc7f2031ca
Add comments for functions
8 years ago
Yu Yang
ce49124dae
Draft for new API
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
qiaolongfei
f3755dd455
add v2-layers
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
b8f3a5c433
Correct the wrong deletion of a single character
8 years ago
王益
b36df98d01
Correct Python identation
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
qiaolongfei
12e9c003b6
add optimizer
8 years ago
qiaolongfei
a3f0aed00d
add python v2 package
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
Yu Yang
0874a7e866
Fix typo in API.h
8 years ago
Yu Yang
3b5bed68d0
Add dump binary config
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
caoying03
cbbad4202a
delete the modification of SlopeInterceptLayer.
8 years ago
caoying03
08a817e3fb
delete unnecessary parameters and modifications for some mathmatical
...
layers.
8 years ago
caoying03
ce939b30ba
enable dropout rate in several computation layers.
8 years ago
caoying03
15a6252f8e
Merge branch 'develop' into enable_drop_in_average_and_max_layer
8 years ago
caoying03
e022c065d7
enable dropout in average and max layer.
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
hedaoyuan
c6d9d04004
Merge pull request #979 from reyoung/feature/fix_param_hidden_in_pydp2
...
A tiny fix in PyDataProvider2
8 years ago
Yu Yang
16ea66e8ed
Merge branch 'develop' of github.com:baidu/Paddle into feature/mnist_train_api
8 years ago
Peng Li
e031f0c4e8
Fix typo in PyDataProvider2.py
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
b063b0c405
Merge branch 'develop' into fix-crf-weight-and-coeff-bug
8 years ago
Yu Yang
4d81b36123
A tiny fix in PyDataProvider2
...
* hidden decorator kwargs in DataProvider.__init__
* also add unit test for this.
8 years ago
Peng Li
af820fb2eb
Merge branch 'develop' into fix-crf-weight-and-coeff-bug
8 years ago
dangqingqing
e4c492d3b8
change type to bool.
8 years ago
dangqingqing
5bb29ece7f
close log info in BN.
8 years ago
dangqingqing
f4f0f2daeb
Fix bug in config_parse.py when batch_norm layer is used in RecurrentLayerGroup.
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
gaoyuan
9f990d9059
Add unittest of the priorbox layer
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
wangyang59
454a1a2912
fixed a bug for demo/gan caused by batchNormLayer
8 years ago
gaoyuan
1048aee0f7
Add input layer check
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
wangyanfei01
7b08a98a8f
do pre-commit
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
79bcd05897
Merge branch 'develop' of https://github.com/baidu/Paddle into fix_data_sources
8 years ago
wangyanfei01
62b20ca033
refine data_sources.py and PyDataProvider2.py to make more readable
8 years ago
Yu Yang
454ca01af3
Fix Travis-CI build error.
...
* error because merge of #711 . The old issue don't check pre-commit
hooks.
8 years ago
Yu Yang
b993585925
Merge pull request #711 from Haichao-Zhang/input_types_check
...
adding input type check for python data provider
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
Yu Yang
2039070e9c
Merge pull request #668 from qingqing01/acc_image_proc
...
Accelerating image processing for CNN
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
Yiqun Liu
4823075f95
Merge pull request #651 from Xreki/warpctc
...
Integrate warp-ctc as WarpCTCLayer, including unit test and layer interface.
8 years ago
Luo Tao
16bebc4388
some tiny fix
8 years ago
dangqingqing
84d47ac205
follow comments
8 years ago
Liu Yiqun
78bdd32471
Merge branch 'develop' into warpctc
8 years ago
dangqingqing
9d2f49c662
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into acc_image_proc
8 years ago
hanchao
7f78912c9f
test code for issue #729
8 years ago
hanchao
7c76d0eeac
config_parser new feature at ISSUE #726
8 years ago
Tao Luo
7bb627d3f9
Merge pull request #409 from luotao1/conv
...
Support rectangle input for CNN
8 years ago
zhanghaichao
8e9ac0cc55
adding input type check for data provider
8 years ago
Liu Yiqun
7bb7fed833
Simplify the CMakelist.txt and fix typos.
8 years ago
dangqingqing
ae06debf23
Remove the C++ code and refine Python code.
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
Peng Li
1242e7944b
Merge branch 'develop' into fix-crf-weight-and-coeff-bug
8 years ago
Liu Yiqun
25f1fbc491
Merge branch 'develop' into warpctc
8 years ago
Peng Li
d60d34ef3f
Fix bug in python/paddle/trainer/config_parser.py
...
The dims for crf and crf_decoding layers are wrong, i.e. height and width are swapped.
8 years ago
wangyang59
09a5b8bd4d
consolidate img_conv.conf in test_NetworkCompare
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
Luo Tao
1d1a04c033
follow comments on rectangle CNN
8 years ago
dangqingqing
9d72cab0a4
Accelerating image processing for CNN
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
dangqingqing
1a8fcc00de
fix the code style
8 years ago
dangqingqing
86060772ed
Merge branch 'develop' of https://github.com/baidu/Paddle into config_parse_bug_fix
8 years ago
dangqingqing
4ca9c3955e
minor changes
8 years ago
dangqingqing
876fa1935d
Fix the config_parse.py if user does not set padding in the old config.
8 years ago
Luo Tao
496d64ebdb
Support rectangle input for CNN
8 years ago
Luo Tao
29727289fc
modify first level directory of english doc
8 years ago
Luo Tao
8c59437612
change is_train to is_generating
8 years ago
Luo Tao
ffbf00a022
Merge branch 'develop' into group
8 years ago
Yu Yang
9115ab1c11
Merge pull request #450 from reyoung/feature/pre-commit-hooks-scripts
...
Feature/pre commit hooks scripts
8 years ago
xuwei06
a6ad9a1608
Fix unittest
...
Change-Id: Ic80845c892c96c37a0df0ddc433fe1aeaa5a9d1c
8 years ago
xuwei06
bf6f690f31
Add ScalingProjection
...
out = w * input
where w is a parameter of size 1
Change-Id: Ife682d62323ceb1a20cbbf6269421b20a862d888
8 years ago
Luo Tao
0752b3b710
add layer check for recurrent_group
8 years ago
Yu Yang
836d61382f
Update pre-commit-config
...
* Check all files by pre commit hooks
8 years ago
qijun
a1ba3f442f
format python code in python directory
8 years ago
Yu Yang
4607d517bf
Add unittest for split datasource
...
* Fix #436
8 years ago
Yu Yang
afba3a2d46
Merge branch 'develop' of github.com:baidu/Paddle into feature/fix_pydataprovider_multiple_obj_bugs
8 years ago
Yu Yang
ae7452f47b
Merge branch 'develop' of github.com:baidu/Paddle into feature/fix_pydataprovider_multiple_obj_bugs
8 years ago
Yu Yang
33b81648a3
Fix bug in multple objects in define_py_sources
8 years ago
qijun
62c5389bad
fix test_layerHelpers unittest error
8 years ago
Tao Luo
ca0bb40c6e
Merge pull request #300 from QiJune/feature/sppnet
...
add SpatialPyramidPoolLayer c++ support
8 years ago
Luo Tao
aa560dbb97
fix bug in sum_cost
8 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
8 years ago
Tao Luo
eb3bf9ea64
Merge pull request #360 from emailweixu/sum_cost
...
Add SumCost
8 years ago
Haonan
45f6e1abee
change hlactivetype instead of act.name
8 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
8 years ago
qijun
9dd588b414
fix merge conflicts
8 years ago
gangliao
8295eb91bf
Merge pull request #287 from gangliao/bilinear
...
Add bilinear interpolation layer
8 years ago
qingqing01
cfc965d52c
Merge pull request #269 from wangyang59/deconv
8 years ago
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
8 years ago
qijun
e2c0713589
follow comments
8 years ago
luotao1
65af9f9495
modify the format of diff information in protostr ( #398 )
8 years ago
liaogang
db1757556e
Follow comments
8 years ago
qijun
db569f293e
fix merge conflict
8 years ago
qijun
5ece5c96ad
add python wrap for sppLayer
8 years ago
xuwei06
38764bf908
Add sum_cost to document
...
And rebase
Change-Id: I7ea234b3aa8fc70675af15d91db08242c43fb5ff
8 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
8 years ago
liaogang
5a1e7dbc6a
Fix conflict
8 years ago
luotao1
e802471c58
abstract outputSize function in CNN-related layers ( #314 )
8 years ago
liaogang
91a4064e35
Follow comments
8 years ago
liaogang
bd38facada
Fix conflict
8 years ago
liaogang
57348806b5
Follow comments
8 years ago
wenboyang
c64cd6feb4
Use diff to compare config unittest ( #363 )
...
Fix #342
8 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
8 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.
8 years ago
liaogang
fd4eeaf59c
Merge conflict with maxout layer
8 years ago
liaogang
ddfff3a7fd
Add bilinear interpolation layer
8 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
8 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
8 years ago
emailweixu
d6944dec16
Sequence tagging demo ( #225 )
8 years ago
luotao1
652b83478f
remove deprecated start input in img_pool_layer ( #237 )
8 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
8 years ago
luotao1
ac383dd021
add missing layer_attr ( #234 )
8 years ago
Yu Yang
76fb74dc2e
Fix install_docker.rst and data_sources file open mode
...
* Follow #223
* Fix #222
8 years ago
Yu Yang
58f896c3f4
Speed up PyDP2, support numpy.float array ( #207 )
8 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.
8 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
8 years ago
Zrachel
6d21ecef54
add cost_type constraint to weighted_cost interface ( #206 )
8 years ago
luotao1
43f7d7b768
add interface and unittest for nce layer ( #180 )
...
* add interface and unittest for nce layer
* follow comments
8 years ago
luotao1
199a6a4b5c
add weight for cost layer interface ( #177 )
8 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
8 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
8 years ago
luotao1
1fc4352754
refine sparse momentum api and unittest ( #126 )
...
* refine sparse momentum api and unittest
* fix unittests bug
8 years ago
luotao1
4615c5172c
beam search api and unitest in hierarchical rnn ( #122 )
8 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`
8 years ago
Haonan
1c56e0dc9e
fixed the name issue for conv_operator and added a test case ( #131 )
8 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
8 years ago
luotao1
ffc341675d
Add parallel_nn api and unittest ( #110 )
...
* Add `device` parameter to ExtraAttr in trainer_config_helpers.
* add unittest for it.
8 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
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
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