* rework lightning model for mnist

* sort imports

* add comment to pre-commit-config

* remove returns from test_step because it's bugged

* update experiment configs

* Update README.md
This commit is contained in:
Łukasz Zalewski authored and GitHub committed 2021-03-10 15:33:14 +01:00
1 parent 67d531ab67
commit b1e0bf9717
23 files changed
+480 -320

No files matched your search

+4 -4
View File
@@ -1,12 +1,12 @@
from PIL import Image
from src.models.mnist_model import LitModelMNIST
from src.transforms import mnist_transforms
from PIL import Image
def predict():
"""
This is example of inference with a trained model.
It Loads trained image classification model from checkpoint.
"""Example of inference with trained model.
It loads trained image classification model from checkpoint.
Then it loads example image and predicts its label.
"""