Skip to content

override config key at command line #2428

Answered by Jasha10
lstrgar asked this question in Q&A
Discussion options

You must be logged in to vote

Not sure. I'm not able to reproduce the behavior you're seeing; when I run python run.py optim.lr=0.01 on my machine, I get {'optim': {'lr': 0.01, 'betas': [0.9, 0.999]}}.

Could you paste the output of the following command?

python run.py optim.lr=0.01 --info

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@lstrgar
Comment options

Answer selected by lstrgar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants