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: [2]
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: 4
	output_dir: sweep/ablation3/outputs/370d919e875cecccaa8a81b0b35c2093
	save_linear_probed_clip: False
	save_model_every_checkpoint: False
	seed: 1232222878
	skip_model_save: False
	steps: 5001
	sweep: True
	task: domain_generalization
	test_envs: [2]
	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.5122476832929141
	lambda2: 0.9892716333303577
	last_k_epoch: 0.2899069879248226
	lr: 3e-05
	nonlinear_classifier: False
	resnet18: False
	resnet_dropout: 0
	student_model: resnet
	temperature: 2.19589595208549
	weight_decay: 0.0001
	worst_case_p: 0.3
using augment transform
using augment transform
using normal 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.2931432624  0.2334649012  0.1713780919  0.1766784452  0.2691764706  0.2674199623  0.2920792079  0.2942073171  0.2736023695  0.2562962963  0.0000000000  5.7234001160  2.1691374779  0             1.5375697613 
0.7678056439  0.8818413891  1.0000000000  1.0000000000  0.7811764706  0.7758945386  0.7779893374  0.7576219512  0.9126249537  0.8696296296  8.4805653710  1.7946850101  2.4372453690  300           0.6465640028 
0.7849460364  0.8884871309  1.0000000000  1.0000000000  0.8075294118  0.7721280603  0.8015993907  0.7682926829  0.9448352462  0.8933333333  16.961130742  1.1981458284  2.4372453690  600           0.6382394258 
0.7777077950  0.8928395059  1.0000000000  1.0000000000  0.8338823529  0.7777777778  0.7947448591  0.7606707317  0.9529803776  0.9007407407  25.441696113  1.0128893207  2.4372453690  900           0.6361938373 
0.7786603938  0.8952165722  1.0000000000  1.0000000000  0.8677647059  0.7834274953  0.7951256664  0.7621951220  0.9700111070  0.9022222222  33.922261484  0.9157669661  2.4372453690  1200          0.6444655061 
0.7761839853  0.8932412636  1.0000000000  1.0000000000  0.8856470588  0.7834274953  0.7932216299  0.7591463415  0.9766753054  0.8962962963  42.402826855  0.8523616771  2.4372453690  1500          0.6409521564 
0.7765659536  0.8931073443  1.0000000000  1.0000000000  0.9082352941  0.7815442561  0.7909367860  0.7621951220  0.9777860052  0.8977777778  50.883392226  0.8135487584  2.4372453690  1800          0.6337402089 
0.7706611183  0.8936430213  1.0000000000  1.0000000000  0.9265882353  0.7890772128  0.7852246763  0.7560975610  0.9844502036  0.8918518519  59.363957597  0.8002997279  2.4372453690  2100          0.6406373199 
0.7683745329  0.8945888258  1.0000000000  1.0000000000  0.9350588235  0.7815442561  0.7852246763  0.7515243902  0.9881525361  0.9022222222  67.844522968  0.7878982999  2.4372453690  2400          0.6315298907 
0.7683739524  0.8887131196  1.0000000000  1.0000000000  0.9472941176  0.7683615819  0.7867479056  0.7500000000  0.9885227693  0.8977777778  76.325088339  0.7649566174  2.4372453690  2700          0.6381975230 
0.7651353488  0.8902364508  1.0000000000  1.0000000000  0.9567058824  0.7758945386  0.7848438690  0.7454268293  0.9929655683  0.8948148148  84.805653710  0.7582898647  2.4372453690  3000          0.6393829083 
0.7645641378  0.8963381458  1.0000000000  1.0000000000  0.9571764706  0.7853107345  0.7837014471  0.7454268293  0.9948167345  0.9037037037  93.286219081  0.7469920520  2.4372453690  3300          0.6277702800 
0.7653263329  0.8926135172  1.0000000000  1.0000000000  0.9745882353  0.7815442561  0.7837014471  0.7469512195  0.9940762680  0.8962962963  101.76678445  0.7023880834  5.3970270157  3600          0.6321308295 
0.7672321110  0.8917179323  1.0000000000  1.0000000000  0.9712941176  0.7758945386  0.7829398324  0.7515243902  0.9962976675  0.8992592593  110.24734982  0.3837858073  5.3970270157  3900          0.6280091103 
0.7660891085  0.8922954590  1.0000000000  1.0000000000  0.9731764706  0.7909604520  0.7821782178  0.7500000000  0.9951869678  0.8859259259  118.72791519  0.3616714701  5.3970270157  4200          0.6328461997 
0.7641844915  0.8858840759  1.0000000000  1.0000000000  0.9788235294  0.7702448211  0.7798933740  0.7484756098  0.9962976675  0.8874074074  127.20848056  0.3554135703  5.3970270157  4500          0.6349242878 
0.7634228768  0.8927474364  1.0000000000  1.0000000000  0.9774117647  0.7834274953  0.7783701447  0.7484756098  0.9985190670  0.8948148148  135.68904593  0.3439688343  5.3970270157  4800          0.6414753731 
0.7632324732  0.8970998114  1.0000000000  1.0000000000  0.9811764706  0.7890772128  0.7779893374  0.7484756098  0.9959274343  0.9022222222  141.34275618  0.3386866231  5.3970270157  5000          0.6358651698 
