prototorch_models/examples/cli/gmlvq.py

14 lines
278 B
Python
Raw Normal View History

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