Environment:
	Python: 3.10.11
	PyTorch: 2.0.1
	Torchvision: 0.15.2
	CUDA: 11.7
	CUDNN: 8500
	NumPy: 1.24.3
	PIL: 9.4.0
	Testing environment: [3]
Args:
	algorithm: Selective_KD
	checkpoint_freq: 300
	data_dir: ./domainbed/data
	dataset: PACS
	holdout_fraction: 0.2
	hparams: {
    "resnet18": false,
    "resnet_dropout": 0,
    "nonlinear_classifier": false,
    "data_augmentation": true,
    "clip_backbone": "ViT-B/32",
    "student_model": "resnet",
    "SMA": true,
    "batch_size": 32
}
	hparams_seed: 0
	output_dir: sweep/ablation3/outputs/b1609d20b015b405b4c023de4e8ca458
	save_linear_probed_clip: False
	save_model_every_checkpoint: False
	seed: 1778815476
	skip_model_save: False
	steps: 5001
	sweep: True
	task: domain_generalization
	test_envs: [3]
	trial_seed: 0
	uda_holdout_fraction: 0
	visualize: False
Not saving models
HParams:
	SMA: True
	batch_size: 32
	class_balanced: False
	clip_backbone: ViT-B/32
	data_augmentation: True
	lambda1: 0.5
	lambda2: 0.5
	last_k_epoch: 0.25
	lr: 5e-05
	nonlinear_classifier: False
	resnet18: False
	resnet_dropout: 0
	student_model: resnet
	temperature: 3
	weight_decay: 0.0
	worst_case_p: 0.3333333333333333
using augment transform
using augment transform
using augment transform
using normal transform
using device:  cuda
Using ViT-B/32...
constructing student model
using resnet 50
Using SMA
n_steps 5001
checkpoint_freq 300
agg_test_acc  agg_val_acc   env0_in_acc   env0_out_acc  env1_in_acc   env1_out_acc  env2_in_acc   env2_out_acc  env3_in_acc   env3_out_acc  epoch         loss          mem_gb        step          step_time    
0.2498431953  0.1067894303  0.1134838316  0.1271393643  0.1066098081  0.1153846154  0.0823353293  0.0778443114  0.2461832061  0.2535031847  0.0000000000  6.0225763321  2.3338298798  0             1.4578237534 
0.7595559631  0.9607785658  0.9835265406  0.9413202934  0.9813432836  0.9529914530  1.0000000000  0.9880239521  0.7471374046  0.7719745223  7.1856287425  1.7654575450  2.5978608131  300           0.1597617698 
0.8104757212  0.9719605360  0.9914582062  0.9633251834  0.9952025586  0.9615384615  1.0000000000  0.9910179641  0.8031170483  0.8178343949  14.371257485  0.6289705880  2.5978608131  600           0.1794369960 
0.8249566453  0.9733850374  0.9969493594  0.9633251834  0.9978678038  0.9658119658  1.0000000000  0.9910179641  0.8180661578  0.8318471338  21.556886227  0.5507439996  2.5978608131  900           0.1784632913 
0.8251172991  0.9790675265  0.9963392312  0.9731051345  0.9978678038  0.9700854701  1.0000000000  0.9940119760  0.8158396947  0.8343949045  28.742514970  0.5029547864  2.5978608131  1200          0.1773460348 
0.8271847292  0.9754837906  0.9987797437  0.9657701711  0.9968017058  0.9636752137  1.0000000000  0.9970059880  0.8199745547  0.8343949045  35.928143712  0.4777907768  2.5978608131  1500          0.1766778866 
0.8268658527  0.9749122841  0.9969493594  0.9657701711  0.9989339019  0.9679487179  1.0000000000  0.9910179641  0.8206106870  0.8331210191  43.113772455  0.4668592397  2.5978608131  1800          0.1760874057 
0.8281397380  0.9724672963  0.9987797437  0.9584352078  0.9984008529  0.9679487179  1.0000000000  0.9910179641  0.8206106870  0.8356687898  50.299401197  0.4476312650  2.5978608131  2100          0.1751731873 
0.8282987711  0.9769082920  0.9981696156  0.9657701711  0.9984008529  0.9679487179  0.9985029940  0.9970059880  0.8209287532  0.8356687898  57.485029940  0.4466220889  2.5978608131  2400          0.1764238199 
0.8270256961  0.9746265308  0.9993898719  0.9657701711  0.9994669510  0.9700854701  1.0000000000  0.9880239521  0.8196564885  0.8343949045  64.670658682  0.4331650016  2.5978608131  2700          0.1757409930 
0.8255927777  0.9791477894  0.9993898719  0.9682151589  1.0000000000  0.9722222222  1.0000000000  0.9970059880  0.8193384224  0.8318471338  71.856287425  0.4157236005  2.5978608131  3000          0.1754886262 
0.8263879431  0.9813872867  1.0000000000  0.9706601467  0.9994669510  0.9764957265  1.0000000000  0.9970059880  0.8209287532  0.8318471338  79.041916167  0.4301003941  2.5978608131  3300          0.1752029173 
0.8292545903  0.9785382839  1.0000000000  0.9706601467  0.9994669510  0.9679487179  1.0000000000  0.9970059880  0.8202926209  0.8382165605  86.227544910  0.4032332911  2.5978608131  3600          0.1737229196 
0.8278224822  0.9777008056  0.9993898719  0.9608801956  1.0000000000  0.9722222222  1.0000000000  1.0000000000  0.8187022901  0.8369426752  93.413173652  0.3589435875  5.3948016167  3900          0.1902015114 
0.8290955572  0.9848302785  0.9993898719  0.9779951100  0.9994669510  0.9764957265  1.0000000000  1.0000000000  0.8199745547  0.8382165605  100.59880239  0.2656693562  5.3948016167  4200          0.2047062747 
0.8279815153  0.9790675265  1.0000000000  0.9731051345  0.9994669510  0.9700854701  1.0000000000  0.9940119760  0.8190203562  0.8369426752  107.78443113  0.2460969825  5.3948016167  4500          0.2041192277 
0.8286192683  0.9739945429  0.9993898719  0.9608801956  1.0000000000  0.9700854701  0.9992514970  0.9910179641  0.8177480916  0.8394904459  114.97005988  0.2366210643  5.3948016167  4800          0.2042132950 
0.8313260721  0.9772545266  0.9987797437  0.9706601467  0.9994669510  0.9700854701  1.0000000000  0.9910179641  0.8180661578  0.8445859873  119.76047904  0.2280573163  5.3948016167  5000          0.2063333189 
