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: [1]
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/2a6c394bf10ad2d926d7badf7365c2ff
	save_linear_probed_clip: False
	save_model_every_checkpoint: False
	seed: 332590358
	skip_model_save: False
	steps: 5001
	sweep: True
	task: domain_generalization
	test_envs: [1]
	trial_seed: 1
	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.7819049321936025
	lambda2: 0.9075316444347157
	last_k_epoch: 0.25491468830584113
	lr: 5e-05
	nonlinear_classifier: False
	resnet18: False
	resnet_dropout: 0
	student_model: resnet
	temperature: 2.907263233121133
	weight_decay: 1e-06
	worst_case_p: 0.25
using augment transform
using normal 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.3226648940  0.2039251422  0.2906360424  0.2614840989  0.3195294118  0.3258003766  0.1999238385  0.1814024390  0.1814142910  0.1688888889  0.0000000000  5.8354034424  2.0073552132  0             1.6156921387 
0.6121435690  0.8914553864  1.0000000000  0.9964664311  0.6141176471  0.6101694915  0.8594821021  0.8201219512  0.9315068493  0.8577777778  8.4805653710  1.8591197689  2.2565736771  300           0.1513950880 
0.6601542037  0.9136128691  1.0000000000  0.9964664311  0.6649411765  0.6553672316  0.9127951257  0.8658536585  0.9518696779  0.8785185185  16.961130742  1.1968961916  2.2565736771  600           0.1745613877 
0.6556822861  0.9120455701  1.0000000000  0.9964664311  0.6616470588  0.6497175141  0.9322162986  0.8567073171  0.9637171418  0.8829629630  25.441696113  1.0307276384  2.2565736771  900           0.1742215316 
0.6502691921  0.9232286959  1.0000000000  1.0000000000  0.6564705882  0.6440677966  0.9527798934  0.8704268293  0.9685301740  0.8992592593  33.922261484  0.9329782728  2.2565736771  1200          0.1765298446 
0.6507397803  0.9135842632  1.0000000000  0.9964664311  0.6574117647  0.6440677966  0.9638233054  0.8628048780  0.9777860052  0.8814814815  42.402826855  0.8885668017  2.2565736771  1500          0.1785661960 
0.6526230195  0.9176964767  1.0000000000  1.0000000000  0.6574117647  0.6478342750  0.9733434882  0.8597560976  0.9844502036  0.8933333333  50.883392226  0.8668379186  2.2565736771  1800          0.1757895931 
0.6540352273  0.9149942301  1.0000000000  0.9964664311  0.6583529412  0.6497175141  0.9756283321  0.8551829268  0.9796371714  0.8933333333  59.363957597  0.8260009865  2.2565736771  2100          0.1759627390 
0.6552121410  0.9150943506  1.0000000000  0.9964664311  0.6588235294  0.6516007533  0.9786747906  0.8658536585  0.9874120696  0.8829629630  67.844522968  0.8061657143  2.2565736771  2400          0.1759721462 
0.6545062587  0.9124535797  1.0000000000  0.9964664311  0.6574117647  0.6516007533  0.9828636710  0.8475609756  0.9903739356  0.8933333333  76.325088339  0.8301557132  2.2565736771  2700          0.1772223377 
0.6547415528  0.9167517311  1.0000000000  1.0000000000  0.6578823529  0.6516007533  0.9855293222  0.8643292683  0.9885227693  0.8859259259  84.805653710  0.8486413890  2.2565736771  3000          0.1760643315 
0.6528583136  0.9121356516  1.0000000000  1.0000000000  0.6578823529  0.6478342750  0.9874333587  0.8460365854  0.9911144021  0.8903703704  93.286219081  0.8423584106  2.2565736771  3300          0.1777215679 
0.6528583136  0.9145862205  1.0000000000  0.9964664311  0.6578823529  0.6478342750  0.9889565880  0.8643292683  0.9929655683  0.8829629630  101.76678445  0.7887379565  2.2565736771  3600          0.1837185836 
0.6526230195  0.9191021795  1.0000000000  0.9964664311  0.6574117647  0.6478342750  0.9874333587  0.8719512195  0.9922251018  0.8888888889  110.24734982  0.6065976775  5.3972864151  3900          0.2031665421 
0.6528583136  0.9192351698  1.0000000000  1.0000000000  0.6578823529  0.6478342750  0.9916222391  0.8658536585  0.9914846353  0.8918518519  118.72791519  0.4230334488  5.3972864151  4200          0.2201044583 
0.6549768469  0.9110865216  1.0000000000  0.9964664311  0.6583529412  0.6516007533  0.9900990099  0.8597560976  0.9940762680  0.8770370370  127.20848056  0.4045848762  5.3972864151  4500          0.2204820879 
0.6540352273  0.9130618302  1.0000000000  0.9964664311  0.6583529412  0.6497175141  0.9900990099  0.8597560976  0.9944465013  0.8829629630  135.68904593  0.3899367947  5.3972864151  4800          0.2184902112 
0.6537999332  0.9150943506  1.0000000000  0.9964664311  0.6578823529  0.6497175141  0.9916222391  0.8658536585  0.9940762680  0.8829629630  141.34275618  0.3841769838  5.3972864151  5000          0.2184046412 
