val_dataloader participate in training?
❓ Questions and Help
It's very strange. I just use
trainer.fit(net, train_dataloader=data.train_loader, val_dataloaders=data.val_loader)
trainer.test(test_dataloaders=data.test_loader)

to train, validate and test.
I am sure train_loader, val_loader and test_loader are from independent dataset.
But the test result turns out to be much worse than val result, and val result is close to train result, which seems that the val set takes part in training. I can't figure out what happened. Is this a bug or my way is wrong?