-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add config_parser in trainer_config_helpers to seperate trainer config #1
add config_parser in trainer_config_helpers to seperate trainer config #1
Conversation
… develop_test Synchronize code from PaddlePaddle/Paddle
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
另外,麻烦update一下。
git pull yy_remote feature/mnist_train_api # yy_remote可能得换成本地设置的remote
@@ -0,0 +1,38 @@ | |||
# Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserved |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
换一个文件名吧?这个文件名感觉已经被使用过了。
类似于config_parser_utils.py就好了
|
||
|
||
def parse_network_config(network_conf): | ||
config = config_parser.parse_config(network_conf, '') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个config_arg_str还是给暴露出来吧。可以把默认参数设置成''。即
def parse_network_config(network_conf, config_arg_str=None):
if config_arg_str is None:
config_arg_str = ''
...
这个参数比较有用。
|
||
|
||
def parse_optimizer_config(optimizer_conf): | ||
config = config_parser.parse_config(optimizer_conf, '') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
同上
Change float to real in NormLayer.h
* Make this demo support GPU
…nto feature/mnist_train_api
…nto feature/mnist_train_api
我自己的分支更新了,如果反馈到这里来 |
@jacquesqiao 似乎是rebase过版本,导致修改的版本太多了。。 我直接从你的repo里面,cherry pick修改的版本吧。 |
@jacquesqiao 我已经手动加到这个分支里了。这个PR就先关了。 |
Invoke check_grad many times for no_grad_set
fix pipe_reader unimport packages
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle
写了一个初步版本,看看是否符合你的预期。