SDAT icon indicating copy to clipboard operation
SDAT copied to clipboard

Add script for experiments with ResNet50

Open Ambuj-Choudha opened this issue 11 months ago • 3 comments

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

Ambuj-Choudha avatar Jan 27 '25 13:01 Ambuj-Choudha

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

rangwani-harsh avatar Jan 27 '25 14:01 rangwani-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

Ambuj-Choudha avatar Jan 27 '25 14:01 Ambuj-Choudha

Hi @Ambuj-Choudha,

Thanks for your PR, I will try to review this over the weekend, and then get back to you.

Thanks Harsh

rangwani-harsh avatar Jan 28 '25 04:01 rangwani-harsh