big refactoring
This commit is contained in:
1 parent
cfc298a2d2
commit
53e063ca7e
10 files changed
+41
-12
No files matched your search
+3
-2
@@ -1,5 +1,5 @@
|
||||
from training_modules.lightning_wrapper import LitModel
|
||||
from training_modules.data_modules import *
|
||||
from training_modules.datamodules import *
|
||||
from training_modules.datasets import *
|
||||
from training_modules import transforms
|
||||
from PIL import Image
|
||||
@@ -8,7 +8,8 @@ from PIL import Image
|
||||
def predict():
|
||||
"""
|
||||
Loads model from checkpoint.
|
||||
Files training_modules/models.py and training_modules/lightning_wrapper.py should be the same.
|
||||
Model used in training_modules/lightning_wrapper.py and declaration of that model in training_modules/models.py
|
||||
should be the same as during training.
|
||||
"""
|
||||
|
||||
CKPT_PATH = "epoch=0.ckpt"
|
||||
|
||||
Reference in new issue
Block a user