-
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Glad to hear you are liking the Units so far! And wow, you are absolutely right. Not sure what I did there. Just fixed it! Your results look good btw!
That's a good point. Off the top of my head, I don't think there is an easy way. But one way to avoid the trigger here is to perhaps swap the lines train_acc = trainer.validate(dataloaders=dm.train_dataloader())[0]["val_acc"]
val_acc = trainer.validate(datamodule=dm)[0]["val_acc"]
test_acc = trainer.test(datamodule=dm)[0]["test_acc"] with train_acc = trainer.test(dataloaders=dm.train_dataloader())[0]["test_acc"]
val_acc = trainer.test(dataloaders=dm.val_dataloader())[0]["test_acc"]
test_acc = trainer.test(datamodule=dm)[0]["test_acc"] (I just did that in the template to avoid confusion if others try this exercise) |
Beta Was this translation helpful? Give feedback.
Glad to hear you are liking the Units so far! And wow, you are absolutely right. Not sure what I did there. Just fixed it!
Your results look good btw!
That's a good point. Off the top of my head, I don't think there is an easy way. But one way to avoid the trigger here is to perhaps swap the lines