From 010960b36a911b7748276c6bc0f31aa7b5764b5b Mon Sep 17 00:00:00 2001 From: Nathan Painchaud Date: Wed, 25 Oct 2023 00:33:48 +0200 Subject: [PATCH] Remove experiment configs for abandoned training pipelines --- ...al-representation-finetune+constraint.yaml | 33 ------------------- ...ltimodal-representation-pretrain-mask.yaml | 22 ------------- 2 files changed, 55 deletions(-) delete mode 100644 didactic/config/experiment/cardinal/cardiac-multimodal-representation-finetune+constraint.yaml delete mode 100644 didactic/config/experiment/cardinal/cardiac-multimodal-representation-pretrain-mask.yaml diff --git a/didactic/config/experiment/cardinal/cardiac-multimodal-representation-finetune+constraint.yaml b/didactic/config/experiment/cardinal/cardiac-multimodal-representation-finetune+constraint.yaml deleted file mode 100644 index 5ada3010..00000000 --- a/didactic/config/experiment/cardinal/cardiac-multimodal-representation-finetune+constraint.yaml +++ /dev/null @@ -1,33 +0,0 @@ -# @package _global_ - -defaults: - - cardinal/cardiac-multimodal-representation - - /callbacks: - - transformer_encoder_freeze - - /task/constraint: ??? - -trainer: - max_epochs: 500 - -excluded_clinical_attrs: ${oc.dict.keys:task.predict_losses} - -task: - predict_losses: ??? - constraint_weight: 1 - attrs_dropout: [0.1, 0] - -callbacks: - transformer_encoder_freeze: - finetune_layers: null - -# Change checkpoint loading defaults to: -ckpt: ??? # Make it mandatory to provide a checkpoint -weights_only: True # Only load the weights and ignore the hyperparameters -strict: False # Only load weights where they match the defined network, to only some changes (e.g. heads, etc.) - -hydra: - run: - dir: ${oc.env:CARDIAC_MULTIMODAL_REPR_PATH}/finetune+constraint/constraint=${hydra:runtime.choices.task/constraint}/targets=${oc.dict.keys:task.predict_losses}/${experiment_dirname}/${hydra.job.override_dirname} - sweep: - dir: ${oc.env:CARDIAC_MULTIMODAL_REPR_PATH}/finetune+constraint - subdir: constraint=${hydra:runtime.choices.task/constraint}/targets=${oc.dict.keys:task.predict_losses}/${experiment_dirname}/${hydra.job.override_dirname} diff --git a/didactic/config/experiment/cardinal/cardiac-multimodal-representation-pretrain-mask.yaml b/didactic/config/experiment/cardinal/cardiac-multimodal-representation-pretrain-mask.yaml deleted file mode 100644 index 650068d0..00000000 --- a/didactic/config/experiment/cardinal/cardiac-multimodal-representation-pretrain-mask.yaml +++ /dev/null @@ -1,22 +0,0 @@ -# @package _global_ - -defaults: - - cardinal/cardiac-multimodal-representation - -trainer: - max_epochs: 2500 - -excluded_clinical_attrs: ??? - -task: - mask_loss: - _target_: torch.nn.BCEWithLogitsLoss - mask_loss_weight: 1 - mtr_p: [0.3, 0] - -hydra: - run: - dir: ${oc.env:CARDIAC_MULTIMODAL_REPR_PATH}/pretrain-mask/excluded_clinical_attrs=${excluded_clinical_attrs},img_attrs=${task.img_attrs}/${experiment_dirname}/${hydra.job.override_dirname} - sweep: - dir: ${oc.env:CARDIAC_MULTIMODAL_REPR_PATH}/pretrain-mask - subdir: excluded_clinical_attrs=${excluded_clinical_attrs},img_attrs=${task.img_attrs}/${experiment_dirname}/${hydra.job.override_dirname}