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: [0]
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/3ad74ea39f7cb2b247f9710d75188db5
	save_linear_probed_clip: False
	save_model_every_checkpoint: False
	seed: 3165091
	skip_model_save: False
	steps: 5001
	sweep: True
	task: domain_generalization
	test_envs: [0]
	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.7010166027828918
	lambda2: 0.6269010951324223
	last_k_epoch: 0.38851977780027735
	lr: 5e-05
	nonlinear_classifier: False
	resnet18: False
	resnet_dropout: 0
	student_model: resnet
	temperature: 2.131347198605345
	weight_decay: 1e-06
	worst_case_p: 0.3
using normal transform
using augment 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.3414310952  0.1186865427  0.2977031802  0.3851590106  0.0964705882  0.1073446328  0.0990099010  0.0990853659  0.1425398001  0.1496296296  0.0000000000  3.3413429260  2.1691374779  0             1.5052003860 
0.9456713776  0.8029369214  0.9478798587  0.9434628975  0.7741176471  0.7702448211  0.8632901752  0.7911585366  0.8822658275  0.8474074074  8.4805653710  1.7779787346  2.4361162186  300           0.6426246413 
0.9823321550  0.8138196579  0.9858657244  0.9787985866  0.7877647059  0.7401129944  0.9105102818  0.8109756098  0.9422436135  0.8903703704  16.961130742  1.3670033491  2.4361162186  600           0.6298257200 
0.9854240278  0.8176147421  0.9885159011  0.9823321555  0.8051764706  0.7514124294  0.9284082254  0.8140243902  0.9552017771  0.8874074074  25.441696113  1.2566864141  2.4361162186  900           0.6325025860 
0.9876325083  0.8183764077  0.9893992933  0.9858657244  0.8221176471  0.7551789077  0.9523990861  0.8140243902  0.9611255091  0.8859259259  33.922261484  1.1392924482  2.4361162186  1200          0.6183799060 
0.9898409889  0.8185573696  0.9902826855  0.9893992933  0.8432941176  0.7664783427  0.9596344250  0.8003048780  0.9722325065  0.8888888889  42.402826855  1.0539410110  2.4361162186  1500          0.6271874889 
0.9902826850  0.8225170969  0.9911660777  0.9893992933  0.8644705882  0.7645951036  0.9706778370  0.8155487805  0.9785264717  0.8874074074  50.883392226  0.9985127145  2.4361162186  1800          0.6189939721 
0.9876325083  0.8216501179  0.9893992933  0.9858657244  0.8861176471  0.7589453861  0.9775323686  0.8185975610  0.9822288041  0.8874074074  59.363957597  0.9562000245  2.4361162186  2100          0.6220955936 
0.9854240278  0.8284357119  0.9849823322  0.9858657244  0.9002352941  0.7777777778  0.9817212490  0.8201219512  0.9859311366  0.8874074074  67.844522968  0.9382139045  2.4361162186  2400          0.6371479034 
0.9849823317  0.8220682965  0.9840989399  0.9858657244  0.9148235294  0.7495291902  0.9878141660  0.8292682927  0.9903739356  0.8874074074  76.325088339  0.9286158639  2.4361162186  2700          0.6322330141 
0.9858657239  0.8258961205  0.9858657244  0.9858657244  0.9228235294  0.7702448211  0.9893373953  0.8170731707  0.9892632358  0.8903703704  84.805653710  0.9273248720  2.4361162186  3000          0.6279185867 
0.9858657239  0.8233052503  0.9858657244  0.9858657244  0.9327058824  0.7834274953  0.9908606245  0.8094512195  0.9911144021  0.8770370370  93.286219081  0.6303838851  5.3990564346  3300          0.6363789678 
0.9854240278  0.8289878097  0.9849823322  0.9858657244  0.9341176471  0.7702448211  0.9912414318  0.8307926829  0.9918548686  0.8859259259  101.76678445  0.5228103698  5.3990564346  3600          0.6281809862 
0.9849823317  0.8182505394  0.9840989399  0.9858657244  0.9345882353  0.7589453861  0.9931454684  0.8246951220  0.9948167345  0.8711111111  110.24734982  0.5047136038  5.3990564346  3900          0.6383235113 
0.9854240278  0.8238441043  0.9849823322  0.9858657244  0.9392941176  0.7683615819  0.9939070830  0.8231707317  0.9940762680  0.8800000000  118.72791519  0.4955217829  5.3990564346  4200          0.6247007004 
0.9858657239  0.8252969799  0.9858657244  0.9858657244  0.9477647059  0.7683615819  0.9958111196  0.8201219512  0.9955572010  0.8874074074  127.20848056  0.4942511705  5.3990564346  4500          0.6328528404 
0.9858657239  0.8174867558  0.9858657244  0.9858657244  0.9491764706  0.7702448211  0.9942878903  0.8155487805  0.9962976675  0.8666666667  135.68904593  0.4858497938  5.3990564346  4800          0.6332230504 
0.9858657239  0.8246047109  0.9858657244  0.9858657244  0.9534117647  0.7796610169  0.9935262757  0.8185975610  0.9962976675  0.8755555556  141.34275618  0.4796019596  5.3990564346  5000          0.6381723058 
