fix: spelling issues for previous commits
This commit is contained in:
parent
a9edf06507
commit
4232d0ed2a
@ -1,4 +1,4 @@
|
|||||||
"""GMLVQ example using the MNIST dataset."""
|
"""GTLVQ example using the MNIST dataset."""
|
||||||
|
|
||||||
import argparse
|
import argparse
|
||||||
|
|
||||||
@ -56,9 +56,9 @@ if __name__ == "__main__":
|
|||||||
hparams,
|
hparams,
|
||||||
optimizer=torch.optim.Adam,
|
optimizer=torch.optim.Adam,
|
||||||
prototypes_initializer=pt.initializers.SMCI(train_ds),
|
prototypes_initializer=pt.initializers.SMCI(train_ds),
|
||||||
# Use one batch of data for subspace initiator.
|
#Use one batch of data for subspace initiator.
|
||||||
# omega_initializer=pt.initializers.PCALinearTransformInitializer(next(iter(train_loader))[0].reshape(256,28*28))
|
omega_initializer=pt.initializers.PCALinearTransformInitializer(
|
||||||
)
|
next(iter(train_loader))[0].reshape(256, 28 * 28)))
|
||||||
|
|
||||||
# Callbacks
|
# Callbacks
|
||||||
vis = pt.models.VisImgComp(
|
vis = pt.models.VisImgComp(
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
"""Localized-GMLVQ example using the Moons dataset."""
|
"""Localized-GTLVQ example using the Moons dataset."""
|
||||||
|
|
||||||
import argparse
|
import argparse
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
"""Siamese GLVQ example using all four dimensions of the Iris dataset."""
|
"""Siamese GTLVQ example using all four dimensions of the Iris dataset."""
|
||||||
|
|
||||||
import argparse
|
import argparse
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user