You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have created a configuration file in which some of the parameters are random.
I want to generate some images in which the random parameters are set to known, fixed values. I am envisioning being able to write something along the lines of
The text was updated successfully, but these errors were encountered:
musoke
changed the title
make it easy to generate a sim dict with fix values of random parameters
make it easy to fix values of random parameters in a configuration
May 10, 2023
musoke
changed the title
make it easy to fix values of random parameters in a configuration
DLS: make it easy to fix values of random parameters in a configuration
May 22, 2023
musoke
changed the title
DLS: make it easy to fix values of random parameters in a configuration
Make it easy to fix values of parameters in a configuration
May 22, 2023
There are currently two ways to fix parameters in a configuration:
1) Fix those values directly in the yaml file.
This is a bit clunky, but you could duplicate that yaml file and fix those values directly in the yaml file and generate a second dataset with those fixed model parameters.
2) Use Dataset.update_param
The Dataset object has a method update_param which allows you to update parameters to new values. For example:
is indeed quite similar to what wanted, the main difference being that the data set is generated first. I may use that in future if it works for me too.
I have created a configuration file in which some of the parameters are random.
I want to generate some images in which the random parameters are set to known, fixed values. I am envisioning being able to write something along the lines of
The text was updated successfully, but these errors were encountered: