Albert0147 / AaD_SFDA

Code for our NeurIPS 2022 (spotlight) paper 'Attracting and Dispersing: A Simple Approach for Source-free Domain Adaptation'
64 stars 6 forks source link

A question about dataloader for test #6

Closed rickyang1114 closed 1 year ago

rickyang1114 commented 1 year ago

Hi, there!

I notice that in the dataloader for test, the parameter shuffle of the init of DataLoader is set to False in Visda17, whereas in office-home and office31, it is set to True. Is this setting on purpose?

i.e. in line 120 of tar_adaptation.py, line 154 of office-home/train_tar.py, line 197 of office-home/office31_tar.py

Albert0147 commented 1 year ago

Hi, for testing it does not matter to set it to true or false, basically most of the codes are based on SHOT.

rickyang1114 commented 1 year ago

Thanks for your reply