prototorch_models/examples/cli/gmlvq.py

14 lines
270 B
Python
Raw Normal View History

2021-05-21 15:10:36 +00:00
"""GMLVQ example using the MNIST dataset."""
from prototorch.models import ImageGLVQ
from pytorch_lightning.utilities.cli import LightningCLI
from mnist import TrainOnMNIST
class Model(TrainOnMNIST, ImageGLVQ):
"""Model Definition"""
cli = LightningCLI(Model)