Skip to content

Commit

Permalink
fix import
Browse files Browse the repository at this point in the history
  • Loading branch information
A669015 committed Jan 29, 2025
1 parent 26d8915 commit 8271deb
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions reactive-flows/cnf-combustion/gnns/tests/test_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@
import torch_geometric as pyg
import torch_optimizer as optim
import yaml

from lightning.pytorch.trainer import Trainer
from models import LitGCN, LitGAT, LitGIN, LitGraphUNet

from models import LitGAT, LitGCN, LitGIN, LitGraphUNet


class TestModel(unittest.TestCase):
Expand Down Expand Up @@ -171,9 +171,7 @@ def test_test_step(self):
test_gunet.on_test_epoch_end()

self.assertTrue(
os.path.exists(
os.path.join(test_gunet.trainer.log_dir, "plots")
)
os.path.exists(os.path.join(test_gunet.trainer.log_dir, "plots"))
)

def test_configure_optimizers(self):
Expand Down

0 comments on commit 8271deb

Please sign in to comment.