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: 4
	output_dir: sweep/ablation3/outputs/5e97db3960b49475fe08ec4d8c436727
	save_linear_probed_clip: False
	save_model_every_checkpoint: False
	seed: 1755675626
	skip_model_save: False
	steps: 5001
	sweep: True
	task: domain_generalization
	test_envs: [1]
	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.8001163740830898
	lambda2: 0.7340462818445315
	last_k_epoch: 0.3149495809125332
	lr: 3e-05
	nonlinear_classifier: False
	resnet18: False
	resnet_dropout: 0
	student_model: resnet
	temperature: 2.8284464949429635
	weight_decay: 1e-06
	worst_case_p: 0.2
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.1403347390  0.0700490337  0.0427102557  0.0390295359  0.1461034793  0.1345659990  0.1076826196  0.0843828715  0.0830677714  0.0867346939  0.0000000000  4.5377044678  1.7946186066  0             1.5623714924 
0.1062470198  0.5924790016  0.7324017928  0.7183544304  0.0964180254  0.1160760144  0.5069269521  0.5012594458  0.5710643722  0.5578231293  3.0226700252  2.9803879420  2.0937752724  300           0.1508573659 
0.1879699374  0.6810205406  0.8273134722  0.8185654008  0.1802542046  0.1956856703  0.6388539043  0.5994962217  0.6539196941  0.6250000000  6.0453400504  2.5281108356  2.0937752724  600           0.1730095712 
0.2568538407  0.7170874198  0.8531505405  0.8270042194  0.2445756837  0.2691319979  0.6999370277  0.6448362720  0.6995963459  0.6794217687  9.0680100756  2.3927936220  2.0937752724  900           0.1730476197 
0.2861276054  0.7499717482  0.8710783021  0.8649789030  0.2764154577  0.2958397535  0.7374055416  0.6876574307  0.7253027406  0.6972789116  12.090680100  2.3301490442  2.0937752724  1200          0.1732383283 
0.3130907486  0.7689021439  0.8900606380  0.8808016878  0.2984978816  0.3276836158  0.7600755668  0.7090680101  0.7467601445  0.7168367347  15.113350125  2.2472752881  2.0937752724  1500          0.1703584949 
0.3288833374  0.7744600691  0.8963880833  0.8797468354  0.3131339068  0.3446327684  0.7830604534  0.7191435768  0.7624814107  0.7244897959  18.136020151  2.1700748185  2.0937752724  1800          0.1742983190 
0.3394757912  0.7994148485  0.9182704983  0.9040084388  0.3250738221  0.3538777607  0.8060453401  0.7518891688  0.7803271723  0.7423469388  21.158690176  2.1121685604  2.0937752724  2100          0.1734729822 
0.3496830864  0.8130349136  0.9272343791  0.9050632911  0.3362434202  0.3631227530  0.8214735516  0.7644836272  0.7971106862  0.7695578231  24.181360201  2.0535778908  2.0937752724  2400          0.1727081879 
0.3604039264  0.8172008834  0.9356709728  0.9092827004  0.3484401078  0.3723677452  0.8343828715  0.7821158690  0.8204801360  0.7602040816  27.204030226  1.9865200917  2.0937752724  2700          0.1717025836 
0.3688778432  0.8179363826  0.9433166359  0.9008438819  0.3587110027  0.3790446841  0.8422544081  0.7808564232  0.8232419800  0.7721088435  30.226700251  1.9432992864  2.0937752724  3000          0.1734886980 
0.3792777507  0.8384202449  0.9496440812  0.9272151899  0.3697522147  0.3888032871  0.8551637280  0.7972292191  0.8342893563  0.7908163265  33.249370277  1.8995003410  2.0937752724  3300          0.1710811178 
0.3900630805  0.8431493847  0.9512259425  0.9156118143  0.3774553858  0.4026707756  0.8671284635  0.8085642317  0.8489483748  0.8052721088  36.272040302  1.5517884425  5.4010052681  3600          0.2001862216 
0.3921173254  0.8470425903  0.9528078038  0.9219409283  0.3805366543  0.4036979969  0.8794080605  0.8224181360  0.8497981729  0.7967687075  39.294710327  1.2650426837  5.4010052681  3900          0.2177730282 
0.3951988246  0.8436480261  0.9546533087  0.9208860759  0.3831043780  0.4072932717  0.8866498741  0.8047858942  0.8687061823  0.8052721088  42.317380352  1.2298443282  5.4010052681  4200          0.2187567512 
0.3962259141  0.8546165814  0.9572897443  0.9356540084  0.3851585569  0.4072932717  0.8800377834  0.8161209068  0.8687061823  0.8120748299  45.340050377  1.2001505001  5.4010052681  4500          0.2196734913 
0.3978950334  0.8574190012  0.9615080411  0.9293248945  0.3869559635  0.4088341037  0.8932619647  0.8274559194  0.8646696410  0.8154761905  48.362720403  1.1869777989  5.4010052681  4800          0.2196726569 
0.3988579628  0.8550003276  0.9617716847  0.9367088608  0.3883682116  0.4093477144  0.9001889169  0.8085642317  0.8769917145  0.8197278912  50.377833753  1.1817044365  5.4010052681  5000          0.2223567855 
