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: 0
	output_dir: sweep/ablation3/outputs/86b6a876e5766bb16e5cc1dd56589699
	save_linear_probed_clip: False
	save_model_every_checkpoint: False
	seed: 153153348
	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.5
	lambda2: 0.5
	last_k_epoch: 0.25
	lr: 5e-05
	nonlinear_classifier: False
	resnet18: False
	resnet_dropout: 0
	student_model: resnet
	temperature: 3
	weight_decay: 0.0
	worst_case_p: 0.3333333333333333
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.0263850756  0.1889493577  0.3767466385  0.3892405063  0.0260623957  0.0267077555  0.0588790932  0.0755667506  0.0970894413  0.1020408163  0.0000000000  4.1190972328  2.3339076042  0             2.2900717258 
0.3435828633  0.6331957607  0.7516477722  0.7436708861  0.3533187829  0.3338469440  0.5777707809  0.5428211587  0.6182281708  0.6130952381  3.0226700252  2.3920270634  2.5991368294  300           0.1696744378 
0.4162545877  0.7869358275  0.8979699446  0.8660337553  0.4185389652  0.4139702106  0.7748740554  0.7430730479  0.7660930529  0.7517006803  6.0453400504  2.0101576181  2.5991368294  600           0.1868386436 
0.4363481137  0.8079759279  0.9201160032  0.8881856540  0.4417768648  0.4309193631  0.8082493703  0.7644836272  0.7943488421  0.7712585034  9.0680100756  1.8527261547  2.5991368294  900           0.1963682071 
0.4524616351  0.8239248598  0.9330345373  0.8976793249  0.4575683656  0.4473549050  0.8306045340  0.7909319899  0.8113448056  0.7831632653  12.090680100  1.7307058521  2.5991368294  1200          0.1932578659 
0.4571480606  0.8451588170  0.9467440021  0.9187763713  0.4618051098  0.4524910118  0.8551637280  0.8173803526  0.8287656682  0.7993197279  15.113350125  1.6152721175  2.5991368294  1500          0.1895801568 
0.4587530857  0.8512153836  0.9514895861  0.9229957806  0.4619334960  0.4555726759  0.8750000000  0.8236775819  0.8415126407  0.8069727891  18.136020151  1.5073895788  2.5991368294  1800          0.1881585979 
0.4591381454  0.8613445524  0.9559715265  0.9187763713  0.4642444473  0.4540318439  0.8907430730  0.8438287154  0.8553218611  0.8214285714  21.158690176  1.4366922343  2.5991368294  2100          0.1898939753 
0.4583035362  0.8708277306  0.9649354073  0.9303797468  0.4641160611  0.4524910118  0.8989294710  0.8564231738  0.8625451455  0.8256802721  24.181360201  1.3596123254  2.5991368294  2400          0.1915947843 
0.4575330872  0.8813405101  0.9675718429  0.9377637131  0.4646296059  0.4504365691  0.9137279597  0.8627204030  0.8782664117  0.8435374150  27.204030226  1.3323732467  2.5991368294  2700          0.1885616771 
0.4577898926  0.8752946531  0.9696809913  0.9335443038  0.4646296059  0.4509501798  0.9149874055  0.8539042821  0.8840025494  0.8384353741  30.226700251  1.2837443205  2.5991368294  3000          0.1944635121 
0.4569552835  0.8874438824  0.9736356446  0.9388185654  0.4645012197  0.4494093477  0.9256926952  0.8765743073  0.8908009348  0.8469387755  33.249370277  1.2603530955  2.5991368294  3300          0.1895043755 
0.4558639349  0.8913223839  0.9760084366  0.9504219409  0.4633457440  0.4483821263  0.9348236776  0.8740554156  0.8990864670  0.8494897959  36.272040302  1.2510425941  2.5991368294  3600          0.1909370923 
0.4550294577  0.8959832174  0.9794358028  0.9483122363  0.4611631788  0.4488957370  0.9345088161  0.8790931990  0.8978117697  0.8605442177  39.294710327  1.0865081175  5.3942589760  3900          0.2043067527 
0.4525256963  0.9006439695  0.9802267335  0.9525316456  0.4597509308  0.4453004622  0.9414357683  0.8803526448  0.9148077332  0.8690476190  42.317380352  0.9013161774  5.3942589760  4200          0.2197242959 
0.4505998046  0.8988069207  0.9841813868  0.9525316456  0.4574399795  0.4437596302  0.9461586902  0.8790931990  0.9124707882  0.8647959184  45.340050377  0.8841563433  5.3942589760  4500          0.2262313199 
0.4492516837  0.9040920545  0.9807540206  0.9556962025  0.4557709590  0.4427324088  0.9486775819  0.8841309824  0.9188442745  0.8724489796  48.362720403  0.8728384926  5.3942589760  4800          0.2206054560 
0.4490591374  0.9068584051  0.9836540997  0.9504219409  0.4548722557  0.4432460195  0.9496221662  0.8866498741  0.9241555131  0.8835034014  50.377833753  0.8707574201  5.3942589760  5000          0.2227686965 
