summaryrefslogtreecommitdiff
path: root/training/run.py
diff options
context:
space:
mode:
Diffstat (limited to 'training/run.py')
-rw-r--r--training/run.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/training/run.py b/training/run.py
index 31da666..695a298 100644
--- a/training/run.py
+++ b/training/run.py
@@ -2,14 +2,14 @@
from typing import List, Optional, Type
import hydra
-import loguru.logger as log
+from loguru import logger as log
from omegaconf import DictConfig
from pytorch_lightning import (
Callback,
LightningDataModule,
LightningModule,
- Trainer,
seed_everything,
+ Trainer,
)
from pytorch_lightning.loggers import LightningLoggerBase
from torch import nn
@@ -67,7 +67,7 @@ def run(config: DictConfig) -> Optional[float]:
log.info("Training network...")
trainer.fit(model, datamodule=datamodule)
- if config.test:
+ if config.test:lua/cfg/themes/dark.lua
log.info("Testing network...")
trainer.test(model, datamodule=datamodule)