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: [2]
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/9d80843237f1f23cfd5c7cf0272c939e
	save_linear_probed_clip: False
	save_model_every_checkpoint: False
	seed: 1648536169
	skip_model_save: False
	steps: 5001
	sweep: True
	task: domain_generalization
	test_envs: [2]
	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.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 augment transform
using normal 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.0654911838  0.0439603897  0.0593197996  0.0580168776  0.0319681602  0.0338983051  0.0654911839  0.0654911839  0.0535372849  0.0399659864  0.0000000000  4.8225378990  2.3339076042  0             1.5609996319 
0.4401763222  0.7568666126  0.8315317690  0.8248945148  0.7862370009  0.7883923986  0.4596977330  0.4206549118  0.6777140429  0.6573129252  3.0226700252  2.5025495744  2.5989842415  300           0.1649322748 
0.4914987403  0.8201573980  0.9024518851  0.8860759494  0.8409295160  0.8320493066  0.4993702771  0.4836272040  0.7575950712  0.7423469388  6.0453400504  2.1020334172  2.5989842415  600           0.1857893332 
0.5209382869  0.8493118861  0.9251252307  0.9124472574  0.8642958018  0.8633795583  0.5280226700  0.5138539043  0.8000849798  0.7721088435  9.0680100756  1.9090344739  2.5989842415  900           0.1832663639 
0.5458123423  0.8604094184  0.9377801213  0.9208860759  0.8727692900  0.8669748331  0.5525818640  0.5390428212  0.8162311451  0.7933673469  12.090680100  1.7705148439  2.5989842415  1200          0.1797501977 
0.5653337529  0.8690170356  0.9443712101  0.9282700422  0.8816279368  0.8777606574  0.5714735516  0.5591939547  0.8306777140  0.8010204082  15.113350125  1.6588856983  2.5989842415  1500          0.1822472747 
0.5730478587  0.8861819285  0.9559715265  0.9398734177  0.8925407626  0.8921417565  0.5768261965  0.5692695214  0.8463989802  0.8265306122  18.136020151  1.6133876844  2.5989842415  1800          0.1826736410 
0.5804471030  0.8851419642  0.9599261798  0.9377637131  0.8965207344  0.8936825886  0.5878463476  0.5730478589  0.8597833015  0.8239795918  21.158690176  1.5424753857  2.5989842415  2100          0.1836249701 
0.5839105791  0.8867360790  0.9646717638  0.9377637131  0.9076903325  0.8967642527  0.5922544081  0.5755667506  0.8580837051  0.8256802721  24.181360201  1.5198260053  2.5989842415  2400          0.1876685953 
0.5824937025  0.8902702483  0.9675718429  0.9388185654  0.9071767878  0.9003595275  0.5931989924  0.5717884131  0.8708306777  0.8316326531  27.204030226  1.4798925217  2.5989842415  2700          0.1856457504 
0.5859571785  0.9010700374  0.9717901397  0.9504219409  0.9152651175  0.9075500770  0.5950881612  0.5768261965  0.8861270448  0.8452380952  30.226700251  1.4186248573  2.5989842415  3000          0.1885968987 
0.5886335010  0.9006410389  0.9731083575  0.9472573840  0.9202721787  0.9085772984  0.5966624685  0.5806045340  0.8903760357  0.8460884354  33.249370277  1.4264549383  2.5989842415  3300          0.1891970976 
0.5900503775  0.9090994059  0.9778539415  0.9578059072  0.9218128129  0.9131997946  0.5969773300  0.5831234257  0.8975993202  0.8562925170  36.272040302  1.3799190813  2.5989842415  3600          0.1826168950 
0.5911523927  0.9053806985  0.9794358028  0.9504219409  0.9274618051  0.9085772984  0.5954030227  0.5869017632  0.8956872743  0.8571428571  39.294710327  1.1864555262  5.3942589760  3900          0.2030466231 
0.5933564229  0.9105275692  0.9783812286  0.9462025316  0.9291308255  0.9239856189  0.5935138539  0.5931989924  0.9037603569  0.8613945578  42.317380352  0.9700636252  5.3942589760  4200          0.2199664736 
0.5939861458  0.9108094624  0.9810176641  0.9514767932  0.9281037360  0.9229583975  0.5935138539  0.5944584383  0.9133205864  0.8579931973  45.340050377  0.9493875752  5.3942589760  4500          0.2230475553 
0.5952455916  0.9122251425  0.9807540206  0.9567510549  0.9311850045  0.9219311762  0.5935138539  0.5969773300  0.9148077332  0.8579931973  48.362720403  0.9416591972  5.3942589760  4800          0.2234735529 
0.5947732995  0.9138284676  0.9818085948  0.9578059072  0.9343946591  0.9239856189  0.5925692695  0.5969773300  0.9156575313  0.8596938776  50.377833753  0.9327110076  5.3942589760  5000          0.2207386386 
