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/d2e541550a80508dc0c660a13db373be
	save_linear_probed_clip: False
	save_model_every_checkpoint: False
	seed: 869855126
	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.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.0328689406  0.1451307717  0.1376219351  0.1677215190  0.0333804083  0.0323574730  0.1089420655  0.1146095718  0.1618865519  0.1530612245  0.0000000000  4.8487510681  2.3339076042  0             1.4799578190 
0.5219231114  0.6839388045  0.7474294753  0.7426160338  0.5256130440  0.5182331793  0.6671914358  0.6586901763  0.6842999788  0.6505102041  3.0226700252  2.4318888740  2.5991368294  300           0.1625565267 
0.3905760977  0.7756086415  0.8905879251  0.8681434599  0.3866991912  0.3944530046  0.7770780856  0.7392947103  0.7643934566  0.7193877551  6.0453400504  2.0080328949  2.5991368294  600           0.1790338000 
0.4105415343  0.8119052840  0.9161613499  0.8871308017  0.4050584157  0.4160246533  0.8101385390  0.7909319899  0.7958359890  0.7576530612  9.0680100756  1.8448223448  2.5991368294  900           0.1843162203 
0.4251783837  0.8254460892  0.9314526760  0.9166666667  0.4214918475  0.4288649204  0.8306045340  0.7884130982  0.8238793287  0.7712585034  12.090680100  1.7306565336  2.5991368294  1200          0.1824782999 
0.4433462489  0.8449220948  0.9446348537  0.9219409283  0.4388239825  0.4478685157  0.8469773300  0.8211586902  0.8376885490  0.7916666667  15.113350125  1.6054136837  2.5991368294  1500          0.1853977148 
0.4512424609  0.8553706439  0.9501713683  0.9272151899  0.4474258570  0.4550590652  0.8683879093  0.8438287154  0.8478861270  0.7950680272  18.136020151  1.5138609250  2.5991368294  1800          0.1832143855 
0.4562498518  0.8647751045  0.9564988136  0.9251054852  0.4523045320  0.4601951721  0.8841309824  0.8664987406  0.8587210537  0.8027210884  21.158690176  1.4274756555  2.5991368294  2100          0.1870410434 
0.4599090889  0.8752516521  0.9683627735  0.9462025316  0.4560277314  0.4637904468  0.8850755668  0.8564231738  0.8693435309  0.8231292517  24.181360201  1.3688879855  2.5991368294  2400          0.1855546935 
0.4631190073  0.8806839997  0.9678354864  0.9388185654  0.4583386828  0.4678993323  0.9052267003  0.8664987406  0.8827278521  0.8367346939  27.204030226  1.3253423379  2.5991368294  2700          0.1839652316 
0.4612571768  0.8822268380  0.9686264171  0.9430379747  0.4582102966  0.4643040575  0.9175062972  0.8677581864  0.8899511366  0.8358843537  30.226700251  1.2879645463  2.5991368294  3000          0.1843763383 
0.4617064955  0.8851295029  0.9738992882  0.9419831224  0.4596225446  0.4637904468  0.9219143577  0.8690176322  0.8952623752  0.8443877551  33.249370277  1.2632714285  2.5991368294  3300          0.1851074505 
0.4618349147  0.8893850898  0.9754811495  0.9451476793  0.4593657722  0.4643040575  0.9329345088  0.8828715365  0.9012109624  0.8401360544  36.272040302  1.2444106857  2.5991368294  3600          0.1856613358 
0.4599731831  0.8902246390  0.9765357237  0.9514767932  0.4576967518  0.4622496148  0.9288413098  0.8816120907  0.9116209900  0.8375850340  39.294710327  1.0752960126  5.3942589760  3900          0.1964559269 
0.4583039978  0.8985235011  0.9804903770  0.9504219409  0.4569264347  0.4596815614  0.9395465995  0.8803526448  0.9118334396  0.8647959184  42.317380352  0.9040456772  5.3942589760  4200          0.2139407094 
0.4565064923  0.8991839519  0.9810176641  0.9483122363  0.4548722557  0.4581407293  0.9398614610  0.8929471033  0.9196940727  0.8562925170  45.340050377  0.8875341990  5.3942589760  4500          0.2152067240 
0.4558004013  0.8963708497  0.9796994463  0.9525316456  0.4529464630  0.4586543400  0.9483627204  0.8853904282  0.9228808158  0.8511904762  48.362720403  0.8738354035  5.3942589760  4800          0.2159518751 
0.4541954750  0.9039918093  0.9823358819  0.9504219409  0.4512774425  0.4571135080  0.9442695214  0.8942065491  0.9262800085  0.8673469388  50.377833753  0.8656446007  5.3942589760  5000          0.2204031014 
