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: 3
	output_dir: sweep/ablation3/outputs/e06b999f8f761d2884278cdb977f12b5
	save_linear_probed_clip: False
	save_model_every_checkpoint: False
	seed: 881514465
	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.5694511041907044
	lambda2: 0.6621108818243455
	last_k_epoch: 0.20248994529588413
	lr: 5e-05
	nonlinear_classifier: False
	resnet18: False
	resnet_dropout: 0
	student_model: resnet
	temperature: 4.502579147595572
	weight_decay: 0.0001
	worst_case_p: 0.2
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.0984770029  0.2695609250  0.5044169611  0.4770318021  0.1741176471  0.1657250471  0.0963442498  0.1006097561  0.1862273232  0.1659259259  0.0000000000  5.1385779381  1.7945408821  0             1.5536632538 
0.7331382466  0.8717411641  1.0000000000  0.9964664311  0.7915294118  0.7476459510  0.7452399086  0.7210365854  0.9078119215  0.8711111111  8.4805653710  1.8950924496  2.0945272446  300           0.6388942846 
0.7704683926  0.8900462489  1.0000000000  0.9964664311  0.8023529412  0.7758945386  0.7909367860  0.7500000000  0.9452054795  0.8977777778  16.961130742  1.3716820772  2.0945272446  600           0.6495874047 
0.7765653731  0.8919294880  1.0000000000  0.9964664311  0.8348235294  0.7815442561  0.7924600152  0.7606707317  0.9555720104  0.8977777778  25.441696113  1.2607774244  2.0945272446  900           0.6562891483 
0.7832335645  0.8883950614  1.0000000000  1.0000000000  0.8550588235  0.7777777778  0.7951256664  0.7713414634  0.9707515735  0.8874074074  33.922261484  1.1167314249  2.0945272446  1200          0.6473736811 
0.7866631523  0.8861877011  1.0000000000  0.9964664311  0.8724705882  0.7702448211  0.7958872810  0.7774390244  0.9781562384  0.8918518519  42.402826855  1.0484968424  2.0945272446  1500          0.6616909750 
0.7855207304  0.8933333330  1.0000000000  1.0000000000  0.8912941176  0.7777777778  0.7936024372  0.7774390244  0.9851906701  0.9022222222  50.883392226  0.9349175717  2.0945272446  1800          0.6442551057 
0.7799961219  0.8851224103  1.0000000000  1.0000000000  0.9087058824  0.7664783427  0.7901751714  0.7698170732  0.9903739356  0.8888888889  59.363957597  0.8902114828  2.0945272446  2100          0.6407834681 
0.7754235316  0.8868154474  1.0000000000  0.9964664311  0.9284705882  0.7721280603  0.7886519421  0.7621951220  0.9918548686  0.8918518519  67.844522968  0.8708184826  2.0945272446  2400          0.6543856351 
0.7748523207  0.8945469761  1.0000000000  1.0000000000  0.9374117647  0.7740112994  0.7875095202  0.7621951220  0.9966679008  0.9096296296  76.325088339  0.8415120248  2.0945272446  2700          0.6580521282 
0.7716142975  0.8913580244  1.0000000000  1.0000000000  0.9501176471  0.7777777778  0.7840822544  0.7591463415  0.9948167345  0.8962962963  84.805653710  0.8458673716  2.0945272446  3000          0.6524323424 
0.7700904878  0.8924377482  1.0000000000  1.0000000000  0.9585882353  0.7721280603  0.7825590251  0.7576219512  0.9962976675  0.9051851852  93.286219081  0.8514318536  2.0945272446  3300          0.6474331713 
0.7687570817  0.8883532117  1.0000000000  1.0000000000  0.9661176471  0.7702448211  0.7814166032  0.7560975610  0.9970381340  0.8948148148  101.76678445  0.8987330923  2.0945272446  3600          0.6332643755 
0.7689480659  0.8883532117  1.0000000000  1.0000000000  0.9764705882  0.7702448211  0.7802741813  0.7576219512  0.9977786005  0.8948148148  110.24734982  0.8499343109  2.0945272446  3900          0.6546233312 
0.7678050634  0.8818353261  1.0000000000  0.9964664311  0.9745882353  0.7645951036  0.7795125666  0.7560975610  0.9981488338  0.8844444444  118.72791519  0.5479019302  5.3997030258  4200          0.6447860448 
0.7668518841  0.8895166350  1.0000000000  1.0000000000  0.9774117647  0.7796610169  0.7806549886  0.7530487805  0.9988893003  0.8888888889  127.20848056  0.3835073416  5.3997030258  4500          0.6457787180 
0.7678050634  0.8888470388  1.0000000000  1.0000000000  0.9811764706  0.7702448211  0.7795125666  0.7560975610  0.9981488338  0.8962962963  135.68904593  0.3658702424  5.3997030258  4800          0.6447319372 
0.7668524646  0.8885647674  1.0000000000  0.9964664311  0.9840000000  0.7758945386  0.7791317593  0.7545731707  0.9970381340  0.8933333333  141.34275618  0.3526006730  5.3997030258  5000          0.6481364560 
