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: 3
	output_dir: sweep/ablation3/outputs/22ffb412d1a495d595c9ccd8e2a46b6e
	save_linear_probed_clip: False
	save_model_every_checkpoint: False
	seed: 1018078278
	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.5694511041907044
	lambda2: 0.6621108818243455
	last_k_epoch: 0.20248994529588413
	lr: 5e-05
	nonlinear_classifier: False
	resnet18: False
	resnet_dropout: 0
	student_model: resnet
	temperature: 4.502579147595572
	weight_decay: 0.0001
	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.0139170755  0.0093326325  0.0102986612  0.0041237113  0.0157502864  0.0126002291  0.0087274775  0.0112739572  0.0129087780  0.0149253731  0.0000000000  7.6986532211  1.7954735756  0             1.4276771545 
0.7154922787  0.6847947935  0.7950566426  0.6824742268  0.7179266896  0.6345933562  0.7896959459  0.7373167982  0.7248995984  0.7060849598  4.9433573635  5.4563234218  2.0943040848  300           0.1560495718 
0.8045878771  0.8063440651  0.9464469619  0.7938144330  0.8871706758  0.7548682703  0.9245495495  0.8703494927  0.8158347676  0.7933409874  9.8867147271  3.1504792539  2.0943040848  600           0.1789898531 
0.8152050547  0.8226661206  0.9788877446  0.8041237113  0.9275486827  0.7754868270  0.9642454955  0.8883878241  0.8255880666  0.8048220436  14.830072090  2.2302957590  2.0943040848  900           0.1779022980 
0.8246737973  0.8347076883  0.9897013388  0.8185567010  0.9521764032  0.7926689576  0.9780405405  0.8928974070  0.8364888124  0.8128587830  19.773429454  1.7636320901  2.0943040848  1200          0.1769325312 
0.8296951950  0.8345007192  0.9922760041  0.8123711340  0.9650630011  0.7880870561  0.9862049550  0.9030439684  0.8419391853  0.8174512055  24.716786817  1.5069025048  2.0943040848  1500          0.1777096732 
0.8319904182  0.8432706440  0.9938208033  0.8226804124  0.9747995418  0.8018327606  0.9887387387  0.9052987599  0.8453815261  0.8185993111  29.660144181  1.3939522362  2.0943040848  1800          0.1768819237 
0.8350031251  0.8426476707  0.9953656025  0.8185567010  0.9747995418  0.8018327606  0.9943693694  0.9075535513  0.8491107286  0.8208955224  34.603501544  1.3331406987  2.0943040848  2100          0.1794910789 
0.8352899868  0.8423181044  0.9943357364  0.8164948454  0.9785223368  0.7983963345  0.9935247748  0.9120631342  0.8496844521  0.8208955224  39.546858908  1.2474208752  2.0943040848  2400          0.1796584447 
0.8401686124  0.8422055800  0.9943357364  0.8185567010  0.9790950745  0.7892325315  0.9929617117  0.9188275085  0.8525530694  0.8277841561  44.490216271  1.1956066815  2.0943040848  2700          0.1775964673 
0.8420342017  0.8468176143  0.9963954686  0.8185567010  0.9808132875  0.8087056128  0.9938063063  0.9131905299  0.8528399312  0.8312284730  49.433573635  1.1494870124  2.0943040848  3000          0.1793359033 
0.8428951162  0.8419764850  0.9958805355  0.8041237113  0.9831042383  0.8029782360  0.9946509009  0.9188275085  0.8534136546  0.8323765786  54.376930999  1.1331414513  2.0943040848  3300          0.1802656841 
0.8431819779  0.8490844588  0.9974253347  0.8288659794  0.9813860252  0.8006872852  0.9949324324  0.9177001127  0.8539873781  0.8323765786  59.320288362  1.1053534454  2.0943040848  3600          0.1787185224 
0.8414604782  0.8474687402  0.9953656025  0.8206185567  0.9822451317  0.8018327606  0.9966216216  0.9199549042  0.8516924842  0.8312284730  64.263645726  1.0861273883  2.0943040848  3900          0.1813374496 
0.8421776325  0.8505414209  0.9953656025  0.8206185567  0.9868270332  0.8144329897  0.9969031532  0.9165727170  0.8531267929  0.8312284730  69.207003089  0.9722320114  5.4025750160  4200          0.2120539761 
0.8423210634  0.8472979305  0.9963954686  0.8247422680  0.9853951890  0.7938144330  0.9963400901  0.9233370913  0.8534136546  0.8312284730  74.150360453  0.8330996617  5.4025750160  4500          0.2232756591 
0.8418904415  0.8492612951  0.9943357364  0.8247422680  0.9868270332  0.8098510882  0.9952139640  0.9131905299  0.8537005164  0.8300803674  79.093717816  0.7853381320  5.4025750160  4800          0.2246441579 
0.8414598195  0.8483087555  0.9963954686  0.8185567010  0.9868270332  0.8064146621  0.9957770270  0.9199549042  0.8539873781  0.8289322618  82.389289392  0.7486880752  5.4025750160  5000          0.2252247262 
