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/4bb1cec66385ef8ccd0c72ab380a1619
	save_linear_probed_clip: False
	save_model_every_checkpoint: False
	seed: 1483138090
	skip_model_save: False
	steps: 5001
	sweep: True
	task: domain_generalization
	test_envs: [2]
	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 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.0920969773  0.0612542989  0.0406011073  0.0506329114  0.0694569264  0.0719054956  0.0935138539  0.0906801008  0.0616103675  0.0612244898  0.0000000000  4.2200474739  2.3339076042  0             1.7767612934 
0.4066435766  0.7413003291  0.8291589771  0.8048523207  0.7934266273  0.7693888033  0.4278967254  0.3853904282  0.6575313363  0.6496598639  3.0226700252  2.4760677210  2.5989842415  300           0.1672495071 
0.4905541559  0.8116649650  0.9013973108  0.8755274262  0.8392604956  0.8120184900  0.4949622166  0.4861460957  0.7431485022  0.7474489796  6.0453400504  2.1069887114  2.5989842415  600           0.1889978202 
0.5025188914  0.8329085970  0.9182704983  0.8987341772  0.8554371550  0.8448895737  0.5037783375  0.5012594458  0.7820267686  0.7551020408  9.0680100756  1.9377317917  2.5989842415  900           0.1878982925 
0.5459697730  0.8436299878  0.9306617453  0.8924050633  0.8735396071  0.8536209553  0.5491183879  0.5428211587  0.8145315488  0.7848639456  12.090680100  1.7963382999  2.5989842415  1200          0.1881153464 
0.5618702768  0.8599075334  0.9425257052  0.9071729958  0.8848375915  0.8613251156  0.5695843829  0.5541561713  0.8270660718  0.8112244898  15.113350125  1.6959755913  2.5989842415  1500          0.1893449060 
0.5817065488  0.8669067395  0.9467440021  0.9177215190  0.8938246245  0.8726245506  0.5928841310  0.5705289673  0.8478861270  0.8103741497  18.136020151  1.6066804818  2.5989842415  1800          0.1875677816 
0.5944584380  0.8736618555  0.9601898234  0.9177215190  0.8956220311  0.8767334361  0.6045340050  0.5843828715  0.8612704483  0.8265306122  21.158690176  1.5352587946  2.5989842415  2100          0.1851593121 
0.5988664984  0.8825517917  0.9638808331  0.9419831224  0.9040955193  0.8808423215  0.6095717884  0.5881612091  0.8653069896  0.8248299320  24.181360201  1.4823723551  2.5989842415  2400          0.1859688449 
0.6050062969  0.8897360720  0.9649354073  0.9377637131  0.9098728977  0.8947098100  0.6130352645  0.5969773300  0.8746547695  0.8367346939  27.204030226  1.4387434165  2.5989842415  2700          0.1846331151 
0.6032745589  0.8897339270  0.9691537042  0.9388185654  0.9157786622  0.8885464818  0.6146095718  0.5919395466  0.8782664117  0.8418367347  30.226700251  1.4391514385  2.5989842415  3000          0.1849452360 
0.6045340047  0.8921973941  0.9709992091  0.9451476793  0.9182179997  0.8947098100  0.6146095718  0.5944584383  0.8886764393  0.8367346939  33.249370277  1.3953511941  2.5989842415  3300          0.1839635388 
0.6053211584  0.8968817918  0.9744265753  0.9419831224  0.9215560406  0.9008731382  0.6149244332  0.5957178841  0.8965370724  0.8477891156  36.272040302  1.3986082598  2.5989842415  3600          0.1819854903 
0.6061083120  0.9050367379  0.9760084366  0.9556962025  0.9260495571  0.9065228557  0.6152392947  0.5969773300  0.9018483110  0.8528911565  39.294710327  1.1922148651  5.3942589760  3900          0.1987083125 
0.6053211584  0.9118523678  0.9752175059  0.9504219409  0.9261779433  0.9126861839  0.6124055416  0.5982367758  0.9031230083  0.8724489796  42.317380352  0.9712574339  5.3942589760  4200          0.2114131061 
0.6059508813  0.9043385892  0.9773266544  0.9493670886  0.9323404802  0.9039548023  0.6111460957  0.6007556675  0.9075844487  0.8596938776  45.340050377  0.9539620123  5.3942589760  4500          0.2122012003 
0.6050062969  0.9087805056  0.9818085948  0.9556962025  0.9343946591  0.9075500770  0.6105163728  0.5994962217  0.9143828341  0.8630952381  48.362720403  0.9414415385  5.3942589760  4800          0.2116788880 
0.6039042818  0.9084012572  0.9815449512  0.9514767932  0.9367056105  0.9106317411  0.6083123426  0.5994962217  0.9175695772  0.8630952381  50.377833753  0.9292158642  5.3942589760  5000          0.2115348434 
