Fix example script

This commit is contained in:
Jensun Ravichandran 2021-05-18 10:15:38 +02:00
parent 4957e821f6
commit 00cdacf7ae

View File

@ -30,7 +30,7 @@ if __name__ == "__main__":
noise=1e-1)) noise=1e-1))
# Callbacks # Callbacks
vis = pt.models.VisGLVQ2D(train_ds, show_last_only=True) vis = pt.models.VisGLVQ2D(train_ds, show_last_only=True, block=True)
snan = StopOnNaN(model.proto_layer.components) snan = StopOnNaN(model.proto_layer.components)
# Setup trainer # Setup trainer