[refactor] Use functional variant of accuracy

Prevents Accuracy in `__repr__` of the models.
This commit is contained in:
Alexander Engelsberger
2021-05-28 21:30:50 +02:00
parent e9d2075fed
commit 0ac4ced85d
3 changed files with 7 additions and 5 deletions

View File

@@ -36,6 +36,8 @@ if __name__ == "__main__":
prototype_initializer=pt.components.SMI(train_ds),
)
print(model)
# Callbacks
vis = pt.models.VisGLVQ2D(data=train_ds)