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: [1]
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: 1
	output_dir: sweep/ablation3/outputs/2c956dc621aa49dede60269e9ba29d43
	save_linear_probed_clip: False
	save_model_every_checkpoint: False
	seed: 619229078
	skip_model_save: False
	steps: 5001
	sweep: True
	task: domain_generalization
	test_envs: [1]
	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.6109302038716249
	lambda2: 0.5117744391412766
	last_k_epoch: 0.31317984427858747
	lr: 5e-05
	nonlinear_classifier: False
	resnet18: False
	resnet_dropout: 0
	student_model: resnet
	temperature: 4.002688876693512
	weight_decay: 1e-06
	worst_case_p: 0.25
using augment transform
using normal transform
using augment transform
using augment 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.1786272293  0.1197477956  0.0371024735  0.0424028269  0.1915294118  0.1657250471  0.1313785225  0.1509146341  0.1525360977  0.1659259259  0.0000000000  3.9026956558  2.0073552132  0             1.5775170326 
0.6947539600  0.9007522849  1.0000000000  0.9964664311  0.6851764706  0.7043314501  0.8895658797  0.8109756098  0.9281747501  0.8948148148  8.4805653710  1.6176836385  2.2565736771  300           0.1583553569 
0.6427406666  0.9135885272  1.0000000000  1.0000000000  0.6376470588  0.6478342750  0.9333587205  0.8429878049  0.9585338763  0.8977777778  16.961130742  0.9903975012  2.2565736771  600           0.1759252803 
0.6465071449  0.9084929235  1.0000000000  1.0000000000  0.6376470588  0.6553672316  0.9508758568  0.8262195122  0.9689004073  0.8992592593  25.441696113  0.8434070762  2.2565736771  900           0.1845868015 
0.6472134704  0.9063417158  1.0000000000  0.9964664311  0.6371764706  0.6572504708  0.9657273420  0.8277439024  0.9792669382  0.8948148148  33.922261484  0.7684294305  2.2565736771  1200          0.1840578334 
0.6509795056  0.9070114420  1.0000000000  1.0000000000  0.6390588235  0.6629001883  0.9748667174  0.8262195122  0.9855609034  0.8948148148  42.402826855  0.7247391737  2.2565736771  1500          0.1860677123 
0.6498025919  0.9094805778  1.0000000000  1.0000000000  0.6385882353  0.6610169492  0.9828636710  0.8262195122  0.9855609034  0.9022222222  50.883392226  0.7105050204  2.2565736771  1800          0.1847408652 
0.6493315605  0.9090582653  1.0000000000  1.0000000000  0.6395294118  0.6591337100  0.9881949733  0.8338414634  0.9881525361  0.8933333333  59.363957597  0.6832520646  2.2565736771  2100          0.1847453968 
0.6488609723  0.9095520924  0.9991166078  1.0000000000  0.6385882353  0.6591337100  0.9866717441  0.8338414634  0.9937060348  0.8948148148  67.844522968  0.6783923761  2.2565736771  2400          0.1803391639 
0.6476840586  0.9130231855  1.0000000000  1.0000000000  0.6381176471  0.6572504708  0.9927646611  0.8353658537  0.9940762680  0.9037037037  76.325088339  0.7209719537  2.2565736771  2700          0.1860104410 
0.6479189096  0.9130231855  1.0000000000  1.0000000000  0.6404705882  0.6553672316  0.9927646611  0.8353658537  0.9948167345  0.9037037037  84.805653710  0.6672658490  2.2565736771  3000          0.1822337159 
0.6474483214  0.9095377895  1.0000000000  1.0000000000  0.6395294118  0.6553672316  0.9946686976  0.8323170732  0.9933358016  0.8962962963  93.286219081  0.6518214109  2.2565736771  3300          0.1833629759 
0.6472130273  0.9095091837  1.0000000000  1.0000000000  0.6390588235  0.6553672316  0.9958111196  0.8292682927  0.9955572010  0.8992592593  101.76678445  0.5013964445  5.3972864151  3600          0.2029445640 
0.6465071449  0.9115417040  1.0000000000  1.0000000000  0.6376470588  0.6553672316  0.9942878903  0.8353658537  0.9974083673  0.8992592593  110.24734982  0.3492039007  5.3972864151  3900          0.2216240040 
0.6474487645  0.9139965369  1.0000000000  1.0000000000  0.6376470588  0.6572504708  0.9958111196  0.8338414634  0.9974083673  0.9081481481  118.72791519  0.3330490387  5.3972864151  4200          0.2198681696 
0.6469781763  0.9138921524  1.0000000000  0.9964664311  0.6367058824  0.6572504708  0.9984767708  0.8429878049  0.9966679008  0.9022222222  127.20848056  0.3232959027  5.3972864151  4500          0.2186199355 
0.6472134704  0.9100602225  1.0000000000  1.0000000000  0.6371764706  0.6572504708  0.9958111196  0.8353658537  0.9977786005  0.8948148148  135.68904593  0.3148175398  5.3972864151  4800          0.2178839993 
0.6467428821  0.9087822458  1.0000000000  0.9964664311  0.6362352941  0.6572504708  0.9961919269  0.8246951220  0.9977786005  0.9051851852  141.34275618  0.3069209141  5.3972864151  5000          0.2180497956 
