Add script for experiments with ResNet50
Hi,
I have added the commands which I ran for ResNet50 experiments. These commands are consistent with TL-lib (i.e. without --no-pool flag). Regarding the changes I made in pytorch code, I have not added those changes in this pull request because it really depends with which version is the person willing to run the repo code.
For more reference check the open issue thread (https://github.com/val-iisc/SDAT/issues/13) The issue is with ViT arch which is still open.
Thanks, AC
Hi @Ambuj-Choudha,
It would be great if you could also add a file name cdan_sdat_tllib.py which contains all the changes which are required for tllib, which you had mentioned in #13.
Also please update the script based on the new file name.
Thanks Harsh
Hey hi,
I hope I am not causing confusion. Only for running the experiments within TL lib, this change is required: x_s, labels_s = next(train_source_iter)[:2] x_t, _ = next(train_target_iter)[:2]
but it doesn't cause any issue, in the SDAT repo. Only removing --no-pool flag is still neccesary.
Regards, AC
Hi @Ambuj-Choudha,
Thanks for your PR, I will try to review this over the weekend, and then get back to you.
Thanks Harsh