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: 3
	output_dir: sweep/ablation3/outputs/bee21e3748abc7dbd7603628aafcb4c9
	save_linear_probed_clip: False
	save_model_every_checkpoint: False
	seed: 630338566
	skip_model_save: False
	steps: 5001
	sweep: True
	task: domain_generalization
	test_envs: [1]
	trial_seed: 0
	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.7010166027828918
	lambda2: 0.6269010951324223
	last_k_epoch: 0.38851977780027735
	lr: 5e-05
	nonlinear_classifier: False
	resnet18: False
	resnet_dropout: 0
	student_model: resnet
	temperature: 2.131347198605345
	weight_decay: 1e-06
	worst_case_p: 0.3
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.0290168275  0.0768315558  0.0276825732  0.0274261603  0.0338939530  0.0241397021  0.1618387909  0.1460957179  0.0669216061  0.0569727891  0.0000000000  4.3606696129  2.1692652702  0             1.4928741455 
0.3127688929  0.6521536670  0.8241497495  0.8132911392  0.3117216587  0.3138161274  0.5573047859  0.5088161209  0.6322498407  0.6343537415  3.0226700252  2.5491687346  2.4381909370  300           0.1617621191 
0.3588627646  0.7797130743  0.8808331136  0.8829113924  0.3535755553  0.3641499743  0.7540931990  0.7317380353  0.7363501168  0.7244897959  6.0453400504  2.2061949968  2.4381909370  600           0.1790464807 
0.3785714289  0.8074449138  0.9119430530  0.9018987342  0.3714212351  0.3857216230  0.7994332494  0.7644836272  0.7792649246  0.7559523810  9.0680100756  2.0533365949  2.4381909370  900           0.1819737061 
0.3847343284  0.8234151835  0.9296071711  0.9177215190  0.3780973167  0.3913713405  0.8198992443  0.7821158690  0.8096452093  0.7704081633  12.090680100  1.9201549860  2.4381909370  1200          0.1850595776 
0.3985367336  0.8347783844  0.9412074875  0.9187763713  0.3918346386  0.4052388290  0.8387909320  0.7921914358  0.8175058424  0.7933673469  15.113350125  1.8387677042  2.4381909370  1500          0.1843868589 
0.4041860554  0.8416062481  0.9480622199  0.9345991561  0.3979971755  0.4103749358  0.8652392947  0.7934508816  0.8410877417  0.7967687075  18.136020151  1.7444362362  2.4381909370  1800          0.1835602832 
0.4106056285  0.8627975026  0.9522805167  0.9451476793  0.4067274361  0.4144838213  0.8702770781  0.8362720403  0.8485234757  0.8069727891  21.158690176  1.6719534894  2.4381909370  2100          0.1834104427 
0.4133659645  0.8661307738  0.9564988136  0.9377637131  0.4117344974  0.4149974319  0.8835012594  0.8400503778  0.8580837051  0.8205782313  24.181360201  1.5969438004  2.4381909370  2400          0.1840575592 
0.4161907902  0.8696150093  0.9615080411  0.9335443038  0.4122480421  0.4201335388  0.8995591940  0.8564231738  0.8704057786  0.8188775510  27.204030226  1.5580364120  2.4381909370  2700          0.1841794078 
0.4170253994  0.8790045758  0.9673081993  0.9514767932  0.4123764283  0.4216743708  0.9090050378  0.8539042821  0.8810282558  0.8316326531  30.226700251  1.5216337097  2.4381909370  3000          0.1850161052 
0.4142647996  0.8821118072  0.9709992091  0.9493670886  0.4114777250  0.4170518747  0.9168765743  0.8576826196  0.8908009348  0.8392857143  33.249370277  1.2212890760  5.3981270790  3300          0.2134234611 
0.4133660963  0.8812401293  0.9720537833  0.9430379747  0.4096803184  0.4170518747  0.9187657431  0.8664987406  0.8903760357  0.8341836735  36.272040302  1.1068359401  5.3981270790  3600          0.2210197624 
0.4116327839  0.8886457316  0.9744265753  0.9483122363  0.4077545256  0.4155110426  0.9260075567  0.8715365239  0.8961121734  0.8460884354  39.294710327  1.0842408437  5.3981270790  3900          0.2192906833 
0.4104131152  0.8821078939  0.9728447139  0.9483122363  0.4053151881  0.4155110426  0.9313602015  0.8425692695  0.8973868706  0.8554421769  42.317380352  1.0818735842  5.3981270790  4200          0.2196008507 
0.4088723490  0.8896645690  0.9760084366  0.9483122363  0.4042880986  0.4134565999  0.9338790932  0.8652392947  0.9077968982  0.8554421769  45.340050377  1.0602238951  5.3981270790  4500          0.2205146130 
0.4086797698  0.8941247494  0.9749538624  0.9483122363  0.4039029400  0.4134565999  0.9376574307  0.8828715365  0.9111960909  0.8511904762  48.362720403  1.0615634123  5.3981270790  4800          0.2212360438 
0.4079736128  0.8963708768  0.9789085157  0.9504219409  0.4030042367  0.4129429892  0.9401763224  0.8866498741  0.9135330359  0.8520408163  50.377833753  1.0518390089  5.3981270790  5000          0.2230950534 
