According to the explanation in PYTORCH LIGHTNING DOCUMENTATION, to test the model with a new dataset I should do this:
test = DataLoader(…)
trainer.test(test_dataloaders=test)
but then I get that error:
test() got an unexpected keyword argument ‘test_dataloader’