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: 2
	output_dir: sweep/ablation3/outputs/c84e7be2d110f1e59e46a89df2d7c3ee
	save_linear_probed_clip: False
	save_model_every_checkpoint: False
	seed: 979800842
	skip_model_save: False
	steps: 5001
	sweep: True
	task: domain_generalization
	test_envs: [0]
	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 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.2795936394  0.2618182188  0.2941696113  0.2650176678  0.2847058824  0.3088512241  0.2121096725  0.1951219512  0.2654572381  0.2814814815  0.0000000000  3.7663369179  2.0073552132  0             1.7639884949 
0.9827738511  0.8087390971  0.9832155477  0.9823321555  0.7712941176  0.7589453861  0.8480578827  0.8109756098  0.8974453906  0.8562962963  8.4805653710  1.8915981992  2.2565736771  300           0.6149581575 
0.9840989394  0.8227584475  0.9858657244  0.9823321555  0.7797647059  0.7532956685  0.8990860625  0.8216463415  0.9318770826  0.8933333333  16.961130742  1.4847297895  2.2565736771  600           0.6050866135 
0.9845406356  0.8198097875  0.9832155477  0.9858657244  0.7920000000  0.7532956685  0.9135567403  0.8231707317  0.9415031470  0.8829629630  25.441696113  1.3894581525  2.2565736771  900           0.6173096848 
0.9823321550  0.8200654410  0.9823321555  0.9823321555  0.7981176471  0.7419962335  0.9329779132  0.8307926829  0.9559422436  0.8874074074  33.922261484  1.3142366920  2.2565736771  1200          0.6110874621 
0.9871908122  0.8187425676  0.9849823322  0.9893992933  0.8112941176  0.7476459510  0.9504950495  0.8048780488  0.9618659756  0.9037037037  42.402826855  1.2255607527  2.2565736771  1500          0.6045775612 
0.9871908122  0.8155208761  0.9849823322  0.9893992933  0.8174117647  0.7419962335  0.9539223153  0.8201219512  0.9703813402  0.8844444444  50.883392226  1.1595141441  2.2565736771  1800          0.6085019247 
0.9889575967  0.8271966400  0.9885159011  0.9893992933  0.8296470588  0.7589453861  0.9626808835  0.8307926829  0.9733432062  0.8918518519  59.363957597  1.1086337004  2.2565736771  2100          0.6144397251 
0.9863074200  0.8186749700  0.9867491166  0.9858657244  0.8447058824  0.7438794727  0.9725818736  0.8262195122  0.9788967049  0.8859259259  67.844522968  1.0801396376  2.2565736771  2400          0.5998803655 
0.9867491161  0.8298272419  0.9876325088  0.9858657244  0.8607058824  0.7683615819  0.9763899467  0.8292682927  0.9781562384  0.8918518519  76.325088339  1.0605918258  2.2565736771  2700          0.6204699341 
0.9863074200  0.8298404858  0.9867491166  0.9858657244  0.8682352941  0.7758945386  0.9767707540  0.8262195122  0.9811181044  0.8874074074  84.805653710  1.0463873786  2.2565736771  3000          0.6057500672 
0.9863074200  0.8236662173  0.9867491166  0.9858657244  0.8785882353  0.7740112994  0.9821020564  0.8140243902  0.9874120696  0.8829629630  93.286219081  1.0331842661  2.2565736771  3300          0.6177987178 
0.9871908122  0.8296595239  0.9885159011  0.9858657244  0.8908235294  0.7645951036  0.9821020564  0.8399390244  0.9885227693  0.8844444444  101.76678445  1.0458214527  2.2565736771  3600          0.6140922777 
0.9871908122  0.8322186111  0.9885159011  0.9858657244  0.8945882353  0.7740112994  0.9878141660  0.8307926829  0.9881525361  0.8918518519  110.24734982  0.8186176124  5.3972864151  3900          0.6182615105 
0.9854240278  0.8225027940  0.9885159011  0.9823321555  0.9077647059  0.7645951036  0.9881949733  0.8140243902  0.9896334691  0.8888888889  118.72791519  0.5809925802  5.3972864151  4200          0.6158635513 
0.9863074200  0.8294397871  0.9902826855  0.9823321555  0.9030588235  0.7627118644  0.9847677075  0.8307926829  0.9888930026  0.8948148148  127.20848056  0.5596890945  5.3972864151  4500          0.6087058282 
0.9880742045  0.8239996374  0.9902826855  0.9858657244  0.9143529412  0.7570621469  0.9878141660  0.8201219512  0.9911144021  0.8948148148  135.68904593  0.5453041833  5.3972864151  4800          0.6038878727 
0.9880742045  0.8281832353  0.9902826855  0.9858657244  0.9110588235  0.7664783427  0.9881949733  0.8262195122  0.9918548686  0.8918518519  141.34275618  0.5480649664  5.3972864151  5000          0.6024831164 
