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: 2
	output_dir: sweep/ablation3/outputs/d8ddc92ff288e129880905072520f2f4
	save_linear_probed_clip: False
	save_model_every_checkpoint: False
	seed: 1790824702
	skip_model_save: False
	steps: 5001
	sweep: True
	task: domain_generalization
	test_envs: [1]
	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.7419102898692578
	lambda2: 0.5215383105176172
	last_k_epoch: 0.23762453204831346
	lr: 3e-05
	nonlinear_classifier: False
	resnet18: False
	resnet_dropout: 0
	student_model: resnet
	temperature: 2.9748462276330736
	weight_decay: 1e-06
	worst_case_p: 0.3
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.2266409659  0.1495718327  0.2058303887  0.1660777385  0.2291764706  0.2241054614  0.1504188880  0.1463414634  0.1514253980  0.1362962963  0.0000000000  4.2810082436  2.1691374779  0             1.6421935558 
0.6606265644  0.8951023785  1.0000000000  1.0000000000  0.6583529412  0.6629001883  0.8853769992  0.8201219512  0.9300259163  0.8651851852  8.4805653710  1.6932546006  2.4361162186  300           0.1556788087 
0.6519189096  0.8922571028  1.0000000000  0.9964664311  0.6484705882  0.6553672316  0.9139375476  0.8003048780  0.9452054795  0.8800000000  16.961130742  0.9952948407  2.4361162186  600           0.1768637204 
0.6606278938  0.9019587471  1.0000000000  1.0000000000  0.6527058824  0.6685499058  0.9360243717  0.8140243902  0.9585338763  0.8918518519  25.441696113  0.8704714564  2.4361162186  900           0.1778345021 
0.6585098036  0.9029607043  1.0000000000  1.0000000000  0.6503529412  0.6666666667  0.9501142422  0.8155487805  0.9692706405  0.8933333333  33.922261484  0.8194223775  2.4361162186  1200          0.1809710026 
0.6570975958  0.8992994093  1.0000000000  0.9964664311  0.6494117647  0.6647834275  0.9569687738  0.8140243902  0.9737134395  0.8874074074  42.402826855  0.7663008716  2.4361162186  1500          0.1829306396 
0.6559206821  0.9024668771  1.0000000000  1.0000000000  0.6489411765  0.6629001883  0.9649657273  0.8155487805  0.9748241392  0.8918518519  50.883392226  0.7506583611  2.4361162186  1800          0.1821046376 
0.6554492076  0.8989528753  1.0000000000  1.0000000000  0.6517647059  0.6591337100  0.9714394516  0.8094512195  0.9814883377  0.8874074074  59.363957597  0.7299343524  2.4361162186  2100          0.1837035728 
0.6556845017  0.9060380906  1.0000000000  1.0000000000  0.6522352941  0.6591337100  0.9782939832  0.8277439024  0.9829692706  0.8903703704  67.844522968  0.7139557513  2.4361162186  2400          0.1858669655 
0.6552134704  0.9044421858  1.0000000000  1.0000000000  0.6531764706  0.6572504708  0.9771515613  0.8155487805  0.9870418364  0.8977777778  76.325088339  0.7016705505  2.4361162186  2700          0.1855847557 
0.6542718508  0.8984161394  1.0000000000  1.0000000000  0.6531764706  0.6553672316  0.9813404417  0.8048780488  0.9896334691  0.8903703704  84.805653710  0.6967759161  2.4361162186  3000          0.1813243548 
0.6538012626  0.8960185182  1.0000000000  1.0000000000  0.6522352941  0.6553672316  0.9847677075  0.8125000000  0.9885227693  0.8755555556  93.286219081  0.6919988378  2.4361162186  3300          0.1822154895 
0.6523890547  0.8979652210  1.0000000000  1.0000000000  0.6512941176  0.6534839925  0.9847677075  0.8094512195  0.9892632358  0.8844444444  101.76678445  0.6926808733  2.4361162186  3600          0.1857967170 
0.6516827293  0.9009710927  1.0000000000  1.0000000000  0.6517647059  0.6516007533  0.9866717441  0.8140243902  0.9918548686  0.8888888889  110.24734982  0.6075408209  5.3990564346  3900          0.1951816090 
0.6505058156  0.8979652210  1.0000000000  1.0000000000  0.6512941176  0.6497175141  0.9889565880  0.8094512195  0.9922251018  0.8844444444  118.72791519  0.3750492763  5.3990564346  4200          0.2179904016 
0.6500352273  0.8953959648  1.0000000000  1.0000000000  0.6503529412  0.6497175141  0.9897182026  0.7987804878  0.9892632358  0.8874074074  127.20848056  0.3585539016  5.3990564346  4500          0.2187909261 
0.6495646391  0.9029464014  1.0000000000  1.0000000000  0.6494117647  0.6497175141  0.9923838538  0.8140243902  0.9918548686  0.8948148148  135.68904593  0.3483978741  5.3990564346  4800          0.2208574979 
0.6486230195  0.9030036131  1.0000000000  1.0000000000  0.6494117647  0.6478342750  0.9900990099  0.8201219512  0.9944465013  0.8888888889  141.34275618  0.3385414888  5.3990564346  5000          0.2188326657 
