Dev (#107)
* refactor folder names * define python logger correctly * refactor rich printing method * specify model parameters explicitly * specify datamodule params explicitly * refactor * update readme
This commit is contained in:
1 parent
fca999f527
commit
381b5844ed
18 files changed
+133
-168
No files matched your search
+6
-8
@@ -1,19 +1,17 @@
|
||||
# lightning imports
|
||||
import logging
|
||||
from typing import List, Optional
|
||||
|
||||
from pytorch_lightning import LightningModule, LightningDataModule, Callback, Trainer
|
||||
from pytorch_lightning.loggers import LightningLoggerBase
|
||||
from pytorch_lightning import seed_everything
|
||||
|
||||
# hydra imports
|
||||
from omegaconf import DictConfig
|
||||
from hydra.utils import log
|
||||
import hydra
|
||||
from omegaconf import DictConfig
|
||||
|
||||
# normal imports
|
||||
from typing import List, Optional
|
||||
|
||||
# src imports
|
||||
from src.utils import template_utils
|
||||
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
|
||||
def train(config: DictConfig) -> Optional[float]:
|
||||
"""Contains training pipeline.
|
||||
|
||||
Reference in new issue
Block a user