Skip to content
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

globally set parameters cannot work in V2 API #2488

Closed
NHZlX opened this issue Jun 16, 2017 · 3 comments
Closed

globally set parameters cannot work in V2 API #2488

NHZlX opened this issue Jun 16, 2017 · 3 comments
Assignees
Labels

Comments

@NHZlX
Copy link
Contributor

NHZlX commented Jun 16, 2017

the optimizer config in train.py still not be sended to c++ code!

  momentum_optimizer = paddle.optimizer.Momentum(
        momentum=0.9,
        regularization=paddle.optimizer.L2Regularization(rate=0.0005 * 50),
        learning_rate=0.1 / 50.0,
        learning_rate_decay_a=0.1,
        learning_rate_decay_b=50000 * 50,
        learning_rate_schedule='discexp')

part of the paramter proto

parameters {
  name: "_module13_1x1_bn.wbias"
  size: 1024
  initial_mean: 0.0
  initial_std: 0.0
  dims: 1
  dims: 1024
  initial_strategy: 0
  initial_smart: false
}
parameters {
  name: "___fc_layer_0__.w0"
  size: 104448
  initial_mean: 0.0
  initial_std: 0.03125
  dims: 1024
  dims: 102
  initial_strategy: 0
  initial_smart: true
}
parameters {
  name: "___fc_layer_0__.wbias"
  size: 102
  initial_mean: 0.0
  initial_std: 0.0
  dims: 1
  dims: 102
  initial_strategy: 0
  initial_smart: false
}
@lcy-seso
Copy link
Contributor

I will check this.

@lcy-seso lcy-seso changed the title the bug of training process need to be settled! globally set parameters cannot work in V2 API Jun 22, 2017
@lcy-seso lcy-seso added the Bug label Jun 22, 2017
@lcy-seso
Copy link
Contributor

This is the same problem as reported in this issue #2042, and I found that we didn't fix this. This bug is terrible to users. I will fix it.

@lcy-seso
Copy link
Contributor

This problem has been fixed so I close this issue. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants