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
qijun
1e29b12425
follow comments
9 years ago
Luo Tao
4274883a75
add field "prob" in paddle.infer
9 years ago
Tao Luo
26f2a3cbef
Merge pull request #1775 from luotao1/infer
...
support multi-field for inference
9 years ago
Tao Luo
cadabe1d77
Update inference.py
9 years ago
Yu Yang
892cc82d16
Merge pull request #1766 from reyoung/feature/add_list_type_of_feeding
...
Add list type of feeding
9 years ago
Yu Yang
66f5052c9b
Change feeding comments.
9 years ago
Tao Luo
ac843bb879
Update with comments
9 years ago
qijun
5dd7586e68
merge from baidu/develop
9 years ago
Tao Luo
a503f3cae6
support multi-field for inference
9 years ago
Luo Tao
a42233c2c2
add wmt14 trg_dict
9 years ago
Yu Yang
333cd3d7d7
Add comments about feeding a list to feeder.
9 years ago
jacquesqiao
b22cd96a3b
Merge pull request #1761 from jacquesqiao/beam_search
...
support Beam search in v2 api
9 years ago
Yu Yang
cac5ad69d3
Merge branch 'develop' of github.com:baidu/Paddle into feature/add_list_type_of_feeding
9 years ago
qiaolongfei
b669b5fc30
fix style problem
9 years ago
qiaolongfei
07a8f0ef6b
refine code, remove beam_search.py
9 years ago
Yu Yang
dc02bfdf2f
Add list type of feeding
9 years ago
Yu Yang
270c0c5f5c
Remove unecessary code to generate freq_dict.
9 years ago
qiaolongfei
bf6fd47027
modify setup.py.in and remove unused code
9 years ago
qiaolongfei
ba51e6ea68
fix style problem
9 years ago
qiaolongfei
d6e8d5cdfd
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into beam_search
9 years ago
qiaolongfei
6747c59fed
remove WithExtraParent, add the logic into config_base.Layer
9 years ago
qiaolongfei
a4a599ab23
refine code, remove duplicate code between layer and with_extra_parent_layer
9 years ago
qiaolongfei
e64418c77b
support beam_search, fix mix bug
9 years ago
qiaolongfei
30aded193a
fix None problem
9 years ago
qiaolongfei
ea8013e48f
can run test.py for generating
9 years ago
Yu Yang
7e6def58f7
Merge pull request #1756 from qingqing01/v2_api_multi_leaf_node
...
Add extra_layers in paddle.trainer.SGD.
9 years ago
Yu Yang
8a0164423d
Merge pull request #1752 from qingqing01/v2_api_fix
...
fix parameter shape in v2
9 years ago
dangqingqing
23283f2cf7
add comments
9 years ago
dangqingqing
3da5ac995c
bug fix
9 years ago
dangqingqing
edf36423fa
Add extra_layers in paddle.trainer.SGD.
9 years ago
Yu Yang
cae15edf92
Merge pull request #1747 from reyoung/feature/fix_evaluator_in_layer_v2
...
Feature/fix evaluator in layer v2
9 years ago
dangqingqing
e6246b4927
fix parameter shape in v2
9 years ago
Yu Yang
e7b3a5f1c8
Follow comments
9 years ago
Yu Yang
a125ef1abd
Fix unittest
9 years ago
Luo Tao
cf7f651d48
add wmt14 pretrained model
9 years ago
Yu Yang
606a99d935
Fix unittest for rnn.
9 years ago
Yu Yang
b968b5ef66
Use context name instead of name
9 years ago
Yu Yang
abd6e0cd13
Complete Evaluators in paddle.v2
9 years ago
Yu Yang
cfbfa0a1f2
Fix typo
9 years ago
Yu Yang
718d61c578
Disable sparse_remote_update when local in paddle.v2
9 years ago
Yancey1989
97dbf42afc
add plot to whl package
9 years ago
qiaolongfei
b38888f88c
add comment for DISABLE_PLOT
9 years ago
qiaolongfei
bde1e8fe11
mv IPython to if guard for test
9 years ago
qiaolongfei
1f76fb87ea
fix style problem
9 years ago
qiaolongfei
976ec0dd61
add unittest
9 years ago
qiaolongfei
75cbdf9807
fix reset of Plot
9 years ago
qiaolongfei
55bf200d1c
undo unneccessary code change
9 years ago
qiaolongfei
fb2b54f4fe
refine plot_curve
9 years ago
qiaolongfei
a0c8a02003
add DISABLE_PLOT for test
9 years ago
qijun
ec2679c4d8
pass pre-commit
9 years ago
qijun
905b90d7ef
format code
9 years ago
qijun
67d4d89cc4
add doc for some v2/dataset
9 years ago
qiaolongfei
01037a6b79
fix python stype problem
9 years ago
qiaolongfei
5b0421a104
remove plot_curve in v2.__init__ to avoid importing matplotlib when test
9 years ago
qiaolongfei
226ca797ce
add plot cost in v2 api
9 years ago
qijun
9f417f129d
add some dateset docs
9 years ago
qijun
0690a9fbab
add v2 run logic doc
9 years ago
qijun
c36bf197d3
add optimizer doc
9 years ago
Yancey1989
14eb5b8e10
rename fetch_all to fetch; add fetch_all function
9 years ago
Yancey1989
7b72c79264
update
9 years ago
Yancey1989
b7a809a110
add download api for dataset
9 years ago
Yu Yang
979334e7a7
Fix other unittest
9 years ago
Yu Yang
ae57b4e774
Change unittest's weight dimension to 1
9 years ago
Helin Wang
a710682a9f
update url for wmt14 dataset
9 years ago
Luo Tao
7dbc77ba4d
rename regression_cost to mse_cost
9 years ago
Yu Yang
05b45e1f86
Remove reader logic
9 years ago
Yu Yang
797e89ece8
Merge branch 'develop' of github.com:baidu/Paddle into feature/better_infer_interface
9 years ago
Yu Yang
71ab4df366
Follow comments, remove reader/batch_size in interface.
9 years ago
helinwang
aaa2a1f844
Merge pull request #1501 from reyoung/feature/recommendation_v2_api
...
Feature/recommendation v2 api
9 years ago
Yu Yang
5905d0e88e
Merge branch 'develop' of github.com:baidu/Paddle into feature/better_infer_interface
9 years ago
Yu Yang
0d2d419a59
Follow comments
9 years ago
qiaolongfei
1940f58f53
add bos url
9 years ago
qiaolongfei
96a2e44aa3
optimize seq2seq-dataset
9 years ago
qiaolongfei
3780679203
fix conflict
9 years ago
Yu Yang
52dc6a9cf4
Merge branch 'feature/better_infer_interface' into feature/recommendation_v2_api
9 years ago
Yu Yang
9275d53c40
Merge branch 'feature/rename_reader_dict_to_feeding' into feature/recommendation_v2_api
9 years ago
Yu Yang
26445368a2
Rename reader_dict to feeding
...
* Also fix some other bugs.
* Fix #1495
9 years ago
Yu Yang
48031dd443
Merge branch 'feature/serialize_deserialize_in_parameters' into feature/recommendation_v2_api
9 years ago
Yu Yang
d4327b6895
Merge branch 'develop' of github.com:baidu/Paddle into feature/recommendation_v2_api
9 years ago
Yu Yang
c36a3f4607
Add unittest for serialize/deserialize.
9 years ago
Yu Yang
d34eb34d2a
Merge branch 'develop' of github.com:baidu/Paddle into feature/serialize_deserialize_in_parameters
9 years ago
Yu Yang
d5365bb715
Add input data interface for inference
9 years ago
Yu Yang
977fcef7b5
Fix unittest
9 years ago
qiaolongfei
06915d0a05
add wmt14_util.py and a small dataset on bos for test
9 years ago
Yu Yang
8efdc77276
Merge branch 'develop' of github.com:baidu/Paddle into add_comments_to_v2_module
9 years ago
qiaolongfei
98522dcb33
optimizer wmt14 dataset
9 years ago
Yu Yang
88cb8eeac4
Complete documentation for v2.
9 years ago
Yu Yang
3fd13e7054
Merge pull request #1556 from helinwang/sum
...
change sumCost to sum
9 years ago
Yu Yang
0bf542ec85
Merge pull request #1554 from reyoung/feature/v2_docs_layers
...
Complete documentation generation for v2 model configuration
9 years ago
Helin Wang
dbffda2ff5
change sumCost to sum
9 years ago
Yu Yang
fd41a87a53
complete data_type documentation
9 years ago
Yu Yang
3e398eaa8b
Follow comments
9 years ago
Yu Yang
3432b4cd2e
Fix pre-commit style checker
9 years ago
Yu Yang
13d21d04a9
Fix merged error
9 years ago
Yu Yang
efe53811c5
complete serialize
...
* Test gzip
9 years ago
Yu Yang
fb74ae36d4
Refine serialize
9 years ago
Yu Yang
0d5b4acb96
Merge branch 'develop' of github.com:baidu/Paddle into feature/serialize_deserialize_in_parameters
9 years ago
Yu Yang
863511ee54
Merge branch 'develop' into batch
9 years ago
Yu Yang
8bef3f4d19
Merge pull request #1553 from helinwang/wmt14
...
dataset reader for wmt14
9 years ago
Yu Yang
91cc461aa5
Complete model_configs's docs
9 years ago
Yu Yang
4ea3fa623d
Complete doc of activations
9 years ago
Yu Yang
38de3a6cab
Complete docs of attr
9 years ago
Yu Yang
8d5a18a209
Complete Layers documentation
9 years ago
Yu Yang
af607df2f9
Merge pull request #1546 from reyoung/feature/v2_docs
...
Start doing v2 documentation
9 years ago
Helin Wang
d6c6a996b1
dataset reader for wmt14
...
example usage:
import paddle.v2 as paddle
if __name__ == '__main__':
dict_en, dict_fr = paddle.dataset.wmt14.build_dict()
train = paddle.dataset.wmt14.train(dict_en, dict_fr)
test = paddle.dataset.wmt14.test(dict_en, dict_fr)
total_train = 0
for i in train():
total_train += 1
total_test = 0
for i in test():
total_test += 1
print total_train, total_test
9 years ago
helinwang
044ad94a8f
Merge pull request #1532 from helinwang/infer
...
remove inferencer and Inference from __All__, since infer is sufficen…
9 years ago
helinwang
8530d3c703
Merge pull request #1511 from helinwang/dataset
...
expose build_dict in imikolov dataset, fix bug that len(word_dict) is…
9 years ago
helinwang
247a2a4685
Merge pull request #1513 from helinwang/remove_it
...
remove ITrainer interface since parameters for train is already getti…
9 years ago
helinwang
99b9eafee1
Merge pull request #1515 from helinwang/int_seq
...
change argument name of data_type.integer_value/integer_value_sequenc…
9 years ago
Helin Wang
61b4c7170a
remove inferencer and Inference from __All__, since infer is sufficent, they are implementation detail.
...
rename inferencer.py to inference.py
9 years ago
Helin Wang
24e1c536da
fix according to comment
9 years ago
Helin Wang
d498174c9a
move paddle.reader.batch to paddle.batch
9 years ago
Yu Yang
6b0961a3c1
auto deployment paddle documentation
...
* Change build process to generate v2 documentation
* Add directory for v2 api
* Correct sphinx index soft-link
9 years ago
jacquesqiao
d194ce73e2
Merge pull request #1529 from jacquesqiao/seqToseq-demo
...
v2 api for seqToseq(machine translation)
9 years ago
Tao Luo
7593f3ab06
Merge pull request #1538 from helinwang/print
...
dataset: print download progress
9 years ago
Tao Luo
e00b9de510
Merge pull request #1545 from luotao1/fix
...
fix merge conflict
9 years ago
wenboyang
6161958035
update __init__.py
...
I use pre-commit check all file and report is the passed.
But it is not passed in Travis, so I update __init__.py
9 years ago
wenboyang
97d01620d6
Merge branch 'develop' into develop
9 years ago
Luo Tao
5b24583f63
fix merge conflict
9 years ago
wen-bo-yang
c9f379ed80
modify code
9 years ago
Tao Luo
325b2cafb1
Merge pull request #1506 from luotao1/mnist
...
mnist api v2
9 years ago
Luo Tao
e69a1cbd61
Merge branch 'develop' into mnist
9 years ago
wen-bo-yang
3feebce209
add sentiment in __init__.py
9 years ago
dangqingqing
b6ca314c44
update
9 years ago
wen-bo-yang
a846ef6640
modify doc
9 years ago
wen-bo-yang
6115fcc5a7
format by yapf
9 years ago
wen-bo-yang
812e21f3c4
add cross reading sample files and fix bugs
9 years ago
Yu Yang
6cb78c6e2b
Merge pull request #1519 from reyoung/feature/add_testing_cost
...
Add testing cost.
9 years ago
Helin Wang
1996d4de74
fix according to comment
9 years ago
hedaoyuan
cc8a118343
Merge pull request #1502 from hedaoyuan/sentiment_new_api
...
Training the understand sentiment model with the new API.
9 years ago
qingqing01
9827a5c665
Merge pull request #1504 from qingqing01/srl_api_v2
...
semantic_role_labeling v2 api
9 years ago
Helin Wang
4157e009c1
dataset: print download progress
9 years ago
Helin Wang
a8a25238bb
remove ITrainer interface since parameters for train is already getting out of sync. Currently there is no benefit of having a interface.
9 years ago
helinwang
44e7de9c11
Merge pull request #1526 from reyoung/feature/fix_merge_error_in_trainer
...
Fix duplicated forward/backward in trainer.
9 years ago
Helin Wang
4cbbb23fa3
expose build_dict in imikolov dataset, fix bug that len(word_dict) is not bigger than all index in word_dict.
9 years ago
Helin Wang
e87181db8d
use value_range instead of ele_range
9 years ago
Helin Wang
fa3b1c465b
change argument name of data_type.integer_value/integer_value_sequence to ele_range, add documentation.
9 years ago
hedaoyuan
4a265b5200
Use reader in dataset imdb.py
9 years ago
qiaolongfei
495861f559
add v2 demo to seqtoseq, fix __dfs_travel__ for v2 layers
9 years ago
dangqingqing
e7c239893a
update
9 years ago
dangqingqing
62ff19e388
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into fit_a_line
9 years ago
Yu Yang
13c1522306
Merge branch 'feature/fix_merge_error_in_trainer' into feature/recommendation_v2_api
9 years ago
dangqingqing
80c9f66144
update
9 years ago
Yu Yang
5ce504b19b
Fix duplicated forward/backward in trainer.
9 years ago
Luo Tao
a05707ff32
add test cost
9 years ago
jacquesqiao
061e743c7e
Merge pull request #1441 from jacquesqiao/rnn
...
support rnn
9 years ago
qingqing01
0aca438ad0
Merge pull request #1510 from qingqing01/srl_dataset
...
CONLL05 dataset for SRL
9 years ago
dangqingqing
465878a9d2
fit_a_line v2 api
9 years ago
Yu Yang
66b6ae163c
Complete api_train_v2
9 years ago
dangqingqing
4a94f8a447
refine api training
9 years ago
qiaolongfei
bb66f24334
remove debug code
9 years ago
qiaolongfei
f9e6aa2c31
refine code
9 years ago
liaogang
ec8e2108a4
Merge conflict with develop branch
9 years ago
liaogang
1164c287b9
add datasets import
9 years ago
Yu Yang
ec8e3d7a5d
Merge branch 'develop' of github.com:baidu/Paddle into feature/serialize_deserialize_in_parameters
9 years ago
liaogang
69bf77fd1e
fix trainer v2 getNonStaticParameters
9 years ago
qiaolongfei
c9bb48b308
support calculate size
9 years ago
Yu Yang
e4007337ae
Follow comments
9 years ago
Yu Yang
0ceaf5e868
Merge branch 'feature/serialize_deserialize_in_parameters' into feature/recommendation_v2_api
9 years ago
Yu Yang
b250fceab5
Add save/load parameters.
9 years ago
dangqingqing
4dd2e40bd0
remove comments
9 years ago
dangqingqing
58f79f9c72
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into srl_dataset
9 years ago
dangqingqing
ba1c978514
close file and compare the result with the old way.
9 years ago
Yu Yang
21e024787b
Merge branch 'feature/add_testing_cost' into feature/recommendation_v2_api
9 years ago
Yu Yang
1524f2041e
Add testing cost.
9 years ago
Yu Yang
65aff91e86
Stash
9 years ago
qiaolongfei
b400c8f02c
update to latest
9 years ago
qiaolongfei
22f7b9ab53
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into rnn
9 years ago
qiaolongfei
35ec5f0f1a
Support StaticInput
9 years ago
dangqingqing
0dd53294ca
add copyright
9 years ago
dangqingqing
06cbd81eec
CONLL05 dataset for SRL
9 years ago
Yu Yang
5fc572c294
Complete Memory
9 years ago
Yu Yang
500d8836d0
Follow comments
9 years ago
Yu Yang
39b85d9c91
Merge branch 'develop' of github.com:baidu/Paddle into feature/inferencer
9 years ago
Yu Yang
cdecd53be3
Merge pull request #1498 from reyoung/feature/expose_networks
...
Feature/expose networks
9 years ago
Yu Yang
5c63418555
Merge pull request #1497 from reyoung/feature/extract_common_base_method_to_config_base
...
Add config_base.py for Layer
9 years ago
Yu Yang
d9b2e7d09e
Complete recommendation demo in API.v2
9 years ago
hedaoyuan
cda45793b1
Merge pull request #1500 from qingqing01/topology_fix
...
Fix __bfs_travel__ in topology.py
9 years ago
Yu Yang
4fd459285e
Merge remote-tracking branch 'qingqing/topology_fix' into feature/recommendation_v2_api
9 years ago
qiaolongfei
6b199367e0
handle memory layer
9 years ago
Yu Yang
a3b18feed6
Merge branch 'feature/expose_networks' into feature/recommendation_v2_api
9 years ago
Yu Yang
fc9ad34e8e
Merge branch 'feature/inferencer' into feature/recommendation_v2_api
9 years ago
Yu Yang
f7a06f17d8
Merge branch 'develop' of github.com:baidu/Paddle into feature/recommendation_v2_api
9 years ago
qiaolongfei
fd3be087d6
restore recurrent_group in v1
9 years ago
qiaolongfei
73af1942c8
add the implementation of rnn by yuyang
9 years ago
qingqing01
df37132945
Merge pull request #1482 from qingqing01/data_convert
...
Fix dataprovider_converter when using only one GPU
9 years ago
dangqingqing
d447f06244
update
9 years ago
Yu Yang
9ba231d3d1
Complete inferencer.
9 years ago
Yu Yang
4c24ac1a99
Init inferencer.
9 years ago
Yu Yang
3590cb1e4d
Add unittests
9 years ago
Yu Yang
057d0cbd6e
Complete networks.
9 years ago
Yu Yang
6dd21658dc
Add config_base.py for Layer
9 years ago
jacquesqiao
91f13e4828
Merge pull request #1465 from reyoung/feature/tester
...
Paddle.V2.Trainer.test method complete.
9 years ago
wangkuiyi
b63d38d137
Merge pull request #1480 from wangkuiyi/mikolov
...
Add imikolov.py and unittest for book chapter word2vec
9 years ago
dangqingqing
8c87ab7abe
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into data_convert
9 years ago
dangqingqing
ca367a80e3
follow comments
9 years ago
Yi Wang
7275e0a8c1
In response to comments from Helin
9 years ago
Yi Wang
eb1e34d2c3
Add imdb and unit test
9 years ago
Yi Wang
a2cec420c8
In response to comments from Wen-bo
9 years ago
Yi Wang
da6af5917f
Add imikolov.py and unittest for book chapter word2vec
9 years ago