Skip to content

Commit

Permalink
Update multimodal config to simplify interpolation + include new img …
Browse files Browse the repository at this point in the history
…attrs
  • Loading branch information
nathanpainchaud committed Oct 24, 2023
1 parent 9d4fc7b commit 9ebe4aa
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,16 +75,23 @@ data:
- ht_cm
image_attributes:
- gls
- gls_left
- gls_right
- lv_area
- lv_length
- myo_area
- myo_area_left
- myo_area_right

predict:
_target_: didactic.data.cardinal.predict.CardiacRepresentationPredictionWriter
write_path: ${sys.getcwd:}/predictions
hue_attrs: ${data.process_patient_kwargs.clinical_attributes}

excluded_clinical_attrs: []
# Determine the number of clinical + image attributes used by the model based on their respective configs
n_clinical_attrs: ${builtin.len:${task.clinical_attrs}}
n_img_attrs: ${op.mul:${builtin.len:${task.views}},${builtin.len:${task.img_attrs}}}

task:
_target_: didactic.tasks.cardiac_multimodal_representation.CardiacMultimodalRepresentationTask
Expand Down Expand Up @@ -172,6 +179,7 @@ hydra:
- task.attrs_dropout

- task.embed_dim
- task/model
- task.model.encoder.num_layers
- task.model.encoder.encoder_layer.nhead
- task.model.encoder.encoder_layer.dim_feedforward
Expand Down

0 comments on commit 9ebe4aa

Please sign in to comment.