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: 1
	output_dir: sweep/ablation3/outputs/b50425f282920a9a8ad71e018e196277
	save_linear_probed_clip: False
	save_model_every_checkpoint: False
	seed: 2066305491
	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.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 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.0356937335  0.0401859619  0.0208278408  0.0221518987  0.0344074978  0.0369799692  0.0544710327  0.0516372796  0.0514127895  0.0467687075  0.0000000000  4.9277791977  2.0074815750  0             1.4491994381 
0.4541303917  0.6444307992  0.7376746639  0.7172995781  0.4650147644  0.4432460195  0.6287783375  0.5994962217  0.6150414277  0.6164965986  3.0226700252  2.6705334075  2.2580189705  300           0.1559848332 
0.3737561886  0.7489961828  0.8639599262  0.8312236287  0.3736038002  0.3739085773  0.7333123426  0.7040302267  0.7148927130  0.7117346939  6.0453400504  2.2964751148  2.2580189705  600           0.1835413154 
0.3822301384  0.7760501742  0.8871605589  0.8449367089  0.3833611503  0.3810991269  0.7827455919  0.7493702771  0.7510091353  0.7338435374  9.0680100756  2.1769757501  2.2580189705  900           0.1835898169 
0.3944917774  0.8010223510  0.9108884788  0.8765822785  0.3960713827  0.3929121726  0.8129722922  0.7569269521  0.7824516677  0.7695578231  12.090680100  2.0440631163  2.2580189705  1200          0.1842361776 
0.4099633019  0.8203044455  0.9251252307  0.8871308017  0.4116061112  0.4083204931  0.8334382872  0.7821158690  0.8049713193  0.7916666667  15.113350125  1.9526604819  2.2580189705  1500          0.1837782288 
0.4129803773  0.8350514469  0.9332981809  0.8934599156  0.4176402619  0.4083204931  0.8586272040  0.8098236776  0.8232419800  0.8018707483  18.136020151  1.8473362172  2.2580189705  1800          0.1837987407 
0.4199136929  0.8508171772  0.9433166359  0.9082278481  0.4243163436  0.4155110426  0.8768891688  0.8261964736  0.8468238793  0.8180272109  21.158690176  1.7698780688  2.2580189705  2100          0.1793482137 
0.4242148939  0.8594138920  0.9575533878  0.9251054852  0.4288098601  0.4196199281  0.8872795970  0.8274559194  0.8582961547  0.8256802721  24.181360201  1.6765727798  2.2580189705  2400          0.1797158782 
0.4288370933  0.8671390643  0.9599261798  0.9251054852  0.4334317627  0.4242424242  0.9011335013  0.8438287154  0.8665816868  0.8324829932  27.204030226  1.6116958555  2.2580189705  2700          0.1789862601 
0.4302494402  0.8744550496  0.9691537042  0.9314345992  0.4347156246  0.4257832563  0.9074307305  0.8526448363  0.8863394944  0.8392857143  30.226700251  1.5578716966  2.2580189705  3000          0.1819555418 
0.4318543994  0.8828258601  0.9728447139  0.9430379747  0.4358711003  0.4278376990  0.9159319899  0.8602015113  0.8897386871  0.8452380952  33.249370277  1.4967807607  2.2580189705  3300          0.1828493619 
0.4323679112  0.8880536142  0.9720537833  0.9388185654  0.4374117345  0.4273240883  0.9228589421  0.8664987406  0.8971744211  0.8588435374  36.272040302  1.2535799605  5.3947548866  3600          0.2061261876 
0.4328815219  0.8860226543  0.9749538624  0.9440928270  0.4374117345  0.4283513097  0.9272670025  0.8576826196  0.8971744211  0.8562925170  39.294710327  1.0003864948  5.3947548866  3900          0.2192210499 
0.4324320713  0.8867259705  0.9778539415  0.9398734177  0.4380536654  0.4268104777  0.9304156171  0.8614609572  0.9052475037  0.8588435374  42.317380352  0.9742441458  5.3947548866  4200          0.2158024836 
0.4316616223  0.8967654139  0.9765357237  0.9451476793  0.4385672102  0.4247560349  0.9345088161  0.8803526448  0.9122583386  0.8647959184  45.340050377  0.9630965845  5.3947548866  4500          0.2192646050 
0.4302492424  0.8962988741  0.9810176641  0.9419831224  0.4377968931  0.4227015922  0.9297858942  0.8753148615  0.9179944763  0.8715986395  48.362720403  0.9519145622  5.3947548866  4800          0.2192285752 
0.4302493083  0.8975475291  0.9778539415  0.9483122363  0.4367698036  0.4237288136  0.9442695214  0.8778337531  0.9207563204  0.8664965986  50.377833753  0.9380159202  5.3947548866  5000          0.2219174623 
