-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
exp run --set-param fails to update param value #5777
Comments
Could you please see the response in https://discord.com/channels/485586884165107732/485596304961962003/829087046173327423 and follow up? Thanks! |
Thank you for the response. To shed some more light on the issue, with initial TEMP value equal to 1e-8 As suggested, I now set the TEMP value to 8.0e-5 in |
@scordee, the support for the python params file is not great with DVC, it's very experimental and sadly not in a very good state. If you can, please use the Regarding the bug, we are working internally with the parsed object. We get it as
It fails on step 4, as the old value that we get is parsed to |
Thank you everyone for the quick reactions. Appreciate it. |
Bug Report
exp run --set-param params.py:TrainConfig.TEMP=0.0001 : does not update TrainConfig.TEMP=1e-8
Description
When trying to run an experiment --set-param does not update class variable TrainConfig.TEMP=1e-8 to TrainConfig=0.0001 declared and defined in params.py; however, --set-param does update TrainConfig.TEMP=0.0001 to TrainConfig:TEMP=1e-8.
Reproduce
Example:
Expected
A new experiment with param value TrainConfig.TEMP=0.0001
Environment information
Output of
dvc doctor
:Additional Information (if any):
The text was updated successfully, but these errors were encountered: