Skip to content

Commit

Permalink
Fix incorrect loss name index
Browse files Browse the repository at this point in the history
  • Loading branch information
Eve-ning committed Feb 21, 2024
1 parent 6d4ba32 commit 33b9108
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/integration_tests/test_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,5 @@ def test_manual_segmentation_pipeline(ds):
trainer = pl.Trainer(fast_dev_run=True)
trainer.fit(m, datamodule=dm)

val_loss = trainer.validate(m, datamodule=dm)[0]["val_loss"]
val_loss = trainer.validate(m, datamodule=dm)[0]["val/ce_loss"]
logging.debug(f"Validation score: {val_loss:.2%}")

0 comments on commit 33b9108

Please sign in to comment.