Describe the bug
It look like a data leakage problem in files adda.py & utils.py because the val_loader and test_loader is equal some time.
In training phase, the val_loader are used in calculating acc and to save best model, but in test phase the test_loader which are used in calculating accuray performance of model is the same as val_loader.
Expect behavor
I want to run a unsupervised domain adaptation program.
Describe the bug It look like a data leakage problem in files adda.py & utils.py because the val_loader and test_loader is equal some time.
In training phase, the val_loader are used in calculating acc and to save best model, but in test phase the test_loader which are used in calculating accuray performance of model is the same as val_loader.
Expect behavor I want to run a unsupervised domain adaptation program.
Please kindly advise.
Screenshots adda.py
utils.py