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: [0]
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: 4
	output_dir: sweep/ablation3/outputs/5dc340c4184aa65aeeb0ff6a96a45cf4
	save_linear_probed_clip: False
	save_model_every_checkpoint: False
	seed: 759420531
	skip_model_save: False
	steps: 5001
	sweep: True
	task: domain_generalization
	test_envs: [0]
	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.5122476832929141
	lambda2: 0.9892716333303577
	last_k_epoch: 0.2899069879248226
	lr: 3e-05
	nonlinear_classifier: False
	resnet18: False
	resnet_dropout: 0
	student_model: resnet
	temperature: 2.19589595208549
	weight_decay: 0.0001
	worst_case_p: 0.3
using normal transform
using augment 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.0209616093  0.0633692186  0.0271552861  0.0147679325  0.0225959687  0.0246533128  0.0569899244  0.0617128463  0.0966645422  0.1037414966  0.0000000000  4.3569583893  2.1692652702  0             1.6782159805 
0.3393536115  0.6392522848  0.3422093330  0.3364978903  0.7265374246  0.7108371854  0.6309823678  0.6108312343  0.5861482898  0.5960884354  3.0226700252  2.6273979274  2.4381909370  300           0.1595440300 
0.3211613719  0.7437288761  0.3121539678  0.3301687764  0.8160225960  0.7976373909  0.7298488665  0.7430730479  0.7040577863  0.6904761905  6.0453400504  2.2871980902  2.4381909370  600           0.1784670981 
0.3382997325  0.7689502133  0.3348273135  0.3417721519  0.8352805238  0.8186954289  0.7717254408  0.7619647355  0.7420862545  0.7261904762  9.0680100756  2.1567344928  2.4381909370  900           0.1826237170 
0.3481867829  0.7764470434  0.3514368574  0.3449367089  0.8555655411  0.8305084746  0.7893576826  0.7581863980  0.7667304015  0.7406462585  12.090680100  2.0725957835  2.4381909370  1200          0.1884453726 
0.3708629096  0.7884659858  0.3756920643  0.3660337553  0.8641674156  0.8454031844  0.8189546599  0.7657430730  0.7947737412  0.7542517007  15.113350125  1.9607610790  2.4381909370  1500          0.1878103566 
0.3902432138  0.8105544366  0.3954653309  0.3850210970  0.8739247657  0.8541345660  0.8365869018  0.7884130982  0.8147439983  0.7891156463  18.136020151  1.8890851140  2.4381909370  1800          0.1882463074 
0.4083053001  0.8246581286  0.4126021619  0.4040084388  0.8798305302  0.8618387262  0.8639798489  0.8085642317  0.8351391545  0.8035714286  21.158690176  1.8087831799  2.4381909370  2100          0.1854329324 
0.4192480372  0.8304080881  0.4228842605  0.4156118143  0.8902298113  0.8680020544  0.8737405542  0.8060453401  0.8476736775  0.8171768707  24.181360201  1.7565481170  2.4381909370  2400          0.1834335065 
0.4297954480  0.8435191287  0.4313208542  0.4282700422  0.8962639620  0.8715973292  0.8885390428  0.8375314861  0.8582961547  0.8214285714  27.204030226  1.6887097613  2.4381909370  2700          0.1836210736 
0.4437707812  0.8508732668  0.4423938835  0.4451476793  0.8984465272  0.8757062147  0.8979848866  0.8299748111  0.8661567878  0.8469387755  30.226700251  1.6234460243  2.4381909370  3000          0.1812138955 
0.4486484650  0.8539787912  0.4500395465  0.4472573840  0.9071767878  0.8839239856  0.9023929471  0.8438287154  0.8744423199  0.8341836735  33.249370277  1.5616516689  2.4381909370  3300          0.1874670736 
0.4560317360  0.8606029512  0.4553124176  0.4567510549  0.9089741944  0.8890600924  0.9193954660  0.8551637280  0.8844274485  0.8375850340  36.272040302  1.4792327166  5.3977379799  3600          0.1940996138 
0.4519448438  0.8606705607  0.4503031901  0.4535864979  0.9125690076  0.8947098100  0.9184508816  0.8488664987  0.8886764393  0.8384353741  39.294710327  1.1156398096  5.3977379799  3900          0.2232210859 
0.4526046479  0.8649121975  0.4463485368  0.4588607595  0.9151367313  0.8998459168  0.9241183879  0.8539042821  0.8922880816  0.8409863946  42.317380352  1.0745363416  5.3977379799  4200          0.2231736978 
0.4535274003  0.8709446929  0.4481940417  0.4588607595  0.9174476826  0.8993323061  0.9203400504  0.8614609572  0.9060973019  0.8520408163  45.340050377  1.0575435026  5.3977379799  4500          0.2206992308 
0.4576145707  0.8682322676  0.4510941207  0.4641350211  0.9205289511  0.8921417565  0.9260075567  0.8690176322  0.9009985129  0.8435374150  48.362720403  1.0544404934  5.3977379799  4800          0.2220334252 
0.4549779961  0.8735168673  0.4468758239  0.4630801688  0.9216844268  0.8977914741  0.9319899244  0.8690176322  0.9039728065  0.8537414966  50.377833753  1.0420774317  5.3977379799  5000          0.2228896797 
