Skip to content

Commit

Permalink
rename configs to match dataset description
Browse files Browse the repository at this point in the history
rather than library used to read data

i.e. xarray -> ukcp18
  • Loading branch information
henryaddison committed Feb 9, 2024
1 parent 2a5103e commit ab192ec
Show file tree
Hide file tree
Showing 11 changed files with 7 additions and 194 deletions.
2 changes: 1 addition & 1 deletion bin/local-test-train
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

set -euo pipefail

config_name="xarray_cunet_continuous"
config_name="ukcp18_cunet_continuous"
dataset="bham_gcmx-4x_12em_psl-temp4th-vort4th_eqvt_random-season"

sde="subvpsde"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import ml_collections
import torch

from ml_downscaling_emulator.score_sde_pytorch_hja22.configs.default_xarray_configs import get_default_configs as get_base_configs
from ml_downscaling_emulator.score_sde_pytorch_hja22.configs.default_ukcp18_configs import get_default_configs as get_base_configs


def get_default_configs():
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

# Lint as: python3
"""Training NCSN++ on precip data with sub-VP SDE."""
from ml_downscaling_emulator.score_sde_pytorch_hja22.configs.default_xarray_12em_configs import get_default_configs
from ml_downscaling_emulator.score_sde_pytorch_hja22.configs.default_ukcp18_12em_configs import get_default_configs


def get_config():
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

# Lint as: python3
"""Training NCSN++ on precip data with sub-VP SDE."""
from ml_downscaling_emulator.score_sde_pytorch_hja22.configs.default_xarray_configs import get_default_configs
from ml_downscaling_emulator.score_sde_pytorch_hja22.configs.default_ukcp18_configs import get_default_configs


def get_config():
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

# Lint as: python3
"""Training conditional U-Net on precip data with sub-VP SDE."""
from ml_downscaling_emulator.score_sde_pytorch_hja22.configs.default_xarray_configs import get_default_configs
from ml_downscaling_emulator.score_sde_pytorch_hja22.configs.default_ukcp18_configs import get_default_configs


def get_config():
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

# Lint as: python3
"""Training NCSN++ on precip data with VE SDE."""
from ml_downscaling_emulator.score_sde_pytorch_hja22.configs.default_xarray_configs import get_default_configs
from ml_downscaling_emulator.score_sde_pytorch_hja22.configs.default_ukcp18_configs import get_default_configs


def get_config():
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

# Lint as: python3
"""Training UNet on XArray with VE SDE."""
from ml_downscaling_emulator.score_sde_pytorch_hja22.configs.default_xarray_configs import get_default_configs
from ml_downscaling_emulator.score_sde_pytorch_hja22.configs.default_ukcp18_configs import get_default_configs


def get_config():
Expand Down

This file was deleted.

This file was deleted.

0 comments on commit ab192ec

Please sign in to comment.