dongzhihong
6bac3e17b5
"remove unused test net modified"
9 years ago
dongzhihong
d98e299d3b
"keep same with uniform random op"
9 years ago
dongzhihong
b7ee1e7d9c
"backward check todo"
9 years ago
dongzhihong
6535a7b001
Merge remote-tracking branch 'origin/develop' into random_op
9 years ago
Qiao Longfei
e31a469ee0
add gradient test framework ( #3226 )
...
* init grad op checker
* can run
* add GradeChecker class
* use get_numeric_gradient
* refine code
* add softmax and cross entropy auto grad test
* use close to judge op_grad and numeric_grad
* add cpu and gpu compare
* add comments
* add support_gpu
* fix allclose
* fix name error and symplify code
* optimize gradient checker
* add test_cross_entropy_op
* update gradient_checker.py
* optimize code
* use random.uniform instead of random.random
* fix type bug
* optimize check_grad
* put SupportGPU into OperatorBase
* typo
9 years ago
dongzhihong
23ac845921
Merge remote-tracking branch 'origin/develop' into random_op
9 years ago
superjom
e9a92e3ed8
add fc test
9 years ago
superjom
001b62a4c7
finish simple rnn in python
9 years ago
dongzhihong
8804b242d8
Merge remote-tracking branch 'origin/develop' into random_op
9 years ago
dongzhihong
52d2ebdaef
"test gaussian random in python side"
9 years ago
Yu Yang
b861c01963
Merge branch 'develop' into feature/uniform_random_op
9 years ago
fengjiayi
e7b3e13959
Rewrite test based on new python test format
9 years ago
fengjiayi
5d2b3fb09d
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into dev_add_FillZerosLikeOp_test
9 years ago
Yu Yang
ffd6c3cea6
Merge branch 'develop' into feature/change_op_creation
9 years ago
Yu Yang
e5847924f3
Merge branch 'develop' of github.com:baidu/Paddle into feature/uniform_random_op
9 years ago
Qiao Longfei
493396d81c
add support_gpu ( #3304 )
...
* add support_gpu
* fix allclose
* fix name error and symplify code
9 years ago
dongzhihong
58561d8f56
Merge remote-tracking branch 'origin/develop' into random_op
9 years ago
Yu Yang
d7f0eb6baf
Merge branch 'feature/change_op_creation' into feature/uniform_random_op
9 years ago
Yu Yang
460326f4b2
Fix CI Test
9 years ago
Yi Wang
efa50a4525
Merge pull request #3181 from qingqing01/sigmoid_bp
...
Sigmoid backward implementation.
9 years ago
Yu Yang
9f816352e5
Follow comments
9 years ago
Yan Chunwei
7665bdba13
Rnn forward logic test ( #3291 )
...
* finish forward debug
9 years ago
Yu Yang
5d074c917c
Merge branch 'develop' into feature/change_op_creation
9 years ago
gangliao
ec2c753c3d
Merge pull request #3290 from PaddlePaddle/cblas_new
...
Import HPC linear algebra libs as cblas target for cc_library deps
9 years ago
Yu Yang
fd0bdb4f8a
Merge branch 'feature/change_op_creation' into feature/uniform_random_op
9 years ago
dangqingqing
9f490c7748
update to develop branch.
9 years ago
liaogang
7ecdf6ad93
Add py_test
9 years ago
Yu Yang
e376bda42c
Add uniform random operator
...
It can be run both CPU/GPU. configure attributes are:
* min: the min value of uniform random
* max: the max value of uniform random
* dims: the dimension of output tensor
* seed: the random seed of uniform random. 0 means generate a seed each
time.
9 years ago
dangqingqing
f72cefabce
fix typo and resolve conflicts.
9 years ago
Yu Yang
a1e16bb5d3
Merge branch 'develop' into feature/change_op_creation
9 years ago
dongzhihong
2447c34a0e
merge origin/develop
9 years ago
Yan Chunwei
c72253127f
crossentropy grad op ( #3186 )
...
* init cross entropy graident
* add crossentropy grad op
* remove details
* fix static compile
9 years ago
QI JUN
10ee3dcbcf
Merge pull request #3248 from QiJune/refine_op_test_compare
...
use isclose instead of assert_almost_equal
9 years ago
Yu Yang
b4ebb3c85c
Change attr_type_pb2 to attribute_pb2
...
Make ci pass
9 years ago
helinwang
ef8de51587
Merge pull request #3247 from Yancey1989/convert_all_dataset
...
convert dataset into recordio format
9 years ago
fengjiayi
9b0fce516a
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into dev_add_FillZerosLikeOp_test
9 years ago
qijun
dcdd2903fe
use isclose instead of assert_almost_equal
9 years ago
Yancey1989
cbabaa4544
convert dataset into recordio format
9 years ago
dangqingqing
7fdfe1a9c7
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into unit_test
9 years ago
dangqingqing
c540aa040f
Refine unit test in op_test_util
9 years ago
Yu Yang
89d33ff83f
Complete chagne op creation method.
...
Currently use `Operator("fc", X="x", W='w1', B='b1')` as operator
creation method.
Fix #3198
9 years ago
Yu Yang
a239418bdf
Fix unittest for operator.py
...
Rename operator.py to op.py because it is conflict with protobuf
9 years ago
Yu Yang
53f85df1ab
Start doing `python.framework.operator`
9 years ago
Yu Yang
aaf2d66db8
Merge branch 'develop' of github.com:baidu/Paddle into gradient_check_utils
9 years ago
fengjiayi
df84e39a00
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into dev_add_FillZerosLikeOp_test
9 years ago
Qiao Longfei
d953611e86
Softmax grad op ( #3164 )
...
* init softmax grad op
* add compute code
* export Backward to python
* update test ,export op.type to python
* update python test, fix compute bug
* update unit test
* use eigen
* optimize eigen code
* add gpu test
* register softmax_grad GPU kernel and fix test bug
* typo
* follow comments
9 years ago
dangqingqing
4eb25b4793
update code.
9 years ago
Yu Yang
133541ee41
Merge codes
9 years ago
Yu Yang
fbcadb75c6
Merge branch 'develop' of github.com:baidu/Paddle into gradient_check_utils
9 years ago
fengjiayi
589c3d864b
Rewirte test based on python test frameworks
9 years ago
Qiao Longfei
cc6c33b8b2
export Backward to python ( #3174 )
...
* export Backward to python
9 years ago
dangqingqing
bd01cea1f3
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into sigmoid_bp
9 years ago
dangqingqing
0560733c2e
Add sigmoid backward implenmention.
9 years ago
Yu Yang
3e812383bc
Merge branch 'develop' of github.com:baidu/Paddle into gradient_check_utils
9 years ago
Yu Yang
a0590004ce
Add __all__ in `gradient_checker.py`
9 years ago
qijun
341d1880ee
Merge remote-tracking branch 'baidu/develop' into op_gpu_test
9 years ago
Yu Yang
fcc28ccea2
Add comments
9 years ago
Yu Yang
7c42aad412
Initialize Gradient Checker
...
Add get_numeric_gradient API and its unittest.
9 years ago
qijun
81cc7a3227
merge baidu/develop
9 years ago
fengjiayi
244c343b66
Fix a test error
9 years ago
fengjiayi
3a8017d148
Merge branch 'backward_dev' into dev_add_FillZerosLikeOp_test
9 years ago
fengjiayi
c59fe7a039
Add unittest for FillZerosLikeOp
9 years ago
fengjiayi
8bd73159c7
Add unittest for `FillZerosLikeOp`
9 years ago
liaogang
c36a093c5e
Fix conflict
9 years ago
Yancey
ec9d4d527e
Add start_record interface ( #3128 )
...
* add start_record interface
* call master client in reader
* update
* add demo code in comments
* update comments
* delete unittest for recordio reader
9 years ago
liaogang
1e676f684d
Add mean op unit test in python
9 years ago
Yu Yang
5d134a03f1
Refine remove std::shared_ptr in Scope
...
* Make interface of Operator to `const Scope&`
9 years ago
qijun
cf5ac5888e
reduce gpu memory allocation in op_test
9 years ago
qijun
61f94f0002
add EIGEN_USE_GPU macro to op.cu file
9 years ago
qijun
4a1f7bd21f
add gpu python op test
9 years ago
qijun
4cc42171db
merge baidu/develop
9 years ago
dongzhihong
933e55eb06
fix conflict
9 years ago
dongzhihong
47556689d4
"remove unused code"
9 years ago
dongzhihong
4d8ece8a3c
"update"
9 years ago
Yan Chunwei
aee0d3ec5f
RecurrentOp implementation ( #2890 )
...
* add rnn op interfaces
* add Run
* rename state -> memory
* change state -> memory
* make compilable
* add .cc
* init test
* add op fake implementation
* add CreateStepNet and CreateScopes implementation.
* add TODO list
* init memory attributes.
* add LinkMemories
* add PlainNet fake implementation
* Use std::shared_ptr<Scope> in the OpRunContext.
* add test
* disable mutable_data
* finist segmentInput function
* enable mutable_data with a trick
* RNNOp test.
* enable LinkMemories with mutable_data
* update SegmentInput function with comments
* finish ConcatOutput function
* reformat inputs and attributes
boot_memories
* Refine unit test.
* Refine unit test.
* modify inlinks.
* add OpDesc to Net
* fix bug and update unit test.
* move step scopes from inputs to outputs
* fix merge conflict, update SegmentInput function
* add RecurrentOpProtoAndCheckerMaker.
* clean the codes
* Abstract GetStepScopes and GetMaxSeqLen function
* refine LinkMemories
* Refine code and add some comments.
* add backward core
* update for develop branch.
* add forward core
* add forward algorithm
* Add RecurrentGradientAlgorithm implenmention.
* use CopyFrom and Slice function in RecurrentOp
* add unit test for LinkMemories.
* fix unit test.
* use the latest tensor.h, solve conflict
* add maker
* move SegmentInput and ConcatOutput to details nameplace
* unit test for RecurrentGradientAlgorithm.
* apply OperatorBase
* apply net operator.
* move memorys to attributes
* add RecurrentGradientOp
* open test unit test in recurrent_network_op_test.
* revert some files.
* add RecurrentArgument and Link struct to simplify member variable.
* rename.
* move recurrent_op from framework to operators
* add RecurrentGradientOp Init
* fix name
* fix Link.interal/external name
* use namespace operators instead of framework
* clean the code
* use the latest add_op and mul_op, don't test backward now
* Remove ScopePtr and OperatorPtr
* add get_net to pybind
* add test_recurrent_op.py
* add random into gen_tensor
* update to develop branch and refine some code.
* add some comments.
9 years ago
qingqing01
44923db6ee
Merge pull request #3082 from qingqing01/multi_gpu_infer
...
Fix bug for multi-GPU inference.
9 years ago
武毅
c10121e13c
[Done] Sync master client between passes and fix recordio split ( #2948 )
...
* fix recordio split and task passes
* update for pre commit
* update
* update, still need to sync client wait for pass end.
* able to sync passes for task dispatching
* update to comment
* update
* fix yapf check
* why local pre-commit fails? version is the same
* fix race condition
* update
* fix race condition
* this still have duplicate problem in unit test
* update
* update
* update by comment
* update
9 years ago
dangqingqing
7c13292cff
Fix bug for multi-GPU inference.
9 years ago
Cao Ying
eff17a6859
Merge pull request #3049 from lcy-seso/fix_v2_bachnorm_parse
...
enable v2 automatically sets using cudnn-batch norm.
9 years ago
caoying03
ccdc262848
enable v2 use cudnn batch norm automatically.
9 years ago
dongzhihong
e5cb9b77b6
"fix gen list"
9 years ago
dongzhihong
a22567ebef
"fix almost equal error"
9 years ago
dongzhihong
984225ecf1
"fix operator"
9 years ago
qijun
358261f0bd
fix gpu build error
9 years ago
Yu Yang
afe7bf6179
Merge pull request #3032 from reyoung/feature/middle_level_net_api
...
Feature/middle level net api
9 years ago
Yu Yang
61cd828f3a
Follow comments
9 years ago
Yu Yang
754f0c68da
Fix unittest
9 years ago
dongzhihong
32c15a2919
"random op test"
9 years ago
Yu Yang
385bd4648e
Make C lib in `paddle.v2.master.client` lazy load
...
Currently, WITH_GOLANG is a compiling flag, and not all Paddle binary
enable `WITH_GOLANG=ON`. So we cannot ensure that every paddle has
`master.so`. Make load that C libary lazily could let the user run
Paddle without `WITH_GOLANG=ON`.
9 years ago
Yu Yang
b80590d70b
Remove test_plain_net
9 years ago
Yu Yang
0467cd2dfe
Merge branch 'develop' into feature/middle_level_net_api
9 years ago
Helin Wang
3ff0a9fbb1
Implement distributed training save model, improve master.NewClient interface
9 years ago
Yu Yang
0ceeacbe45
Make Scope can lookup variable name by variable
...
* Refine unittest also
9 years ago
Yu Yang
0ab678e9e2
Add unittest for network
9 years ago
Yu Yang
c14f3e8ff2
Merge branch 'develop' into feature/middle_level_net_api
9 years ago
Yu Yang
9e4fac1ef4
Complete Add Op
9 years ago
Yu Yang
684563660b
Init commit
9 years ago
Yu Yang
1294b3c53e
Expose Net to Python ( #2967 )
...
* Expose Net to Python
* Expose PlainNet to Python, make python can add_op, complete_add_op
* Provide a low level api to manipulate Net
* Unittest for Net::DebugString
9 years ago
qijun
06acd6d0cb
add unittest for some basic OpKernels
9 years ago
Qiao Longfei
2685765905
add cross-entropy-op ( #2965 )
...
* add cross-entropy-op
* add infershape and compute
* implement Infershape and compute of onehotcrossentropy op
9 years ago
livc
ea09edc991
pass precommit
9 years ago
Yu Yang
a98346f4cd
Add comment to `OpTestMeta` ( #2968 )
9 years ago
Qiao Longfei
e3b27d1998
Add sgd op ( #2950 )
...
* a simplest SGD op
9 years ago
Yu Yang
21baa94b04
Merge branch 'feature/expose_net_op' into feature/middle_level_net_api
9 years ago
Yu Yang
d52913401d
Merge pull request #2947 from reyoung/feature/add_op_test
...
Feature/add op test
9 years ago
Yu Yang
0380bfb3cf
Expose Net to Python
...
* Expose PlainNet to Python, make python can add_op, complete_add_op
* Provide a low level api to manipulate Net
* Unittest for Net::DebugString
9 years ago
Yu Yang
e8304bd92a
Merge pull request #2945 from reyoung/feature/grouped_ops
...
Skeleton Of fully connected operator
9 years ago
qingqing01
c1ebb3143f
Merge pull request #2785 from wanghaoshuang/voc_dataset
...
Add voc2012 dataset for image segment
9 years ago
Yu Yang
3402b6ad39
Add Unittest of add_two_op
9 years ago
Yu Yang
d3373c5b85
Skeleton Of fully connected operator
...
* Fc operator is a grouped operator, which combined by may internal
operators.
* InferShape & Run a FC operator in Python.
9 years ago
Yu Yang
a89c7ffa94
Make Tensor <--> Numpy interactive in tensor.h
...
* Follow review comments to seperate Tensor Numpy interactive methods in
tensor.h.
* Simplify logic for `CastToPyBufferImpl`, make it as one struct and in
details namespace.
* Remove `Scope` expose in Python, since it currently is useless.
* Remove some debug functions.
9 years ago
wanghaoshuang
ceb9a73aaa
fix import err
9 years ago
wanghaoshuang
b142a6b063
Merge branch 'develop' of https://github.com/paddlepaddle/paddle into voc_dataset
9 years ago
wanghaoshuang
302c4f11d1
rename voc_seg to voc2012
9 years ago
Yu Yang
bde90be71b
Read/Write a Tensor Python
...
Basically following
http://pybind11.readthedocs.io/en/stable/advanced/pycpp/numpy.html
* Use buffer protocol to return a view of Tensor. It can be cast to
numpy array in Python.
* Set a numpy array to a tensor.
9 years ago
Yu Yang
c78a5e5da2
Fix merge error before
9 years ago
Yu Yang
68f6ac011c
Merge branch 'develop' into feature/op_creation_methods
9 years ago
Yancey
83f263e6ec
Fix fetch record from master failed ( #2848 )
...
Fix fetch record from master
9 years ago
qingqing01
1032ef1893
Merge pull request #2907 from juliecbd/to_meet_cpplint
...
Change to meet cpplint style
9 years ago
dzhwinter
9b5adfa482
Merge pull request #2905 from dzhwinter/fix_mq2007
...
"fix dense vector shape in mq2007"
9 years ago
武毅
23b8346072
Fault tolerant distributed training, just work version, with etcd ( #2849 )
...
* using etcd as fault tolerant training
* update
* workable version, ft not tested
* small fix
* update
* remove TODO
9 years ago
jc
278f1a8499
fix calling swig_api before import
9 years ago
jc
02e56304c1
fix calling swig_api before import
9 years ago
dongzhihong
56fbed9a42
"fix dense vector shape in mq2007"
9 years ago
Yu Yang
9e0c6800c5
Python Generate OpCreation Methods by OpProto
...
All OpCreation method are generated by
`create_op_creation_methods::__bootstrap__` method, and stores in
`op_creations` object and its methods.
There are three parts to implement this feature.
1. Get all registered `OpProto` from C++ side. It is implemented in
`get_all_op_protos` method.
1. Create a function to convert `kwargs` to `OpDesc` base on each op's
`OpProto`. The `OpDescCreationMethod` class.
1. Convert `OpProto` to `docstring` by `get_docstring_from_op_proto`
method.
All three methods are unit tested. The `__bootstrap__` just combines
them together and create a method in runtime.
For details, please reference the doc string in
`create_op_creation_methods.py` and the unit test
`test_op_creation_methods.py`.
9 years ago
Yu Yang
d7405e1eaa
Fix a typo before
9 years ago
Yu Yang
a76f7ed2eb
Get OpProtos in Python
...
* PyBind and SWIG of paddle cannot be load in a single Python process,
lazy import all SWIG library of Paddle. Otherwise, the glog, gflags
are imported twice in a same Python process.
* Note that all PyBind11 return C++ std::string as an unicode. For
protobuf, it is need be cast to `str` before use them.
* Add unit test for Get `OpProtos`
9 years ago
Yu Yang
8da5587205
Init commit
9 years ago
Yu Yang
3c5cc6444c
Merge pull request #2808 from reyoung/feature/scope_default_wrapper
...
Default scope function
9 years ago
wanghaoshuang
4a5c3714ea
fix python dependency for voc2012 dataset
9 years ago
wanghaoshuang
1ba879bead
Use PIL to read image in palette mode
9 years ago
wanghaoshuang
c4f301ded7
Modify comments and fix code format.
9 years ago
wanghaoshuang
a5239ac7a5
Merge branch 'develop' of https://github.com/paddlepaddle/paddle into voc_dataset
9 years ago
武毅
bcf9f421c3
Merge pull request #2774 from typhoonzero/fix_newupdater
...
Fix new remote updater for go pserver
9 years ago
Yu Yang
d027f47d7d
Default scope function
...
`Paddle` manages Scope as programming language's scope. It just a
thread-local stack of Scope. Top of that stack is current scope, the
bottom of that stack is all scopes' parent.
Invoking `create_var/get_var` can `create/get` variable in current
scope. Invoking `enter_local_scope/leave_local_scope` can create or
destroy local scope.
A `scoped_function` will take a `function` as input. That function will
be invoked in a new local scope.
9 years ago
Yu Yang
27b196ba6d
Expose paddle.framework by pybind11 ( #2793 )
...
* Expose paddle.framework by pybind11
* Export paddle.framework.{Scope, Variable} to paddle.v2.framework.core.
* See python/paddle/v2/framework/tests/test_scope.py for Python usage
* See paddle/pybind/pybind.cc for C++ bind code.
* add copyright
9 years ago
yi.wu
5a4f33df7e
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into fix_newupdater
9 years ago
caoying03
68ec558c21
update the md5sum of WMT14 trained model.
9 years ago
whs
a698824a8a
Merge branch 'develop' into voc_dataset
9 years ago
wanghaoshuang
338dd13542
Add voc2012 dataset for image segment
9 years ago
wuyi05
26d95a6bbf
fix new remote updater for go pserver
9 years ago
gongweibao
8e8f3601a5
Merge pull request #2665 from gongweibao/cloudandlocal
...
Recordio cloud and local interface
9 years ago
Yu Yang
e2ea1f42e9
Generate python protobufs for paddle.v2.framework
...
Python should be able to manipulate Protobuf message because:
1. Python's `create_op_creation_methods` take the `OpProto` array to
generate all `op_creation_methods` in RunTime.
2. All `op_creation_methods` will create an `OpDesc` and pass it to
Paddle C++ method `CreateOp` and return the Op handle.
Here is the list of what is added in this commit:
* Add `protobuf_generate_python` if it is not defined.
* Before cmake 3.4, `protobuf_generate_python` is not defined. Just
copy the implementation of that function in `protobuf.cmake`
* Add `py_proto_compile` function in `cmake/generic.cmake`.
* It follows bazel's API interface.
* https://github.com/pubref/rules_protobuf#rules
* Add an empty package named `paddle.v2.framework`, all python code of
`paddle::framework` will be in that package.
* Generate protobuf's python module `__init__.py` by `touch` while
compiling.
* Change setup.py.in, make `paddle.v2.framework.proto` uses the
generated protobuf pythons.
9 years ago
gongweibao
421d9f12a3
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into cloudandlocal
9 years ago
gongweibao
e12d7269ff
fix by helin's comments
9 years ago
gongweibao
26e661bc51
fix by helin's comments
9 years ago
gongweibao
af5ac2c474
merge with upstream develop
9 years ago
dongzhihong
1d4f02ccd9
Merge remote-tracking branch 'origin/develop' into go_optimizer
9 years ago
dangqingqing
0925681543
fix typo.
9 years ago
dangqingqing
6a7f1212f5
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into row_conv_fix
9 years ago
dangqingqing
e287034d73
minus mean in flowers dataset.
9 years ago
dangqingqing
0c70f34c60
Fix bug for flowers dataset and row_conv.
9 years ago
dzhwinter
c38331315f
Merge branch 'develop' into go_optimizer
9 years ago
helinwang
fae606fc96
Merge pull request #2659 from helinwang/cmake
...
Improve Go cmake, add go/master/c into cmake include path..
9 years ago
dzhwinter
36f8b84809
Merge branch 'develop' into go_optimizer
9 years ago
gongweibao
b3c5808e13
rm cloud EOF
9 years ago
gongweibao
5b2f9939c2
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into fixdownloadbug
9 years ago
Helin Wang
59cf5e7796
Fix Go cmake
9 years ago
gongweibao
b79784ee9e
fix bugs
9 years ago
gongweibao
0fa409246b
fix bugs
9 years ago
qingqing01
aaee28bf63
Merge pull request #2664 from qingqing01/from_tar
...
Init partial network parameters from another saved model.
9 years ago
dangqingqing
23d6c594ec
add comments
9 years ago
gongweibao
4874810ba5
fix bugs
9 years ago
dangqingqing
11a8dfe78e
Use Parameters.from_tar for static method.
9 years ago
gongweibao
48fdfd5a03
fix bugs
9 years ago
gongweibao
fc3d031425
first add
9 years ago
dangqingqing
c9865824a7
Support to init partial network parameters from the tar file.
9 years ago
wanghaoshuang
01f44bff66
rename args and add comments
...
1. rename 'useXmap' to 'use_xmap'
2. add comments about exchanging train data and test data
9 years ago
wanghaoshuang
80642bee00
fix_xmap and refine flowers dataset
9 years ago
gongweibao
a489a54de0
fix style
9 years ago
gongweibao
0990b0a5d4
add testdata
9 years ago
gongweibao
e4c7d8cc2b
Merge branch 'develop' into recordio
9 years ago
Your Name
b9d015cbc4
rm not need
9 years ago
Your Name
a243bdfbcf
rm not need
9 years ago
Your Name
e915aa9cf1
fix bugs
9 years ago
root
97270b9f27
add convert function
9 years ago
gongweibao
9f9058ac49
Merge remote-tracking branch 'upstream/develop' into develop
9 years ago
zlx
561c4562cf
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into improve_pruning
9 years ago
gongweibao
8d47690132
Merge remote-tracking branch 'upstream/develop' into develop
9 years ago
Cao Ying
6fa84d40f4
Merge pull request #2521 from emailweixu/fix_rnn_gen
...
Fix bugs for rnn generation.
9 years ago
dzhwinter
1f217f0ab3
"add c testing, python testing TODO"
9 years ago
zlx
43771ad41d
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into improve_pruning
9 years ago
gongweibao
0adb9e01e9
fix bugs
9 years ago
gongweibao
8bffa4a72f
fix bugs
9 years ago
Yi Wang
65aa894142
Merge pull request #2540 from wangkuiyi/check_for_existence_of_data_home
...
Handle multiple processes trying to create the data home directory
9 years ago
wanghaoshuang
d322c94243
fix unittest
9 years ago
wanghaoshuang
cadea35a10
format code
9 years ago
wanghaoshuang
09cc4408e5
modified xmap reader to process sample by order
9 years ago
gongweibao
dbfe58ca47
add local recordio reader interface
9 years ago
zlx
15bf6e05b5
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into improve_pruning
9 years ago
Yi Wang
ff4be82252
Handle multiple processes trying to create the data home directory
9 years ago
Helin Wang
936ac658c0
Fix unit test error: File exists: /root/.cache/paddle/dataset
9 years ago
qiaolongfei
b101aaca0a
disable go master
9 years ago
qiaolongfei
4c4b689f6a
disable go master
9 years ago
xuwei06
3438d650ed
Fix bugs for rnn generation
...
1. v2.layer.parse_network does not correctly handle the generation output.
2. GatherAgentLayer does not correctly handle generation output when batch_size > 1
3. Fix CustomStackTrace for rnn group
9 years ago
emailweixu
09f34c4b1f
Merge pull request #2479 from emailweixu/mixed_input_rnn
...
RecurrentGroup with mixed input sequence types
9 years ago
zlx
1a82e7da9e
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into improve_pruning
9 years ago
helinwang
1a12720bb2
Merge pull request #2468 from helinwang/master_dispatch
...
Implement master client for reading training tasks
9 years ago
Helin Wang
8742441fc0
integrate master Python lib with cmake
9 years ago
xuwei06
ef61288f9e
Clean-up recurrent group related python code
...
No longer need to specify target_inlinks or is_seq.
9 years ago
zlx
6248e566f9
merge from remote
9 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().
9 years ago
xzl
23b1a27483
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into improve_pruning
9 years ago
qiaolongfei
8941a38514
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into newparameterupdater
9 years ago
gongweibao
46ccfc0171
Merge branch 'develop', remote-tracking branch 'upstream/develop' into convert
9 years ago
gongweibao
77c4dce759
modify 10000 to 1000
9 years ago
xzl
97a2fde995
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into improve_pruning
9 years ago
caoying03
892b1f9ff6
Merge branch 'develop' into fix_config_parsing_bug
9 years ago
gongweibao
283bdc5062
fix by helin's comments
9 years ago
caoying03
2f4e968b81
follow comments.
9 years ago
qiaolongfei
99dc60642d
new parameterupdater use paddle pserver cclient of go
9 years ago
gongweibao
9011f9e52c
add precommit
9 years ago
caoying03
35332a22aa
add eos layer as an extra parent.
9 years ago
caoying03
1e21259d5c
fix the bug of parsing evaluator in SRL in PaddleBook.
9 years ago
caoying03
692d251869
add missing configuration functions in v2 API.
9 years ago
xzl
15668482e3
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into improve_pruning
9 years ago
whs
3d7a613e02
Merge pull request #2242 from wanghaoshuang/flowers_reader
...
Add flowers dataset for image classification model
9 years ago
wanghaoshuang
990b7d7bc9
rename xmap to xmap_readers and remove 'from cv2 import resize' in image.py
9 years ago
wanghaoshuang
e62a4d7abe
xmap: change multiprocess to multithread.
...
images reader: read the data without untarring the tarball file.
image.py: move batch function from reader to image.py
9 years ago
wanghaoshuang@baidu.com
2799b0ec50
Add flowers dataset for image classification model
9 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.
9 years ago
xzl
b6eaed0eab
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into improve_pruning
9 years ago
Yancey
97a594e7f8
Split dataset into multiple files ( #2320 )
...
cluster dataset split and reader
9 years ago
xzl
ca55a24eb3
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into improve_pruning
9 years ago
xzl
5413af8d11
imporve pruning module
9 years ago
emailweixu
68c68ec958
Merge pull request #2218 from luotao1/rename
...
rename AggregateLevel and ExpandLevel
9 years ago
xuwei06
02a509f1cb
Fix handling of boot_bias_layer for recurrent_group in v2 API
9 years ago
xuwei06
350b268b7c
Adding simple operators for v2 API
9 years ago
xuwei06
97c4d23fab
Add docs and clean up unused code
9 years ago
xuwei06
0cb8a6669e
Fix style
9 years ago
xuwei06
7d0355cdd0
Fix V2 API
9 years ago
Luo Tao
b7e2adbd47
Merge branch 'develop' into rename
9 years ago
qingqing01
1220f38578
Merge pull request #2215 from qingqing01/variable_input
...
Support variable-dimension input feature for 2D convolution operation.
9 years ago
dangqingqing
2397d14fb0
fix conflicts
9 years ago
Luo Tao
0ee31a03b0
Expose the "reverse" argument for recurrent_group in V2 API
9 years ago
Luo Tao
28e9807247
Merge branch 'develop' into rename
9 years ago
Yu Yang
f0612b4e34
Merge branch 'develop' of github.com:baidu/Paddle into feature/fix_bug_in_run_python_tests
9 years ago
Yu Yang
19127b479c
Fix bug in run_python_tests.sh
...
* Also, test_plot cannot run in MacOS because of matplotlib & ipython's
limit.
* Add missing dependency in setup.py.
* fix #2264
9 years ago
dangqingqing
7430d30598
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into variable_input
9 years ago
dzhwinter
6e91ebc0dd
"remove extrafile"
9 years ago
dzhwinter
b098ef69a4
"remove the rar extractfile, prevent small files"
9 years ago
dzhwinter
b4b967a7c2
Merge pull request #2053 from dzhwinter/develop_mq2007
...
enrich paddle built-in learning to rank dataset with the mq2007 dataset
9 years ago
Luo Tao
ca739d12f1
fix conflict
9 years ago
Luo Tao
3ae7541ad3
rename AggregateLevel and ExpandLevel
9 years ago
xuwei06
a0a3a68551
Add Sqrt and Reciprocal activation
9 years ago
dangqingqing
fd46fe3817
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into variable_input
9 years ago
dangqingqing
576e7f4779
Support variable-dimension for convolution operation.
9 years ago
Cao Ying
7377c59b53
Merge pull request #2200 from luotao1/agg_level
...
add doc for AggregateLevel and ExpandLevel.
9 years ago
Luo Tao
f8a42d5de9
add doc for AggregateLevel and ExpandLevel
9 years ago
dangqingqing
75674710b5
Remove opencv-python in setup
9 years ago
dzhwinter
590c6038fc
"format Test"
9 years ago
dzhwinter
a4313de808
"remove the pairwise other genereate method"
9 years ago
dzhwinter
4ac5caaaa7
"formatter"
9 years ago
dzhwinter
d86fb1d133
"precommit format with github style"
9 years ago
dzhwinter
82eb0fe45b
"fix len type error of QueryList"
9 years ago
dzhwinter
16d6bd7c38
"fix label genenerate type. avoid IVector create error when init label"
9 years ago
dzhwinter
d7ef562450
"better format"
9 years ago
dzhwinter
96ca1e966a
"add mq2007 dataset for learning to rank task"
9 years ago
Luo Tao
bc02d1aa96
follow comments
9 years ago
Luo Tao
3e36e564fb
add multiple outputs in annotation of paddle.infer
9 years ago
Tao Luo
affd9d2699
Merge pull request #2084 from qingqing01/image_v2
...
Image preprocess module.
9 years ago
Cao Ying
81fb41f097
Merge pull request #2023 from pkuyym/develop
...
Add dataset PTB into paddle.dataset for language model task.
9 years ago
dangqingqing
3513935f7e
refine the annotation.
9 years ago
Yancey1989
ad0608847e
Fix paddle.init bug
9 years ago
dangqingqing
e3fd0d56f4
Pass unit test
9 years ago
dangqingqing
a6ec6c05d0
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into image_v2
9 years ago
dangqingqing
70c30efcaa
image preprcoess module
9 years ago
qiaolongfei
1976f137b2
add attr() interface to layer
9 years ago
武毅
f93ea592e2
Merge pull request #2014 from typhoonzero/init_with_env
...
paddle.init() default use env
9 years ago
wuyi05
950aa8a178
overwrite env with kwargs
9 years ago
Yu Yang
43493b2a59
Expose Inference in Python V2 API.
9 years ago
gangliao
1dfddae20b
Merge pull request #2037 from gangliao/v2_bug
...
'numpy.ndarray' object has no attribute 'tobytes'
9 years ago
liaogang
f7d0d99f93
'numpy.ndarray' object has no attribute 'tobytes'
9 years ago
yangyaming
286696aa2b
extend imikolov instead of adding ptb
9 years ago
xuwei06
6a7feb35e5
run python tests in virtualenv
...
When using system python, "pip install" needs root previlege. Using virtualenv to avoid this.
9 years ago
yi.wu
444c4638c2
update for pre-commit
9 years ago
yangyaming
70d15e84be
Add dataset ptb
9 years ago
yi.wu
c1cb483a6c
paddle.init default use env
9 years ago
Luo Tao
6c2e45537e
add missing api doc of network and evaluator
9 years ago
pkuyym
a3e975d99a
Merge pull request #1984 from pkuyym/develop
...
modify function build_dict of dataset imikolov
9 years ago
yangyaming
a0c3465b6e
Set filter theshold as a paramter for function build_dict of dataset imikolov
9 years ago
Luo Tao
c810e6a7c0
Merge branch 'develop' into release/0.10.0
9 years ago
xuwei06
478745f6bc
Fix dataset typo: cretor=>creator
9 years ago
Luo Tao
3681af2750
add missing doc of v2 api
9 years ago
jacquesqiao
5f9240073f
Merge pull request #1782 from jacquesqiao/support-remote-updater
...
support distribute training in python v2 API
9 years ago
qiaolongfei
6a2776e139
save_parameter_to_tar to fd
9 years ago
qiaolongfei
35f1dfde72
chage trainer.save_parameter to trainer.save_parameter_to_tar
9 years ago
qiaolongfei
956217887f
support save parameter in trainer
9 years ago
qiaolongfei
cf86ca04b4
refine code
9 years ago
QI JUN
e329655980
Merge pull request #1719 from QiJune/feature/add_v2_api_doc
...
Add more docs for paddle v2 api
9 years ago
Luo Tao
051119b195
fix bug in inference.py
9 years ago
qiaolongfei
cfff9467ac
optimizer parameter_updater
9 years ago
qiaolongfei
f6c5b6fd46
add prefetch for trainer.test
9 years ago
qiaolongfei
8210350819
add getParametersRemote for ParameterUpdater in api
9 years ago
qiaolongfei
64bfd8147f
fix style probelm
9 years ago
qiaolongfei
bad503ff08
support RemoteSparseUpdater
9 years ago
Luo Tao
555b2dfdad
add seqtext_print for seqToseq demo
9 years ago
qiaolongfei
6802b65cd2
init support remote updater
9 years ago
qijun
398d50dd99
fix typo error
9 years ago
qijun
b571a4148b
Merge remote-tracking branch 'baidu/develop' into feature/add_v2_api_doc
9 years ago