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 no idea if this is possible, but I found myself wanting to do the following.
In words, I want to add component tags based on matrix parameters. The following yaml doesn't work, but I think it illustrates what I want.
version: 1.1kind: operationmatrix:
kind: gridparams:
sota:
kind: choicevalue:
- model: ModelAmax_epochs: 200dataset_hash: ae43ff
- model: ModelBmax_epochs: 150dataset_hash: 33fba2component:
name: model-trainertags:
- dataset_update_retrain
- "{{ sota.model }}"#<- I want to set this dynamically based on the job inputinputs:
- name: sotatype: dictisOptional: falserun:
kind: jobcontainer:
args: > set -x; train \ hydra.run.dir={{ globals.run_outputs_path }} \ model={{ sota.model }} \ model.datamodule.dataset_hash={{ sota.dataset_hash }}/ \ model.datamodule.data_directory=/data/{{ sota.model }}/ \ trainer=gpu \ trainer.max_epochs={{ sota.max_epochs }} \...
As the above pattern doesn't work, I am either doing it wrong or it isn't possible in the config. Could I potentially set ENV vars that could get picked up by the tracking client?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have no idea if this is possible, but I found myself wanting to do the following.
In words, I want to add component tags based on matrix parameters. The following
yaml
doesn't work, but I think it illustrates what I want.As the above pattern doesn't work, I am either doing it wrong or it isn't possible in the config. Could I potentially set ENV vars that could get picked up by the tracking client?
Thanks a ton for the help!
Beta Was this translation helpful? Give feedback.
All reactions