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: 1
	output_dir: sweep/ablation3/outputs/bf3bb56028dd10c571df998eae09213c
	save_linear_probed_clip: False
	save_model_every_checkpoint: False
	seed: 1632875007
	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.6109302038716249
	lambda2: 0.5117744391412766
	last_k_epoch: 0.31317984427858747
	lr: 5e-05
	nonlinear_classifier: False
	resnet18: False
	resnet_dropout: 0
	student_model: resnet
	temperature: 4.002688876693512
	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.5066254414  0.2392159549  0.5114840989  0.5017667845  0.2494117647  0.2504708098  0.2311500381  0.2286585366  0.2565716401  0.2385185185  0.0000000000  4.1331295967  2.0073552132  0             1.6777422428 
0.9770318016  0.7954409405  0.9787985866  0.9752650177  0.7491764706  0.7269303202  0.8484386900  0.7942073171  0.8948537579  0.8651851852  8.4805653710  1.7352357916  2.2565736771  300           0.6470858248 
0.9827738511  0.8262079267  0.9796819788  0.9858657244  0.8051764706  0.7664783427  0.9086062452  0.8262195122  0.9315068493  0.8859259259  16.961130742  1.3816701365  2.2565736771  600           0.6358438746 
0.9871908122  0.8273162563  0.9885159011  0.9858657244  0.8150588235  0.7608286252  0.9325971059  0.8292682927  0.9529803776  0.8918518519  25.441696113  1.2900266333  2.2565736771  900           0.6425752250 
0.9854240278  0.8352530887  0.9885159011  0.9823321555  0.8324705882  0.7740112994  0.9520182788  0.8384146341  0.9689004073  0.8933333333  33.922261484  1.1738384638  2.2565736771  1200          0.6405634514 
0.9911660772  0.8337726662  0.9893992933  0.9929328622  0.8522352941  0.7664783427  0.9615384615  0.8429878049  0.9722325065  0.8918518519  42.402826855  1.0441620137  2.2565736771  1500          0.6453099092 
0.9911660772  0.8337143955  0.9893992933  0.9929328622  0.8752941176  0.7740112994  0.9729626809  0.8323170732  0.9803776379  0.8948148148  50.883392226  0.9658773287  2.2565736771  1800          0.6423664451 
0.9916077734  0.8319232258  0.9902826855  0.9929328622  0.8969411765  0.7627118644  0.9813404417  0.8323170732  0.9818585709  0.9007407407  59.363957597  0.9216486001  2.2565736771  2100          0.6456840436 
0.9920494695  0.8271056295  0.9911660777  0.9929328622  0.9030588235  0.7570621469  0.9843869002  0.8353658537  0.9885227693  0.8888888889  67.844522968  0.8913124218  2.2565736771  2400          0.6426837246 
0.9938162539  0.8327891458  0.9911660777  0.9964664311  0.9228235294  0.7758945386  0.9881949733  0.8246951220  0.9925953351  0.8977777778  76.325088339  0.8732621145  2.2565736771  2700          0.6393876338 
0.9938162539  0.8293058679  0.9911660777  0.9964664311  0.9298823529  0.7608286252  0.9916222391  0.8307926829  0.9955572010  0.8962962963  84.805653710  0.8669625473  2.2565736771  3000          0.6468957448 
0.9938162539  0.8307290787  0.9911660777  0.9964664311  0.9435294118  0.7683615819  0.9946686976  0.8201219512  0.9948167345  0.9037037037  93.286219081  0.8620645835  2.2565736771  3300          0.6496895321 
0.9920494695  0.8345538277  0.9911660777  0.9929328622  0.9552941176  0.7721280603  0.9939070830  0.8307926829  0.9970381340  0.9007407407  101.76678445  0.6776609860  5.3972864151  3600          0.6397728078 
0.9920494695  0.8308005933  0.9911660777  0.9929328622  0.9670588235  0.7683615819  0.9977151561  0.8277439024  0.9966679008  0.8962962963  110.24734982  0.4969959085  5.3972864151  3900          0.6394026756 
0.9924911656  0.8336090821  0.9920494700  0.9929328622  0.9665882353  0.7721280603  0.9958111196  0.8353658537  0.9951869678  0.8933333333  118.72791519  0.4756654024  5.3972864151  4200          0.6403433895 
0.9924911656  0.8411911995  0.9920494700  0.9929328622  0.9712941176  0.7890772128  0.9977151561  0.8307926829  0.9981488338  0.9037037037  127.20848056  0.4656883021  5.3972864151  4500          0.6480276386 
0.9924911656  0.8324589027  0.9920494700  0.9929328622  0.9698823529  0.7702448211  0.9973343488  0.8323170732  0.9974083673  0.8948148148  135.68904593  0.4580175528  5.3972864151  4800          0.6423888286 
0.9902826850  0.8344342114  0.9911660777  0.9893992933  0.9788235294  0.7702448211  0.9980959634  0.8323170732  0.9974083673  0.9007407407  141.34275618  0.4516722523  5.3972864151  5000          0.6416797745 
