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: 2
	output_dir: sweep/ablation3/outputs/ae8602359636d4d52a6df2993d8f94e3
	save_linear_probed_clip: False
	save_model_every_checkpoint: False
	seed: 1914561104
	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.7419102898692578
	lambda2: 0.5215383105176172
	last_k_epoch: 0.23762453204831346
	lr: 3e-05
	nonlinear_classifier: False
	resnet18: False
	resnet_dropout: 0
	student_model: resnet
	temperature: 2.9748462276330736
	weight_decay: 1e-06
	worst_case_p: 0.3
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.0167856929  0.0119410965  0.0169927909  0.0164948454  0.0137457045  0.0103092784  0.0104166667  0.0090191657  0.0186460126  0.0149253731  0.0000000000  9.0190238953  2.1706647873  0             1.7434229851 
0.7670004271  0.7443013997  0.8568486097  0.7443298969  0.7462772050  0.6689576174  0.8578265766  0.8196166855  0.7705106139  0.7634902411  4.9433573635  5.4407382154  2.4395728111  300           0.1650726366 
0.8205179250  0.7993365624  0.9510813594  0.7876288660  0.8837342497  0.7434135166  0.9442567568  0.8669673055  0.8155479059  0.8254879449  9.8867147271  2.8241720915  2.4395728111  600           0.1875206876 
0.8327131714  0.8270008473  0.9794026777  0.8206185567  0.9178121420  0.7686139748  0.9636824324  0.8917700113  0.8273092369  0.8381171068  14.830072090  2.0773137709  2.4395728111  900           0.1854478288 
0.8375914676  0.8308010189  0.9855818744  0.8206185567  0.9398625430  0.7766323024  0.9757882883  0.8951521984  0.8313253012  0.8438576349  19.773429454  1.7472682174  2.4395728111  1200          0.1879045192 
0.8411785567  0.8344665401  0.9922760041  0.8247422680  0.9518900344  0.7835051546  0.9811373874  0.8951521984  0.8339070568  0.8484500574  24.716786817  1.5822981286  2.4395728111  1500          0.1857654460 
0.8427566256  0.8423783699  0.9922760041  0.8371134021  0.9607674685  0.7892325315  0.9856418919  0.9007891770  0.8359150889  0.8495981630  29.660144181  1.4763479376  2.4395728111  1800          0.1851327586 
0.8434741092  0.8384415678  0.9938208033  0.8185567010  0.9670675830  0.7880870561  0.9878941441  0.9086809470  0.8362019507  0.8507462687  34.603501544  1.4044666203  2.4395728111  2100          0.1824803623 
0.8447649870  0.8448562299  0.9938208033  0.8309278351  0.9702176403  0.7949599084  0.9895833333  0.9086809470  0.8387837063  0.8507462687  39.546858908  1.3324967813  2.4395728111  2400          0.1870410570 
0.8457683444  0.8465583865  0.9948506694  0.8247422680  0.9736540664  0.7961053837  0.9904279279  0.9188275085  0.8430866322  0.8484500574  44.490216271  1.3017932038  2.4395728111  2700          0.1863449772 
0.8460552061  0.8492733482  0.9948506694  0.8453608247  0.9790950745  0.7915234822  0.9915540541  0.9109357384  0.8436603557  0.8484500574  49.433573635  1.2698876397  2.4395728111  3000          0.1863394292 
0.8477770352  0.8405858150  0.9969104016  0.8123711340  0.9790950745  0.8018327606  0.9921171171  0.9075535513  0.8448078026  0.8507462687  54.376930999  1.2259526443  2.4395728111  3300          0.1854449161 
0.8477770352  0.8488211846  0.9969104016  0.8371134021  0.9802405498  0.7995418099  0.9935247748  0.9098083427  0.8448078026  0.8507462687  59.320288362  1.1920455845  2.4395728111  3600          0.1858029477 
0.8484945189  0.8443035950  0.9953656025  0.8247422680  0.9799541810  0.7961053837  0.9946509009  0.9120631342  0.8450946644  0.8518943743  64.263645726  1.1493964895  5.3998112679  3900          0.2009804638 
0.8484945189  0.8524967787  0.9969104016  0.8391752577  0.9802405498  0.7961053837  0.9946509009  0.9222096956  0.8450946644  0.8518943743  69.207003089  0.9819472019  5.3998112679  4200          0.2233416263 
0.8477767059  0.8501897285  0.9948506694  0.8515463918  0.9825315006  0.7880870561  0.9957770270  0.9109357384  0.8459552496  0.8495981630  74.150360453  0.9129966468  5.3998112679  4500          0.2180096698 
0.8506463112  0.8456721389  0.9974253347  0.8288659794  0.9853951890  0.7949599084  0.9940878378  0.9131905299  0.8482501434  0.8530424799  79.093717816  0.8787946872  5.3998112679  4800          0.2164139064 
0.8509331730  0.8511402879  0.9963954686  0.8350515464  0.9839633448  0.7995418099  0.9949324324  0.9188275085  0.8488238669  0.8530424799  82.389289392  0.8498141944  5.3998112679  5000          0.2241513717 
