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
|
# pytorch lightning
|
||||||
import pytorch_lightning as pl
|
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
|
from pytorch_lightning.profiler import SimpleProfiler, AdvancedProfiler
|
||||||
|
|
||||||
# yaml
|
# yaml
|
||||||
@@ -9,10 +9,9 @@ import yaml
|
|||||||
# wandb
|
# wandb
|
||||||
from pytorch_lightning.loggers import WandbLogger
|
from pytorch_lightning.loggers import WandbLogger
|
||||||
|
|
||||||
# custom utils
|
# custom pipeline_modules
|
||||||
from utils.lightning_wrapper import LitModel
|
from pipeline_modules.lightning_wrapper import LitModel
|
||||||
from utils.data_modules import MNISTDataModule
|
from project.pipeline_modules.data_modules import MNISTDataModule
|
||||||
from utils.callbacks import ExampleCallback, SaveOnnxToWandbCallback
|
|
||||||
|
|
||||||
|
|
||||||
def init_wandb(config, model, dataloader):
|
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
|
from pytorch_lightning.metrics.functional import accuracy, precision, recall, f1_score, fbeta_score
|
||||||
|
|
||||||
# custom models
|
# custom models
|
||||||
from utils.models import ModelMNISTv1, ModelMNISTv2
|
from pipeline_modules.models import ModelMNISTv1, ModelMNISTv2
|
||||||
|
|
||||||
|
|
||||||
class LitModel(pl.LightningModule):
|
class LitModel(pl.LightningModule):
|
||||||
File renamed without changes.
Reference in new issue
Block a user