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: 3
	output_dir: sweep/ablation3/outputs/6d98cb476bdc4104218d1b9b252fcd14
	save_linear_probed_clip: False
	save_model_every_checkpoint: False
	seed: 1001371147
	skip_model_save: False
	steps: 5001
	sweep: True
	task: domain_generalization
	test_envs: [3]
	trial_seed: 1
	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.8610090196552951
	lambda2: 0.5777772877463595
	last_k_epoch: 0.32350558703299503
	lr: 5e-05
	nonlinear_classifier: False
	resnet18: False
	resnet_dropout: 0
	student_model: resnet
	temperature: 2.866557071912062
	weight_decay: 0.0001
	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.3403077048  0.3422317012  0.5282685512  0.5441696113  0.1430588235  0.1242937853  0.3442498096  0.3582317073  0.3383931877  0.3422222222  0.0000000000  5.4494485855  2.0073552132  0             1.5515024662 
0.7902228252  0.8384653512  1.0000000000  1.0000000000  0.7317647059  0.6967984934  0.8659558264  0.8185975610  0.7967419474  0.7837037037  8.4805653710  1.7875444452  2.2565736771  300           0.6365817356 
0.8224386026  0.8574643739  1.0000000000  0.9964664311  0.7825882353  0.7344632768  0.9211728865  0.8414634146  0.8315438726  0.8133333333  16.961130742  1.3867991177  2.2565736771  600           0.6365479732 
0.8248456672  0.8653675376  1.0000000000  1.0000000000  0.8032941176  0.7363465160  0.9444021325  0.8597560976  0.8333950389  0.8162962963  25.441696113  1.2594313069  2.2565736771  900           0.6363852660 
0.8207722787  0.8602442569  1.0000000000  0.9964664311  0.8244705882  0.7382297552  0.9581111957  0.8460365854  0.8296927064  0.8118518519  33.922261484  1.1472036378  2.2565736771  1200          0.6442396522 
0.8209579438  0.8590184290  1.0000000000  0.9964664311  0.8400000000  0.7269303202  0.9702970297  0.8536585366  0.8271010737  0.8148148148  42.402826855  1.0821939363  2.2565736771  1500          0.6436944453 
0.8237349674  0.8584326624  1.0000000000  1.0000000000  0.8536470588  0.7231638418  0.9786747906  0.8521341463  0.8311736394  0.8162962963  50.883392226  1.0461340529  2.2565736771  1800          0.6373346607 
0.8211427862  0.8623187571  1.0000000000  1.0000000000  0.8564705882  0.7363465160  0.9836252856  0.8506097561  0.8289522399  0.8133333333  59.363957597  1.0251197453  2.2565736771  2100          0.6346742590 
0.8198464214  0.8566270597  1.0000000000  0.9964664311  0.8781176471  0.7212806026  0.9847677075  0.8521341463  0.8293224732  0.8103703704  67.844522968  1.0036775114  2.2565736771  2400          0.6527939852 
0.8222534860  0.8574643739  1.0000000000  0.9964664311  0.8898823529  0.7344632768  0.9866717441  0.8414634146  0.8311736394  0.8133333333  76.325088339  1.0050196612  2.2565736771  2700          0.6439678550 
0.8202166546  0.8589887641  1.0000000000  0.9964664311  0.9044705882  0.7344632768  0.9893373953  0.8460365854  0.8300629397  0.8103703704  84.805653710  1.0085680954  2.2565736771  3000          0.6431397255 
0.8192910715  0.8667426467  1.0000000000  1.0000000000  0.9096470588  0.7419962335  0.9920030465  0.8582317073  0.8282117734  0.8103703704  93.286219081  1.0061262792  2.2565736771  3300          0.6297505792 
0.8209573953  0.8667723115  1.0000000000  1.0000000000  0.9124705882  0.7344632768  0.9904798172  0.8658536585  0.8300629397  0.8118518519  101.76678445  0.6276072211  5.3972864151  3600          0.6417938201 
0.8215127452  0.8598077715  1.0000000000  1.0000000000  0.9218823529  0.7288135593  0.9923838538  0.8506097561  0.8311736394  0.8118518519  110.24734982  0.4548014834  5.3972864151  3900          0.6169483320 
0.8242903173  0.8606450857  1.0000000000  1.0000000000  0.9237647059  0.7419962335  0.9908606245  0.8399390244  0.8322843391  0.8162962963  118.72791519  0.4404004336  5.3972864151  4200          0.6333577037 
0.8255864079  0.8648594075  1.0000000000  1.0000000000  0.9317647059  0.7363465160  0.9923838538  0.8582317073  0.8333950389  0.8177777778  127.20848056  0.4325037677  5.3972864151  4500          0.6397862172 
0.8254012913  0.8599570527  1.0000000000  1.0000000000  0.9336470588  0.7231638418  0.9942878903  0.8567073171  0.8330248056  0.8177777778  135.68904593  0.4276112281  5.3972864151  4800          0.6358063030 
0.8254012913  0.8614997497  1.0000000000  0.9964664311  0.9364705882  0.7419962335  0.9935262757  0.8460365854  0.8330248056  0.8177777778  141.34275618  0.4179514213  5.3972864151  5000          0.6457954991 
