Skip to content

Commit

Permalink
Update test.py
Browse files Browse the repository at this point in the history
  • Loading branch information
hughplay authored Dec 6, 2024
1 parent 7d7c5ee commit 5bc1067
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ def test(

# initialize trainer
cfg_trainer = prepare_trainer_config(config, logging=False)
trainer = lt.Trainer(**cfg_trainer)
trainer = instantiate(cfg_trainer)

# testing
results = trainer.test(pipeline, datamodule=datamodule)
Expand Down

0 comments on commit 5bc1067

Please sign in to comment.