Closed RobertTLange closed 3 years ago
While at it - change all net_config
to model_config
.
Maybe the easiest way to do this is to add a config prefix (train:l_rate
and network:num_hidden
) to the variables in the search experiment .yaml file. This could be incorporated by modifying gen_hyperparam_configs
in BaseHyperOptimisation
to include:
# TODO: Differentiate between network and train config variable?!
for param_name, param_value in proposals[s_id].items():
config_id, param = param_name.split(":")
if config_id == "train":
sample_config.train_config[param] = param_value
elif config_id == "network":
sample_config.network_config[param] = param_value
Will be addressed in next PBT PR 74c7616.
Currently we can only search over variables defined in
train_config
. If you want to search over different architectures you need to do so 'implicitly' aka write your own hacky function ala:Can we do better than that? What are the options? Probably would require a unified way of how to build/define the architecture of a network. Would that be too restricting?