Skip to content

Commit

Permalink
num_features=24
Browse files Browse the repository at this point in the history
  • Loading branch information
Borda committed May 3, 2023
1 parent e2dc026 commit aa6024a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/legacy/simple_classif_training.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def main_train(dir_path, max_epochs: int = 20):
deterministic=True,
)

dm = ClassifDataModule()
dm = ClassifDataModule(num_features=24, length=800, num_classes=3)
model = ClassificationModel(num_features=24, num_classes=3, lr=0.01)
trainer.fit(model, datamodule=dm)
res = trainer.test(model, datamodule=dm)
Expand Down

0 comments on commit aa6024a

Please sign in to comment.