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: 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: 1
	output_dir: sweep/ablation3/outputs/4aaf8f7bc9f3593ebf22358525696112
	save_linear_probed_clip: False
	save_model_every_checkpoint: False
	seed: 1630951639
	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.6109302038716249
	lambda2: 0.5117744391412766
	last_k_epoch: 0.31317984427858747
	lr: 5e-05
	nonlinear_classifier: False
	resnet18: False
	resnet_dropout: 0
	student_model: resnet
	temperature: 4.002688876693512
	weight_decay: 1e-06
	worst_case_p: 0.25
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.0116911761  0.0152835260  0.0149330587  0.0206185567  0.0189003436  0.0114547537  0.0098536036  0.0135287486  0.0131956397  0.0137772675  0.0000000000  7.0530686378  2.0088801384  0             1.5035138130 
0.6977376542  0.6985593661  0.8347064882  0.6907216495  0.7634593356  0.6414662085  0.7134009009  0.6820744081  0.8327596099  0.7634902411  4.9433573635  4.9614120173  2.2550172806  300           0.3078720840 
0.7828109602  0.8036867383  0.9639546859  0.8226804124  0.9097938144  0.7605956472  0.7933558559  0.7722660654  0.9466437177  0.8277841561  9.8867147271  2.6536295048  2.2550172806  600           0.3074226109 
0.7949231640  0.8269947291  0.9881565396  0.8329896907  0.9381443299  0.7983963345  0.8063063063  0.7835400225  0.9661503155  0.8495981630  14.830072090  1.8683229129  2.2550172806  900           0.3051698947 
0.8030932916  0.8284421576  0.9907312049  0.8453608247  0.9561855670  0.7949599084  0.8125000000  0.7936865840  0.9816408491  0.8450057405  19.773429454  1.4993350494  2.2550172806  1200          0.3169592635 
0.8112634192  0.8308928524  0.9922760041  0.8412371134  0.9659221077  0.7972508591  0.8186936937  0.8038331454  0.9862306368  0.8541905855  24.716786817  1.3368615325  2.2550172806  1500          0.3089396898 
0.8173220602  0.8373935238  0.9953656025  0.8412371134  0.9730813288  0.8041237113  0.8206644144  0.8139797069  0.9922547332  0.8668197474  29.660144181  1.2433706645  2.2550172806  1800          0.3094762373 
0.8180252543  0.8343362925  0.9948506694  0.8309278351  0.9742268041  0.8087056128  0.8231981982  0.8128523112  0.9922547332  0.8633754305  34.603501544  1.1782011322  2.2550172806  2100          0.3055254515 
0.8180258891  0.8380799322  0.9953656025  0.8432989691  0.9796678121  0.8052691867  0.8220720721  0.8139797069  0.9934021801  0.8656716418  39.546858908  1.1379151509  2.2550172806  2400          0.3014490859 
0.8190118842  0.8377735954  0.9938208033  0.8412371134  0.9802405498  0.8075601375  0.8229166667  0.8151071026  0.9948364888  0.8645235362  44.490216271  1.1190707125  2.2550172806  2700          0.3096861808 
0.8181660200  0.8445692059  0.9963954686  0.8536082474  0.9813860252  0.8167239404  0.8234797297  0.8128523112  0.9954102123  0.8633754305  49.433573635  1.0455574473  2.2550172806  3000          0.3001960421 
0.8187290831  0.8383801318  0.9953656025  0.8453608247  0.9822451317  0.8109965636  0.8246058559  0.8128523112  0.9956970740  0.8587830080  54.376930999  1.0418511814  2.2550172806  3300          0.2986223507 
0.8187290831  0.8406737128  0.9963954686  0.8453608247  0.9851088202  0.8144329897  0.8246058559  0.8128523112  0.9965576592  0.8622273249  59.320288362  0.9526623736  5.3961720467  3600          0.2960469103 
0.8160519944  0.8351806916  0.9948506694  0.8391752577  0.9808132875  0.7972508591  0.8237612613  0.8083427283  0.9962707975  0.8691159587  64.263645726  0.8048434287  5.3961720467  3900          0.3193186855 
0.8164742917  0.8443436178  0.9958805355  0.8597938144  0.9819587629  0.8052691867  0.8246058559  0.8083427283  0.9959839357  0.8679678530  69.207003089  0.7630420025  5.3961720467  4200          0.3129072865 
0.8164742917  0.8422843924  0.9953656025  0.8432989691  0.9839633448  0.8121420389  0.8246058559  0.8083427283  0.9971313827  0.8714121699  74.150360453  0.7265132876  5.3961720467  4500          0.3136951288 
0.8168965890  0.8424388759  0.9948506694  0.8494845361  0.9828178694  0.8041237113  0.8254504505  0.8083427283  0.9977051061  0.8737083812  79.093717816  0.7017654306  5.3961720467  4800          0.3103610810 
0.8168965890  0.8394571329  0.9953656025  0.8371134021  0.9845360825  0.8121420389  0.8254504505  0.8083427283  0.9954102123  0.8691159587  82.389289392  0.6775942701  5.3961720467  5000          0.3188917673 
