currently we are using the omegaconf, for use case like training a single model by manually editing the parameter values before each run is fine.
But we want to do some serious experimenting , we literally need to write a separate script for it. Omega does not support it natively, but hydra does.
A simple example will look like this:
lr: 0.01
layers: 32
epochs: 10
hydra:
mode: MULTIRUN
sweeper:
params:
lr: 0.1, 0.01, 0.001
layers: 32, 64, 128
we can replace omegaconf with hydra if we want without changing much how current code works, but we do need to add the hydra decorator in our main function.
currently we are using the omegaconf, for use case like training a single model by manually editing the parameter values before each run is fine.
But we want to do some serious experimenting , we literally need to write a separate script for it. Omega does not support it natively, but hydra does.
A simple example will look like this:
we can replace omegaconf with hydra if we want without changing much how current code works, but we do need to add the hydra decorator in our main function.