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: TerraIncognita
	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/5827631f78a9125574fbb25c7d199a3b
	save_linear_probed_clip: False
	save_model_every_checkpoint: False
	seed: 224230555
	skip_model_save: False
	steps: 5001
	sweep: True
	task: domain_generalization
	test_envs: [1]
	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 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.1142710575  0.1162145889  0.1276034801  0.1381856540  0.1140069329  0.1145351823  0.0591939547  0.0667506297  0.1376673040  0.1437074830  0.0000000000  4.9799294472  2.0074815750  0             1.5215272903 
0.1372532728  0.5559789857  0.6069074611  0.6075949367  0.1430222108  0.1314843349  0.5261335013  0.5025188917  0.5521563629  0.5578231293  3.0226700252  2.8257208983  2.2580189705  300           0.1583988547 
0.2505615328  0.6843181764  0.8141312945  0.7784810127  0.2535627167  0.2475603493  0.6722292191  0.6146095718  0.6732526025  0.6598639456  6.0453400504  2.3872861608  2.2580189705  600           0.1838797577 
0.2916475850  0.7338078386  0.8642235697  0.8333333333  0.2972140198  0.2860811505  0.7178841310  0.6750629723  0.7227533461  0.6930272109  9.0680100756  2.2516561401  2.2580189705  900           0.1779541016 
0.3029462617  0.7658167655  0.8826786185  0.8491561181  0.3090255489  0.2968669748  0.7616498741  0.7204030227  0.7561079244  0.7278911565  12.090680100  2.1517546308  2.2580189705  1200          0.1803743712 
0.3177115632  0.7934949488  0.8979699446  0.8765822785  0.3246886635  0.3107344633  0.7814861461  0.7607052897  0.7718291906  0.7431972789  15.113350125  2.0916920133  2.2580189705  1500          0.1824130170 
0.3344027565  0.8003765230  0.9114157659  0.8797468354  0.3426627295  0.3261427838  0.8041561713  0.7569269521  0.8043339707  0.7644557823  18.136020151  1.9954086387  2.2580189705  1800          0.1826337337 
0.3491040298  0.8158841391  0.9306617453  0.8955696203  0.3556297342  0.3425783256  0.8243073048  0.7833753149  0.8115572552  0.7687074830  21.158690176  1.9250811664  2.2580189705  2100          0.1873769514 
0.3587976484  0.8336808022  0.9388346955  0.9071729958  0.3678264219  0.3497688752  0.8472921914  0.8073047859  0.8209050351  0.7865646259  24.181360201  1.8650774701  2.2580189705  2400          0.1828341468 
0.3699037788  0.8386036362  0.9433166359  0.9071729958  0.3787392477  0.3610683102  0.8639798489  0.8161209068  0.8413001912  0.7925170068  27.204030226  1.7925054089  2.2580189705  2700          0.1856808726 
0.3798544005  0.8496405250  0.9512259425  0.9103375527  0.3878546668  0.3718541346  0.8677581864  0.8350125945  0.8519226684  0.8035714286  30.226700251  1.7416892858  2.2580189705  3000          0.1855614718 
0.3883926753  0.8539133737  0.9551805958  0.9314345992  0.3956862242  0.3810991269  0.8828715365  0.8173803526  0.8589335033  0.8129251701  33.249370277  1.6861030384  2.2580189705  3300          0.1842650739 
0.3932716141  0.8602788821  0.9620353282  0.9240506329  0.4013352163  0.3852080123  0.8869647355  0.8413098237  0.8646696410  0.8154761905  36.272040302  1.6596392989  2.2580189705  3600          0.1842235581 
0.3953902500  0.8647564056  0.9617716847  0.9356540084  0.4014636025  0.3893168978  0.8960957179  0.8312342569  0.8761419163  0.8273809524  39.294710327  1.4563103231  5.3947548866  3900          0.1998430641 
0.3951976047  0.8703143037  0.9625626153  0.9367088608  0.4021055334  0.3882896764  0.9086901763  0.8400503778  0.8846398980  0.8341836735  42.317380352  1.2097427324  5.3947548866  4200          0.2198283378 
0.3955185702  0.8768483094  0.9644081202  0.9293248945  0.4027474644  0.3882896764  0.9080604534  0.8576826196  0.8837900999  0.8435374150  45.340050377  1.1911959302  5.3947548866  4500          0.2195150709 
0.3951333457  0.8805222173  0.9683627735  0.9440928270  0.4030042367  0.3872624551  0.9162468514  0.8513853904  0.8893137880  0.8460884354  48.362720403  1.1713532241  5.3947548866  4800          0.2177394923 
0.3950691196  0.8774938120  0.9670445558  0.9514767932  0.4033893953  0.3867488444  0.9102644836  0.8425692695  0.8931378798  0.8384353741  50.377833753  1.1613808161  5.3947548866  5000          0.2210439324 
