Skip to content

Commit

Permalink
Linting
Browse files Browse the repository at this point in the history
  • Loading branch information
joeloskarsson committed Jul 24, 2024
1 parent 2a6796c commit 8f4e0e0
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
4 changes: 3 additions & 1 deletion neural_lam/__init__.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
# First-party
import neural_lam.config
import neural_lam.interaction_net
import neural_lam.metrics
import neural_lam.models
import neural_lam.utils
import neural_lam.vis
from .weather_dataset import WeatherDataset

# Local
from .weather_dataset import WeatherDataset
3 changes: 1 addition & 2 deletions neural_lam/create_parameter_weights.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@
from tqdm import tqdm

# Local
from . import config
from .weather_dataset import WeatherDataset
from . import WeatherDataset, config


class PaddedWeatherDataset(torch.utils.data.Dataset):
Expand Down
5 changes: 3 additions & 2 deletions neural_lam/models/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Local
from .base_graph_model import BaseGraphModel
from .base_hi_graph_model import BaseHiGraphModel
from .graph_lam import GraphLAM
from .hi_lam import HiLAM
from .hi_lam_parallel import HiLAMParallel
from .base_graph_model import BaseGraphModel
from .base_hi_graph_model import BaseHiGraphModel
6 changes: 2 additions & 4 deletions neural_lam/train_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,8 @@
from lightning_fabric.utilities import seed

# Local
from . import config, utils, WeatherDataset
from .models import GraphLAM
from .models import HiLAM
from .models import HiLAMParallel
from . import WeatherDataset, config, utils
from .models import GraphLAM, HiLAM, HiLAMParallel

MODELS = {
"graph_lam": GraphLAM,
Expand Down

0 comments on commit 8f4e0e0

Please sign in to comment.