Skip to content

Commit

Permalink
corrected test super config + got rid of deprecated val_split_super r…
Browse files Browse the repository at this point in the history
…eference
  • Loading branch information
geronimocharlie committed Apr 1, 2024
1 parent cf5d5fa commit c2b96e2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
5 changes: 1 addition & 4 deletions emulator/configs/experiment/test_super.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ trainer:
model:
loss_function: "climax_lon_lat_rmse"
monitor: "val/llrmse_climax"
finetune: True
finetune: False
pretrained_run_id: "bcvgpg4b"
pretrained_ckpt_dir: "home/causalpaca/emulator/emulator/bcvgpg4b/checkpoints/epoch=8-step=180.ckpt"
pretrained_run_id_decoder: "xog84o5g"
Expand All @@ -55,9 +55,6 @@ datamodule: # overwrite what stuff to train on
test_scenarios : ["ssp370"]
train_models : ["MPI-ESM1-2-HR", "GFDL-ESM4", "NorESM2-LM"]
test_models: ["NorESM2-LM"]
#num_ensembles: 2
output_save_dir : '/home/mila/c/charlotte.lange/scratch/causalpaca/emulator/DATA'
#cmip6_data_dir: '/home/mila/v/venkatesh.ramesh/scratch/causal_data/dl_fromcc/'

logger:
wandb:
Expand Down
3 changes: 1 addition & 2 deletions emulator/src/datamodules/super_climate_datamodule.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,10 @@
NUM_LEVELS,
DATA_DIR,
)
from emulator.src.utils.utils import get_logger, random_split, random_split_super
from emulator.src.utils.utils import get_logger

log = get_logger()


class SuperClimateDataModule(LightningDataModule):
"""
----------------------------------------------------------------------------------------------------------
Expand Down

0 comments on commit c2b96e2

Please sign in to comment.