Commit Graph

482 Commits (a0ce05df1eb6ae394ea538f1a0bcc27fdbb1852d)

Author SHA1 Message Date
yangyaming 7ee942bba8 Add scale factor for smoothL1 and smoothL1Bp
8 years ago
liaogang 6237f6f57a revert clang-format
8 years ago
liaogang f27fd9dc28 follow comments
8 years ago
Yu Yang 2ac8e6a518 Try to remove ParallelParameter.
8 years ago
dangqingqing 4d23a942c7 fix code format
8 years ago
dangqingqing 1fd00758ac SmoothL1 loss
8 years ago
dangqingqing 2c2947f80e Fix a bug for TransLayer and add unit testing.
8 years ago
Luo Tao e6366e3496 update with comments
8 years ago
Luo Tao c1738e29c8 Merge branch 'develop' into stride
8 years ago
Yu Yang 36524bb2fa Add Error in FuncConfig.
8 years ago
Luo Tao dd613047b1 refine annotation
8 years ago
Luo Tao a5734f7c1c Merge branch 'develop' into stride
8 years ago
Cao Ying d94e1f516c Merge pull request #1754 from lcy-seso/fix_bug_of_AgentLayer
8 years ago
caoying03 ec5bb80ddd fix a bug of AgentLayer when using scheduled sampling in
8 years ago
Liu Yiqun 1628fb7cda Add the check of image size in exconv.
8 years ago
Yu Yang a0683f60bd Fix hsigmoid layer comments.
8 years ago
Luo Tao d369577fed add reversed poolSequenceWithStride
8 years ago
Luo Tao 9a2af02f7c Merge branch 'develop' into stride
8 years ago
Luo Tao 53da530d90 package avg_gpu_backward
8 years ago
Luo Tao cbbec59547 adjust poolSequenceWithStride interface for average and max
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
8 years ago
Luo Tao 9298a9ec0d stride pooling for seqlastin and seqfirstin
8 years ago
gaoyuan 21b7f4a604 Remove redundancy codes
8 years ago
gaoyuan 3bce32bae2 Add create matrix pointer funtion
8 years ago
gaoyuan 17c697c754 Remove redundancy codes
8 years ago
gaoyuan 784e242bd5 Remove redundancy codes
8 years ago
gaoyuan 57c355a117 Remove redundancy codes
8 years ago
wangyang59 48a6168c0d following comments from qingqing01
8 years ago
wangyang59 b16c0a84e6 only keep CudnnConvBaseLayer and let both cudnn_conv and cudnn_convt point to it
8 years ago
wangyang59 3493f5bd24 consolidate CudnnConv and CudnnConvTrans files into one file
8 years ago
wangyang59 ff127eb6fe fixed format
8 years ago
wangyang59 07c1ea258f python interface for convTransProjection and convTransOperator
8 years ago
wangyang59 6b7f647487 deconv projection/operator implementation
8 years ago
wangyang59 b8afb14098 cudnn deconv implememtation
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
qingqing01 5a933b445e Merge pull request #1592 from Noplz/smooth_l1_layer
8 years ago
Luo Tao f6f9fd7a66 remove unnecessary param in degradeSequence
8 years ago
Yuan Gao b3313f2b6d Update CostLayer.h
8 years ago
gaoyuan 1ec66a334b change resizeOrCreate to create
8 years ago
Luo Tao 7a81327c28 remove compile option "with_metric_learning"
8 years ago
gaoyuan 25a525bb09 Fix annotation
8 years ago
Peng Li bf838034d6 Merge branch 'develop' into fix-crf-weight-and-coeff-bug
8 years ago
gaoyuan 7ff9764fc0 smooth_l1_loss_layer
8 years ago
gaoyuan eea0097dcb NormalizeLayer for SSD
8 years ago
gangliao 6f313371ea Merge pull request #1353 from gangliao/concat
8 years ago
liaogang 950b4a3126 change return type Argument
8 years ago
liaogang fbf864362d Update python getLayerOutputs
8 years ago
Liang Zhao 8fded24c75 implement top k classification error in class matrix
8 years ago
Luo Tao 0b673756f1 add SequenceReshapeLayer in trainer_config_helpers
8 years ago
Luo Tao 27a42c2e3b add SequenceConcatLayer in trainer_config_helpers
8 years ago
Yu Yang be3adec35d Merge pull request #1372 from reyoung/feature/unify_print_layer_evaluator
8 years ago
Yu Yang 948218dab9 Unify PrintLogic in PrintLayer/ValuePrinter.
8 years ago
Yu Yang 2c07dd50ab Unify print layer, ValuePrinter evaluator.
8 years ago
Peng Li 701d02459d Fix bug in processing input with static parameter in seqconcat layer
8 years ago
liaogang 7c5fd23106 Update MultiGradientMachine::getLayerOutput
8 years ago
xutianbing ae3ae08473 resolve merge confilicts
8 years ago
xutianbing 877decdccc merge Daoyuan's FuncArg, address one of the comments.
8 years ago
xutianbing a948eea3ed clean unused code.
8 years ago
xutianbing 58827e3e96 update forward/backward in CosSimLayer and CosSimVecMatLayer.
8 years ago
Yu Yang ed808f5ef6 Merge pull request #1251 from reyoung/feature/add_override_to_layer_init
8 years ago
Haonan 73dcf2cd58 improving code comments
8 years ago
reyoung e7419d690c Remove virtual in override
8 years ago
Yu Yang 2859532df0 Using override keyword in Layer
8 years ago
Haonan 6245fed240 rotate_layer python interface fixes
8 years ago
Haonan 2558c3f15a revisions according to reviews
8 years ago
Haonan 55eb2fcffa format correction
8 years ago
Haonan f5995300c5 rotate layer cpp files
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
wangyang59 6da7283475 make gru_group parameters sharable
8 years ago
dangqingqing abeb3aae84 Minor changes
8 years ago
dangqingqing f56084b451 Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into pad_op
8 years ago
dangqingqing 44e3c724f9 Refine and comments
8 years ago
Yu Yang 7f0ad62014 Merge pull request #1149 from reyoung/feature/ErrorHandlingInPaddle
8 years ago
dangqingqing 42ea1376e2 bug fix in GatedRecurrentLayer which only occurs in predicting or job=test mode.
8 years ago
dangqingqing 8d47499e1d update code
8 years ago
Yu Yang ec790e1050 Rename Status => Error.
8 years ago
Yu Yang 9bc1203400 Add more comments, also add __must_check.
8 years ago
dangqingqing 47e88f4a2d update code
8 years ago
Yu Yang 6c20e08b04 Try using status to handle Paddle Error
8 years ago
xutianbing e9794214cb Address further comments.
8 years ago
xutianbing 8560ce69ff Daoyuan's comments about SequenceArg.
8 years ago
xutianbing 9edfd20031 use Daoyuan's SequenceArg.
8 years ago
xutianbing 23ac0b78cb merge Daoyuan's FuncArgs, pass the ContextProjection test.
8 years ago
hedaoyuan ee2da539de Merge branch 'develop' of https://github.com/baidu/Paddle into buffer
8 years ago
hedaoyuan df9be2d483 fix CrossMapNormalFunc and ContextProjectionFunc(remove inouts argument)
8 years ago
dangqingqing 93fef79e1f fix build
8 years ago
dangqingqing c8817a192b merge upstream
8 years ago
dangqingqing 8b5431d5e1 padding operation
8 years ago
Yu Yang d41ac09090 Merge pull request #1017 from gangliao/external
8 years ago
hedaoyuan 41c52d3b0c Modify the argument type of ContextProjectionFunc
8 years ago
hedaoyuan 68156c88c5 Modify the argument type of Function
8 years ago
liaogang be8b126845 Move Execepts into arch/osx dir
8 years ago
liaogang fc47492f41 Fix merge conflict bug and glog
8 years ago
liaogang b090ce329a Fix conflict with develop
8 years ago
xutianbing ea4d08dab6 update interface of context projection functions, Tensor -> Matrix/Vector
8 years ago
xutianbing 2c37ad7edc combine data/weight to ContextProjectionBackward for clean code
8 years ago
xutianbing f23a11702a add Context Projection functions to Layer's forward and backward,
8 years ago
liaogang de3c15277f Fix glog check type unmatch
8 years ago
liaogang c8d0791acc Add common.h and remove DisableCopy and Typedefs
8 years ago
Yu Yang 2016f9222d Merge pull request #989 from gangliao/utils_dep
8 years ago
Peng Li 89bf2e44f0 Change float to real in NormLayer.h
8 years ago
liaogang f09989a1b2 Remove utils/CommandLineParser.h
8 years ago
qingqing01 b53bdcdc67 Merge pull request #867 from Noplz/ssd
8 years ago
Peng Li 3527939896 Fix merge and style error
8 years ago
gaoyuan 8d24931588 Change member variables from public to protected
8 years ago
Peng Li af820fb2eb Merge branch 'develop' into fix-crf-weight-and-coeff-bug
8 years ago
gaoyuan f2029298a7 Change type float to real.
8 years ago
tianbingsz 42e121791e Merge pull request #854 from hedaoyuan/cmrnorm
8 years ago
hedaoyuan bf32411191 Merge branch 'develop' of https://github.com/baidu/Paddle into cmrnorm
8 years ago
Peng Li f1e31ecada Merge branch 'develop' into fix-crf-weight-and-coeff-bug
8 years ago
xutianbing 4fbf94993b Refactor MUL functions, pass object reference instead of shared_ptr.
8 years ago
xutianbing 706c572424 Matrix API refactor, when passing parameters, convert shared_ptr (MatrixPtr) to
8 years ago
hedaoyuan 148bd4d0b3 add Layer::createFunction
8 years ago
Yu Yang af5d954bdf Clean BatchNorm Code.
8 years ago
gaoyuan 9f990d9059 Add unittest of the priorbox layer
8 years ago
qingqing01 bd3f976a85 Merge pull request #906 from emailweixu/check_cnn_input_size
8 years ago
xuwei06 7462692d4c Formatted by pre-commit
8 years ago
hedaoyuan cee9346804 add some comments
8 years ago
hedaoyuan d11e2b4013 Remove some useless code
8 years ago
hedaoyuan 22a5e478f3 move Function to function dir
8 years ago
hedaoyuan d2d0010609 add CrossMapNormalGradFunc
8 years ago
gaoyuan 520342ed91 Fix code format
8 years ago
gaoyuan 707a9c9bbd Fix variable name and add the annotation
8 years ago
hedaoyuan 9171ab0ac1 Merge branch 'develop' of https://github.com/baidu/Paddle into cmrnorm
8 years ago
hedaoyuan 4ebb3eb759 imporve Function
8 years ago
gangliao 6aed264f0a Merge pull request #896 from gangliao/glog
8 years ago
xuwei06 bcd280d6bd Check the input size for convolution.
8 years ago
Zhizhong Su 9a243d7a23 fix a few bugs related to frame size.
8 years ago
liaogang 3d0e73bd32 Remove custom glog-like and gflags-like macros
8 years ago
gaoyuan 9600932650 Add fake gpu support of the priorbox layer for the moment
8 years ago
gaoyuan 39d689e253 Format the priorbox code
8 years ago
yuan 0eac399280 priorbox layer for ssd
8 years ago
Yu Yang f62f5181f1 Use explicit type for std::transform.
8 years ago
Yu Yang d5c0eeda00 Remove m4 when generate protobuf
8 years ago
Yu Yang 068bfbb817 All file pass pre-commit hook
8 years ago
Yi Wang e9549cbb78 Change "Baidu, Inc" into "PaddlePaddle Authors"
8 years ago
Yiqun Liu 4823075f95 Merge pull request #651 from Xreki/warpctc
8 years ago
Liu Yiqun 78bdd32471 Merge branch 'develop' into warpctc
8 years ago
hedaoyuan 671db8deaa Merge branch 'develop' of https://github.com/baidu/Paddle into tensor_merge
8 years ago
hedaoyuan e63f1e6952 merge from cooder
8 years ago
Liu Yiqun 46ef2bc694 Merge branch 'develop' into warpctc
8 years ago
Luo Tao 7830893a83 fix conflict
8 years ago
Peng Li 62eaa1fbab Move one line with identical value across loops out of the loop.
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
wangyang59 70b78b74ff fix a bug in BatchNormBaseLayer.cpp and add a test for it
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
wangyang59 60bf1a476a Modifed ExpandConvBaseLayer to unify paras between expand and cudnn
8 years ago
Peng Li e9c61b67e2 Fix bug in processing instance weight and coeff in CRFLayer
8 years ago
Liu Yiqun a816443e11 Add submodule warp-ctc.
8 years ago
Luo Tao 1d1a04c033 follow comments on rectangle CNN
8 years ago
Liu Yiqun 4d487c6f35 Integrate warp-ctc as WarpCTCLayer, including unitest and layer interface.
8 years ago
Luo Tao 96615fe329 merge develop, fix conflict
8 years ago
Luo Tao 80c68d38ff clang format .cc .h .cpp .c and .hpp file
8 years ago
Luo Tao 496d64ebdb Support rectangle input for CNN
8 years ago
Yu Yang 9115ab1c11 Merge pull request #450 from reyoung/feature/pre-commit-hooks-scripts
8 years ago
xuwei06 a6ad9a1608 Fix unittest
8 years ago
xuwei06 bf6f690f31 Add ScalingProjection
8 years ago
dangqingqing 48ea047100 Bug fix in testing mode.
8 years ago
Yu Yang 836d61382f Update pre-commit-config
8 years ago
Haonan 5591292b7a modifications according to comments
8 years ago
Haonan 728defbec9 copy the data when createSparseMatrix
8 years ago
Haonan 069d0004dc multi_binary_cross_entropy when ids vector is provided
8 years ago
Tao Luo ca0bb40c6e Merge pull request #300 from QiJune/feature/sppnet
8 years ago
Tao Luo eb3bf9ea64 Merge pull request #360 from emailweixu/sum_cost
8 years ago
qijun 9dd588b414 fix merge conflicts
8 years ago
gangliao 8295eb91bf Merge pull request #287 from gangliao/bilinear
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 7a322df0a8 deconv implementation mionr changes in ConvBaseLayer.cpp and 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 e68b50ad09 fixed a bug in refactoring ExpandConv/TransLayer
8 years ago
wangyang59 2575b74fee refactored ExpandConvLayer and ExpandConvTransLayer with ConvBaseLayerCpu
8 years ago
wangyang59 aa2cd2ce8f Refactor ExpandConvTransLayer to share codes with ExpandConvLayer
8 years ago
wangyang59 bda259bb18 added more test on convTrans layer and comments
8 years ago
wangyang59 5c88f07262 initial take on deconv layers
8 years ago
qijun dfbde28ad3 add some code comments for SppLayer
8 years ago
qijun eaf3dec9c5 follow comments
8 years ago
qijun 70e04683dd add getSize method for PoolProjection
8 years ago
qijun e2c0713589 follow comments
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
8 years ago
xuwei06 ebad8e525d Add SumCost
8 years ago
liaogang 5a1e7dbc6a Fix conflict
8 years ago
luotao1 e802471c58 abstract outputSize function in CNN-related layers (#314)
8 years ago
liaogang 45b8c47e04 Add img_size for unit test
8 years ago
liaogang bd38facada Fix conflict
8 years ago
liaogang 57348806b5 Follow comments
8 years ago
qijun b282caf4f6 Merge remote-tracking branch 'baidu/develop' into feature/sppnet
8 years ago
qingqing01 5acf136615 Bug fix in CudnnConvLayer, which will lead to destruction error. (#317)
8 years ago
qijun 766a61c374 fix conflict with baidu/develop
8 years ago
qijun fcf177fc4b reuse code of PoolProjection in PoolProjectionLayer
8 years ago
qingqing01 45c81a414f Add job=time in trainer, refine cudnn_conv to reduce gpu memory and speed up training. (#218)
8 years ago
qijun cdac60f616 add SpatialPyramidPoolLayer c++ support
8 years ago
liaogang fd4eeaf59c Merge conflict with maxout layer
8 years ago
liaogang ddfff3a7fd Add bilinear interpolation layer
8 years ago
gangliao 9c5c38fa2a FIx check type unmatch in MaxOutLayer (#242)
8 years ago
luotao1 3dd8c9bea4 add maxout layer, including interface and unittest (#229)
8 years ago
luotao1 e1f57bfd66 add base class for seqlastin/max/average layer (#187)
8 years ago
luotao1 91df606280 remove some copyfrom in AgentLayer and ExpandLayer, fix warning in seq2seq config (#183)
8 years ago
luotao1 cebdb66768 hierarchical rnn document, add new config example (#106)
8 years ago
luotao1 43f7d7b768 add interface and unittest for nce layer (#180)
8 years ago
qingqing01 191fafe355 support rectangle padding, stride, window and input for PoolProjection (#115)
8 years ago
hedaoyuan b52039bd11 some bug fix for sparse matrix (#133)
8 years ago
emailweixu b15a4783cb Correctly handling multiple inputs and integer inputs for recurrent_g… (#114)
9 years ago
liuyuan 2289c141c2 Refine comment for CRF related headers. (#117)
9 years ago
qingqing01 c1c07bbef6 Update CudnnConvLayer.cpp
9 years ago
dangqingqing 95da095d10 fix cudnn conv bug which occurs in image classfication demo in GTX GPU
9 years ago
Yu Yang 7eb29f264b Try to fix MultinomialSampler (#102)
9 years ago
Yu Yang 2c5a6ac095 Optional fields to shrink generated proto size (#93)
9 years ago
xuwei06 05a97ab50e Further fix the memory for Hierarchical RNN
9 years ago
Yu Yang c7762da330 Merge branch 'master' into merge_icode
9 years ago
Haonan 0f91ea7ebb use HPPL_STREAM_DEFAULT for layer computation
9 years ago
Haonan 688eeefab3 fixed issues with synchronizing streams when copy from gpu to cpu
9 years ago
xuwei06 7481429f99 Change cos_sim to use CosSimLayer layer when size=1 and rename convex_comb_layer to linear_comb_layer
9 years ago
qingqing01 7dbc092c87 fix cudnn version number for batch norm. (#71)
9 years ago
qingqing01 dcd87fd689 fix CUDNN_VERSION for backward of CudnnBatchNormLayer (#61)
9 years ago
Yu Yang fbfd24e6d9 revert CRFLayer, remove wrong gpu support
9 years ago
liaogang 291318e5a2 delete Bits.h and move its func into utils/Util.h
9 years ago
dangqingqing 54d4968d38 Refine code and comments for CRMNormLayer.
9 years ago
qijun 66be6fed34 add some source code comments
9 years ago
luotao02 260c734c95 fix bug in trainer_config_helpers
9 years ago
dangqingqing 9c0895ee45 Add commits for recurrent layer and lstm layer.
9 years ago
dangqingqing f063752366 Adjustment doc and code for CostLayer, GradientMachine and DataProvider.
9 years ago
zhangjinchao01 b72beee4f0 fix dash and space bug,
9 years ago