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: [3]
Args:
	algorithm: Selective_KD
	checkpoint_freq: 300
	data_dir: ./domainbed/data
	dataset: OfficeHome
	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/32cf1f4d987d537649df787eadc41586
	save_linear_probed_clip: False
	save_model_every_checkpoint: False
	seed: 323391932
	skip_model_save: False
	steps: 5001
	sweep: True
	task: domain_generalization
	test_envs: [3]
	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 augment transform
using augment transform
using normal 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.0111909010  0.0116758421  0.0149330587  0.0123711340  0.0108820160  0.0068728522  0.0078828829  0.0157835400  0.0109007458  0.0114810563  0.0000000000  9.1754302979  1.7954735756  0             1.4892327785 
0.6895227289  0.6506455081  0.7358393409  0.6494845361  0.6577892325  0.5910652921  0.7654842342  0.7113866967  0.7028112450  0.6762342135  4.9433573635  6.6250038369  2.0943040848  300           0.1522605117 
0.7985637807  0.7793891915  0.9104016478  0.7711340206  0.8361970218  0.7113402062  0.9062500000  0.8556933484  0.8037865749  0.7933409874  9.8867147271  3.8772240114  2.0943040848  600           0.1715205614 
0.8153517790  0.7988140604  0.9588053553  0.7814432990  0.8951890034  0.7502863688  0.9448198198  0.8647125141  0.8144004590  0.8163030999  14.830072090  2.8929002937  2.0943040848  900           0.1719185026 
0.8230986925  0.8081527194  0.9794026777  0.7958762887  0.9255441008  0.7537227950  0.9650900901  0.8748590755  0.8241537579  0.8220436280  19.773429454  2.3668226139  2.0943040848  1200          0.1731406864 
0.8265416920  0.8234398438  0.9855818744  0.8020618557  0.9390034364  0.7674684994  0.9766328829  0.9007891770  0.8287435456  0.8243398393  24.716786817  2.0644857057  2.0943040848  1500          0.1750090082 
0.8319943704  0.8317354789  0.9881565396  0.8268041237  0.9567583047  0.7766323024  0.9819819820  0.8917700113  0.8316121629  0.8323765786  29.660144181  1.8745317483  2.0943040848  1800          0.1714786951 
0.8327111954  0.8270289999  0.9927909372  0.7979381443  0.9633447881  0.7823596793  0.9870495495  0.9007891770  0.8341939185  0.8312284730  34.603501544  1.7654117004  2.0943040848  2100          0.1710549100 
0.8342895936  0.8379652980  0.9953656025  0.8000000000  0.9693585338  0.8018327606  0.9890202703  0.9120631342  0.8350545037  0.8335246843  39.546858908  1.6787264554  2.0943040848  2400          0.1735203846 
0.8352939390  0.8328267153  0.9953656025  0.8164948454  0.9696449026  0.7800687285  0.9915540541  0.9019165727  0.8359150889  0.8346727899  44.490216271  1.6015964297  2.0943040848  2700          0.1740526954 
0.8377329224  0.8369544730  0.9958805355  0.8061855670  0.9753722795  0.7892325315  0.9929617117  0.9154453213  0.8384968445  0.8369690011  49.433573635  1.5558502758  2.0943040848  3000          0.1755668243 
0.8394540928  0.8418016289  0.9963954686  0.8206185567  0.9759450172  0.7961053837  0.9921171171  0.9086809470  0.8419391853  0.8369690011  54.376930999  1.5225142467  2.0943040848  3300          0.1727683489 
0.8408890602  0.8452079222  0.9963954686  0.8206185567  0.9799541810  0.8006872852  0.9929617117  0.9143179256  0.8425129088  0.8392652124  59.320288362  1.4136897548  5.4026646614  3600          0.2027549998 
0.8417499747  0.8438152721  0.9969104016  0.8268041237  0.9782359679  0.7869415808  0.9946509009  0.9177001127  0.8430866322  0.8404133180  64.263645726  1.2144579669  5.4026646614  3900          0.2195233766 
0.8423240275  0.8443920132  0.9974253347  0.8226804124  0.9808132875  0.8006872852  0.9918355856  0.9098083427  0.8430866322  0.8415614237  69.207003089  1.1361572142  5.4026646614  4200          0.2212519598 
0.8430411819  0.8483911471  0.9953656025  0.8371134021  0.9822451317  0.7892325315  0.9943693694  0.9188275085  0.8445209409  0.8415614237  74.150360453  1.0798432638  5.4026646614  4500          0.2188401373 
0.8428977510  0.8409495605  0.9943357364  0.8226804124  0.9822451317  0.7892325315  0.9938063063  0.9109357384  0.8442340792  0.8415614237  79.093717816  1.0316142066  5.4026646614  4800          0.2192006119 
0.8418930762  0.8476696827  0.9938208033  0.8371134021  0.9776632302  0.7949599084  0.9957770270  0.9109357384  0.8445209409  0.8392652124  82.389289392  0.9995150846  5.4026646614  5000          0.2165222931 
