Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

set lr_mult, wd_mult of var , it didn't work #15718

Open
lly8752 opened this issue Aug 1, 2019 · 4 comments
Open

set lr_mult, wd_mult of var , it didn't work #15718

lly8752 opened this issue Aug 1, 2019 · 4 comments

Comments

@lly8752
Copy link

lly8752 commented Aug 1, 2019

Note: Providing complete information in the most concise form is the best way to get help. This issue template serves as the checklist for essential information to most of the technical issues and bug reports. For non-technical issues and feature requests, feel free to present the information in what you believe is the best form.

For Q & A and discussion, please start a discussion thread at https://discuss.mxnet.io

Description

(Brief description of the problem in no more than 2 sentences.)

Environment info (Required)

What to do:
1. Download the diagnosis script from https://raw.githubusercontent.com/apache/incubator-mxnet/master/tools/diagnose.py
2. Run the script using `python diagnose.py` and paste its output here.

Package used (Python/R/Scala/Julia):
(I'm using ...)

For Scala user, please provide:

  1. Java version: (java -version)
  2. Maven version: (mvn -version)
  3. Scala runtime if applicable: (scala -version)

For R user, please provide R sessionInfo():

Build info (Required if built from source)

Compiler (gcc/clang/mingw/visual studio):

MXNet commit hash:
(Paste the output of git rev-parse HEAD here.)

Build config:
(Paste the content of config.mk, or the build command.)

Error Message:

(Paste the complete error message, including stack trace.)

Minimum reproducible example

(If you are using your own code, please provide a short script that reproduces the error. Otherwise, please provide link to the existing example.)

Steps to reproduce

(Paste the commands you ran that produced the error.)

What have you tried to solve it?

@mxnet-label-bot
Copy link
Contributor

Hey, this is the MXNet Label Bot.
Thank you for submitting the issue! I will try and suggest some labels so that the appropriate MXNet community members can help resolve it.
Here are my recommended labels: Test

@vrakesh
Copy link
Contributor

vrakesh commented Aug 1, 2019

@lly8752 Requesting to provide, reproducible steps and details on the issue,

@mxnet-label-bot add [Pending Requester Info]

@lly8752
Copy link
Author

lly8752 commented Aug 12, 2019

i set lr__mult attr of symbol, and used optimizer and Module, it don't work.that because i don't give sym params when i creat optimizer.now solved it.

@Light--
Copy link

Light-- commented Aug 19, 2020

now solved it.

@lly8752
could you please share how to solve it? some example code?
and
what do you mean by i don't give sym params when i creat optimizer? i create the opt using:

opt = optimizer.SGD(learning_rate=base_lr, momentum=base_mom, wd=base_wd, rescale_grad=_rescale)

which doesn't need the sym as input.

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

No branches or pull requests

5 participants