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: VLCS
	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: 2
	output_dir: sweep/ablation3/outputs/2a0ec7fcc1ef6dcff09af228c24f3663
	save_linear_probed_clip: False
	save_model_every_checkpoint: False
	seed: 924083852
	skip_model_save: False
	steps: 5001
	sweep: True
	task: domain_generalization
	test_envs: [3]
	trial_seed: 2
	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.8194577311903198
	lambda2: 0.5954971958468116
	last_k_epoch: 0.2502561813215683
	lr: 3e-05
	nonlinear_classifier: False
	resnet18: False
	resnet_dropout: 0
	student_model: resnet
	temperature: 2.3092434210820203
	weight_decay: 1e-06
	worst_case_p: 0.25
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.2068147599  0.2570946993  0.2818021201  0.2968197880  0.2362352941  0.2259887006  0.2452399086  0.2484756098  0.2002961866  0.2133333333  0.0000000000  5.0206298828  2.0073552132  0             1.4403431416 
0.8120715232  0.8586605370  0.9991166078  0.9964664311  0.7840000000  0.7532956685  0.8819497334  0.8262195122  0.8137726768  0.8103703704  8.4805653710  1.8204736869  2.2565736771  300           0.6366731222 
0.8335497137  0.8647704130  1.0000000000  1.0000000000  0.7910588235  0.7589453861  0.9200304646  0.8353658537  0.8315438726  0.8355555556  16.961130742  1.3810822769  2.2565736771  600           0.6228640445 
0.8261436775  0.8535792362  1.0000000000  0.9964664311  0.8023529412  0.7532956685  0.9402132521  0.8109756098  0.8241392077  0.8281481481  25.441696113  1.2608923936  2.2565736771  900           0.6262632179 
0.8207739242  0.8631743780  1.0000000000  0.9964664311  0.8207058824  0.7683615819  0.9550647372  0.8246951220  0.8208071085  0.8207407407  33.922261484  1.1332737082  2.2565736771  1200          0.6203849014 
0.8178117840  0.8714363906  1.0000000000  1.0000000000  0.8343529412  0.7758945386  0.9657273420  0.8384146341  0.8163643095  0.8192592593  42.402826855  1.0738806663  2.2565736771  1500          0.6286384567 
0.8200334577  0.8656077271  1.0000000000  1.0000000000  0.8447058824  0.7721280603  0.9718202589  0.8246951220  0.8193261755  0.8207407407  50.883392226  1.0261421315  2.2565736771  1800          0.6265986474 
0.8185522505  0.8699416652  1.0000000000  1.0000000000  0.8635294118  0.7683615819  0.9771515613  0.8414634146  0.8178452425  0.8192592593  59.363957597  1.0067789143  2.2565736771  2100          0.6254096103 
0.8179966264  0.8740966573  1.0000000000  1.0000000000  0.8668235294  0.7777777778  0.9794364052  0.8445121951  0.8182154757  0.8177777778  67.844522968  0.9948036158  2.2565736771  2400          0.6242942031 
0.8192924427  0.8670901375  1.0000000000  0.9964664311  0.8776470588  0.7740112994  0.9851485149  0.8307926829  0.8208071085  0.8177777778  76.325088339  0.9803610903  2.2565736771  2700          0.6196911351 
0.8179963521  0.8678794801  1.0000000000  1.0000000000  0.8922352941  0.7758945386  0.9862909368  0.8277439024  0.8196964087  0.8162962963  84.805653710  0.9804671035  2.2565736771  3000          0.6267558781 
0.8168856524  0.8611541727  1.0000000000  1.0000000000  0.8945882353  0.7740112994  0.9866717441  0.8094512195  0.8174750093  0.8162962963  93.286219081  0.9813671233  2.2565736771  3300          0.6178031429 
0.8189222095  0.8642805897  1.0000000000  0.9964664311  0.9082352941  0.7777777778  0.9912414318  0.8185975610  0.8200666420  0.8177777778  101.76678445  0.9693251787  2.2565736771  3600          0.6243621270 
0.8209590408  0.8598383933  1.0000000000  1.0000000000  0.9087058824  0.7532956685  0.9920030465  0.8262195122  0.8211773417  0.8207407407  110.24734982  0.7261600307  5.3972864151  3900          0.6434922616 
0.8179960779  0.8708383091  1.0000000000  1.0000000000  0.9247058824  0.7664783427  0.9912414318  0.8460365854  0.8211773417  0.8148148148  118.72791519  0.4511499801  5.3972864151  4200          0.6304832411 
0.8187368186  0.8739473762  1.0000000000  1.0000000000  0.9228235294  0.7834274953  0.9900990099  0.8384146341  0.8211773417  0.8162962963  127.20848056  0.4345590746  5.3972864151  4500          0.6408861613 
0.8192921685  0.8748020402  1.0000000000  0.9964664311  0.9209411765  0.7834274953  0.9900990099  0.8445121951  0.8222880415  0.8162962963  135.68904593  0.4304497082  5.3972864151  4800          0.6393466194 
0.8202180258  0.8701808978  1.0000000000  1.0000000000  0.9270588235  0.7721280603  0.9908606245  0.8384146341  0.8226582747  0.8177777778  141.34275618  0.4239467293  5.3972864151  5000          0.6372133207 
