prototorch_models/examples/cli/gmlvq.py
Alexander Engelsberger b60db3174a LightningCLI Example.
2021-05-21 17:13:15 +02:00

14 lines
270 B
Python

"""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)