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: 2
	output_dir: sweep/ablation3/outputs/54953154847342a579493c34bde4eb92
	save_linear_probed_clip: False
	save_model_every_checkpoint: False
	seed: 1258139841
	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.5439617198173775
	lambda2: 0.5509403872292429
	last_k_epoch: 0.38252238504986713
	lr: 5e-05
	nonlinear_classifier: False
	resnet18: False
	resnet_dropout: 0
	student_model: resnet
	temperature: 4.920147743151585
	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.0593183742  0.0457547052  0.0073820195  0.0126582278  0.0570034664  0.0616332820  0.0692695214  0.0642317380  0.0480135968  0.0603741497  0.0000000000  5.3906097412  2.1692652702  0             1.5163431168 
0.2734799836  0.5819950070  0.6923279726  0.6656118143  0.2757735268  0.2711864407  0.5075566751  0.4987405542  0.6133418313  0.5816326531  3.0226700252  2.6089601334  2.4375615120  300           0.1646018426 
0.2969765349  0.7574859916  0.8644872133  0.8333333333  0.2934908204  0.3004622496  0.7367758186  0.7392947103  0.7412364563  0.6998299320  6.0453400504  2.2139726718  2.4375615120  600           0.1880198256 
0.3188678302  0.7868967399  0.9013973108  0.8797468354  0.3146745410  0.3230611197  0.7720403023  0.7607052897  0.7748034842  0.7202380952  9.0680100756  2.0553206138  2.4375615120  900           0.1897519779 
0.3780574555  0.8155471445  0.9114157659  0.8955696203  0.3770702272  0.3790446841  0.8044710327  0.7959697733  0.7907371999  0.7551020408  12.090680100  1.9359429530  2.4375615120  1200          0.1861287816 
0.4097709205  0.8270679434  0.9303981018  0.9113924051  0.4081396842  0.4114021572  0.8315491184  0.7934508816  0.8158062460  0.7763605442  15.113350125  1.8541157822  2.4375615120  1500          0.1874677420 
0.4389165298  0.8325147511  0.9412074875  0.9177215190  0.4361278726  0.4417051875  0.8444584383  0.8085642317  0.8311026131  0.7712585034  18.136020151  1.7290294349  2.4375615120  1800          0.1866276725 
0.4557363071  0.8511042661  0.9493804376  0.9303797468  0.4512774425  0.4601951721  0.8652392947  0.8287153652  0.8402379435  0.7942176871  21.158690176  1.6433095431  2.4375615120  2100          0.1868154573 
0.4654301565  0.8651012539  0.9575533878  0.9356540084  0.4598793170  0.4709809964  0.8787783375  0.8501259446  0.8551094115  0.8095238095  24.181360201  1.5698210394  2.4375615120  2400          0.1843943310 
0.4669706588  0.8658151983  0.9641444767  0.9377637131  0.4650147644  0.4689265537  0.8935768262  0.8476070529  0.8680688337  0.8120748299  27.204030226  1.4758037823  2.4375615120  2700          0.1832192739 
0.4706940890  0.8731565432  0.9615080411  0.9430379747  0.4688663500  0.4725218285  0.9061712846  0.8677581864  0.8699808795  0.8086734694  30.226700251  1.4215676351  2.4375615120  3000          0.1852076435 
0.4729408802  0.8783734792  0.9675718429  0.9472573840  0.4728463217  0.4730354391  0.9093198992  0.8715365239  0.8814531549  0.8163265306  33.249370277  1.1198890913  5.3968682289  3300          0.2112758342 
0.4735829100  0.8856748688  0.9728447139  0.9504219409  0.4725895494  0.4745762712  0.9130982368  0.8690176322  0.8914382834  0.8375850340  36.272040302  0.9474009718  5.3968682289  3600          0.2208753260 
0.4739681016  0.8843940580  0.9736356446  0.9462025316  0.4728463217  0.4750898819  0.9225440806  0.8727959698  0.8971744211  0.8341836735  39.294710327  0.9234455387  5.3968682289  3900          0.2180050906 
0.4732618786  0.8893061010  0.9765357237  0.9525316456  0.4729747079  0.4735490498  0.9291561713  0.8803526448  0.9026981092  0.8350340136  42.317380352  0.9109430021  5.3968682289  4200          0.2193427189 
0.4742890670  0.8952799283  0.9778539415  0.9504219409  0.4734882527  0.4750898819  0.9307304786  0.8765743073  0.9101338432  0.8588435374  45.340050377  0.9052958413  5.3968682289  4500          0.2203420130 
0.4732618786  0.8911431770  0.9783812286  0.9504219409  0.4729747079  0.4735490498  0.9420654912  0.8828715365  0.9094964946  0.8401360544  48.362720403  0.8912864677  5.3968682289  4800          0.2194392920 
0.4732618457  0.8952692458  0.9802267335  0.9483122363  0.4734882527  0.4730354391  0.9408060453  0.8803526448  0.9086466964  0.8571428571  50.377833753  0.8868307695  5.3968682289  5000          0.2207543480 
