change folder structure
This commit is contained in:
1 parent
24f78a31df
commit
eb8ac55ab7
9 files changed
+5
-6
No files matched your search
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -1,6 +1,6 @@
|
||||
# pytorch lightning
|
||||
import pytorch_lightning as pl
|
||||
from pytorch_lightning.callbacks import ModelCheckpoint, EarlyStopping, LearningRateMonitor
|
||||
from pytorch_lightning.callbacks import ModelCheckpoint, EarlyStopping
|
||||
from pytorch_lightning.profiler import SimpleProfiler, AdvancedProfiler
|
||||
|
||||
# yaml
|
||||
@@ -9,10 +9,9 @@ import yaml
|
||||
# wandb
|
||||
from pytorch_lightning.loggers import WandbLogger
|
||||
|
||||
# custom utils
|
||||
from utils.lightning_wrapper import LitModel
|
||||
from utils.data_modules import MNISTDataModule
|
||||
from utils.callbacks import ExampleCallback, SaveOnnxToWandbCallback
|
||||
# custom pipeline_modules
|
||||
from pipeline_modules.lightning_wrapper import LitModel
|
||||
from project.pipeline_modules.data_modules import MNISTDataModule
|
||||
|
||||
|
||||
def init_wandb(config, model, dataloader):
|
||||
File renamed without changes.
File renamed without changes.
Whitespace-only changes.
@@ -7,7 +7,7 @@ import pytorch_lightning as pl
|
||||
from pytorch_lightning.metrics.functional import accuracy, precision, recall, f1_score, fbeta_score
|
||||
|
||||
# custom models
|
||||
from utils.models import ModelMNISTv1, ModelMNISTv2
|
||||
from pipeline_modules.models import ModelMNISTv1, ModelMNISTv2
|
||||
|
||||
|
||||
class LitModel(pl.LightningModule):
|
||||
File renamed without changes.
Reference in new issue
Block a user