Skip to content

Commit

Permalink
Fix some commands to run experiments
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanpainchaud committed Nov 1, 2023
1 parent 85f9ad1 commit 6ddc16d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions didactic/scripts/experiments.sh
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,9 @@ env COMET_PROJECT_NAME=didactic-multimodal-xformer-finetune didactic-runner -m h
## top-13+img
env COMET_PROJECT_NAME=didactic-multimodal-xformer-finetune didactic-runner -m hydra/launcher=joblib hydra.launcher.n_jobs=10 +experiment=cardinal/cardiac-multimodal-representation-finetune trainer.enable_progress_bar=False task.clinical_attrs=[sbp_tte,pp_tte,age,diastolic_dysfunction_param_sum,pw_d,lvm_ind,e_e_prime_ratio,gfr,lateral_e_prime,septal_e_prime,a_velocity,ddd,la_volume] excluded_clinical_attrs=[] task.contrastive_loss_weight=0,0.1 'task.predict_losses={nt_probnp_group:{_target_:torch.nn.CrossEntropyLoss}},{ht_severity:{_target_:torch.nn.CrossEntropyLoss}}' 'ckpt=/home/local/USHERBROOKE/pain5474/data/didactic/models/multimodal-xformer/pretrain/top-13+img/multimodal-xformer-pretrain-top-13+img-${trial}.ckpt' '+trial=range(10)' ; \
## all-clin
env COMET_PROJECT_NAME=didactic-multimodal-xformer-finetune didactic-runner -m hydra/launcher=joblib hydra.launcher.n_jobs=10 +experiment=cardinal/cardiac-multimodal-representation-finetune trainer.enable_progress_bar=False task.contrastive_loss_weight=0,0.1 'task.predict_losses={${list.at:${excluded_clinical_attrs},0}:{_target_:torch.nn.CrossEntropyLoss}}' task.img_attrs=[] excluded_clinical_attrs=[nt_probnp_group,nt_probnp],[ht_severity,ht_grade] 'ckpt=/home/local/USHERBROOKE/pain5474/data/didactic/models/multimodal-xformer/pretrain/all-clin/multimodal-xformer-pretrain-all-clin-${oc.dict.keys:task.predict_losses}-${trial}.ckpt' '+trial=range(10)' ; \
env COMET_PROJECT_NAME=didactic-multimodal-xformer-finetune didactic-runner -m hydra/launcher=joblib hydra.launcher.n_jobs=10 +experiment=cardinal/cardiac-multimodal-representation-finetune trainer.enable_progress_bar=False task.contrastive_loss_weight=0,0.1 'task.predict_losses={${list.at:${excluded_clinical_attrs},0}:{_target_:torch.nn.CrossEntropyLoss}}' task.img_attrs=[] excluded_clinical_attrs=[nt_probnp_group,nt_probnp],[ht_severity,ht_grade] 'ckpt=/home/local/USHERBROOKE/pain5474/data/didactic/models/multimodal-xformer/pretrain/all-clin/multimodal-xformer-pretrain-all-clin-${list.at:${excluded_clinical_attrs},0}-${trial}.ckpt' '+trial=range(10)' ; \
## all
env COMET_PROJECT_NAME=didactic-multimodal-xformer-finetune didactic-runner -m hydra/launcher=joblib hydra.launcher.n_jobs=10 +experiment=cardinal/cardiac-multimodal-representation-finetune trainer.enable_progress_bar=False task.contrastive_loss_weight=0,0.1 'task.predict_losses={${list.at:${excluded_clinical_attrs},0}:{_target_:torch.nn.CrossEntropyLoss}}' excluded_clinical_attrs=[nt_probnp_group,nt_probnp],[ht_severity,ht_grade] 'ckpt=/home/local/USHERBROOKE/pain5474/data/didactic/models/multimodal-xformer/pretrain/all/multimodal-xformer-pretrain-all-${oc.dict.keys:task.predict_losses}-${trial}.ckpt' '+trial=range(10)'
env COMET_PROJECT_NAME=didactic-multimodal-xformer-finetune didactic-runner -m hydra/launcher=joblib hydra.launcher.n_jobs=10 +experiment=cardinal/cardiac-multimodal-representation-finetune trainer.enable_progress_bar=False task.contrastive_loss_weight=0,0.1 'task.predict_losses={${list.at:${excluded_clinical_attrs},0}:{_target_:torch.nn.CrossEntropyLoss}}' excluded_clinical_attrs=[nt_probnp_group,nt_probnp],[ht_severity,ht_grade] 'ckpt=/home/local/USHERBROOKE/pain5474/data/didactic/models/multimodal-xformer/pretrain/all/multimodal-xformer-pretrain-all-${list.at:${excluded_clinical_attrs},0}-${trial}.ckpt' '+trial=range(10)'

# separate commands
### all-clin (nt_probnp_group)
Expand Down

0 comments on commit 6ddc16d

Please sign in to comment.