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: 1
	output_dir: sweep/ablation3/outputs/dcb861d88ef05d05647f679796dd0b7c
	save_linear_probed_clip: False
	save_model_every_checkpoint: False
	seed: 1839021043
	skip_model_save: False
	steps: 5001
	sweep: True
	task: domain_generalization
	test_envs: [3]
	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 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.0124830962  0.0081409249  0.0113285273  0.0061855670  0.0128865979  0.0126002291  0.0064752252  0.0056369786  0.0088927137  0.0160734788  0.0000000000  7.8387160301  2.0088801384  0             1.6114819050 
0.7312739556  0.7247860464  0.8439752832  0.6989690722  0.7577319588  0.6907216495  0.8429054054  0.7846674183  0.7415375789  0.7210103330  4.9433573635  4.9274422820  2.2550172806  300           0.1572750441 
0.8159235264  0.8235543482  0.9644696189  0.7917525773  0.9112256586  0.7995418099  0.9493243243  0.8793686584  0.8224325875  0.8094144661  9.8867147271  2.5971400273  2.2550172806  600           0.1830537685 
0.8266838055  0.8401054988  0.9855818744  0.8164948454  0.9430126002  0.8064146621  0.9710022523  0.8974069899  0.8336201951  0.8197474168  14.830072090  1.8432059932  2.2550172806  900           0.1839499466 
0.8329967397  0.8589476001  0.9902162719  0.8412371134  0.9576174112  0.8201603666  0.9828265766  0.9154453213  0.8393574297  0.8266360505  19.773429454  1.5052622024  2.2550172806  1200          0.1823689516 
0.8337135647  0.8470004771  0.9933058702  0.8144329897  0.9673539519  0.8190148912  0.9876126126  0.9075535513  0.8419391853  0.8254879449  24.716786817  1.3312962083  2.2550172806  1500          0.1830548636 
0.8348613410  0.8546952650  0.9938208033  0.8432989691  0.9705040092  0.8098510882  0.9918355856  0.9109357384  0.8430866322  0.8266360505  29.660144181  1.2653246884  2.2550172806  1800          0.1786491148 
0.8380181374  0.8550650370  0.9953656025  0.8329896907  0.9782359679  0.8190148912  0.9915540541  0.9131905299  0.8448078026  0.8312284730  34.603501544  1.1843512895  2.2550172806  2100          0.1791996249 
0.8391659137  0.8566445963  0.9933058702  0.8412371134  0.9828178694  0.8109965636  0.9918355856  0.9177001127  0.8459552496  0.8323765786  39.546858908  1.1302918768  2.2550172806  2400          0.1833890144 
0.8406005517  0.8543998778  0.9969104016  0.8185567010  0.9836769759  0.8213058419  0.9954954955  0.9233370913  0.8476764200  0.8335246843  44.490216271  1.0950009662  2.2550172806  2700          0.1814890154 
0.8407439826  0.8528102455  0.9922760041  0.8432989691  0.9828178694  0.8087056128  0.9935247748  0.9064261556  0.8479632817  0.8335246843  49.433573635  1.0677347988  2.2550172806  3000          0.1800401425 
0.8416045678  0.8546832119  0.9969104016  0.8329896907  0.9833906071  0.8178694158  0.9952139640  0.9131905299  0.8496844521  0.8335246843  54.376930999  1.0471632246  2.2550172806  3300          0.1803141141 
0.8443307423  0.8571670984  0.9933058702  0.8268041237  0.9842497136  0.8247422680  0.9949324324  0.9199549042  0.8516924842  0.8369690011  59.320288362  0.9620243061  5.3961720467  3600          0.2049877818 
0.8456219494  0.8580251933  0.9938208033  0.8453608247  0.9828178694  0.8121420389  0.9960585586  0.9165727170  0.8531267929  0.8381171068  64.263645726  0.8168838580  5.3961720467  3900          0.2229768268 
0.8469131566  0.8624784709  0.9958805355  0.8494845361  0.9842497136  0.8258877434  0.9963400901  0.9120631342  0.8545611015  0.8392652124  69.207003089  0.7641414769  5.3961720467  4200          0.2228991079 
0.8464825346  0.8567510941  0.9963954686  0.8288659794  0.9851088202  0.8293241695  0.9954954955  0.9120631342  0.8548479633  0.8381171068  74.150360453  0.7278661013  5.3961720467  4500          0.2242269325 
0.8467693963  0.8589998590  0.9979402678  0.8391752577  0.9853951890  0.8178694158  0.9977477477  0.9199549042  0.8554216867  0.8381171068  79.093717816  0.7011227079  5.3961720467  4800          0.2242080116 
0.8473431198  0.8550409308  0.9948506694  0.8329896907  0.9839633448  0.8144329897  0.9960585586  0.9177001127  0.8565691337  0.8381171068  82.389289392  0.6820175713  5.3961720467  5000          0.2279223192 
