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: [0]
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/050b84c67ce2495fd99c23e441b3fcdd
	save_linear_probed_clip: False
	save_model_every_checkpoint: False
	seed: 1403510472
	skip_model_save: False
	steps: 5001
	sweep: True
	task: domain_generalization
	test_envs: [0]
	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.8194577311903198
	lambda2: 0.5954971958468116
	last_k_epoch: 0.2502561813215683
	lr: 3e-05
	nonlinear_classifier: False
	resnet18: False
	resnet_dropout: 0
	student_model: resnet
	temperature: 2.3092434210820203
	weight_decay: 1e-06
	worst_case_p: 0.25
using normal transform
using augment transform
using augment 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.0123637020  0.0174634792  0.0144181256  0.0103092784  0.0146048110  0.0126002291  0.0270270270  0.0214205186  0.0154905336  0.0183696900  0.0000000000  9.1476945877  2.0088801384  0             1.5146648884 
0.5644000762  0.7218795242  0.5638516993  0.5649484536  0.7310996564  0.6231386025  0.8282657658  0.7801578354  0.8195639702  0.7623421355  4.9433573635  6.3793575605  2.2550172806  300           0.3089526574 
0.6687281681  0.8173080551  0.6673532441  0.6701030928  0.8714203895  0.7422680412  0.9327139640  0.8680947012  0.9271371199  0.8415614237  9.8867147271  3.2856664109  2.2550172806  600           0.3016368095 
0.6914000867  0.8325338351  0.6838311020  0.6989690722  0.9149484536  0.7686139748  0.9619932432  0.8782412627  0.9538152610  0.8507462687  14.830072090  2.5200646798  2.2550172806  900           0.3053497648 
0.7053085879  0.8367175853  0.7013388260  0.7092783505  0.9329896907  0.7754868270  0.9715653153  0.8816234498  0.9644291452  0.8530424799  19.773429454  2.1237308069  2.2550172806  1200          0.3075093563 
0.7153572145  0.8415978169  0.7070030896  0.7237113402  0.9470217640  0.7731958763  0.9783220721  0.8974069899  0.9787722318  0.8541905855  24.716786817  1.8867408836  2.2550172806  1500          0.2945148230 
0.7145816298  0.8491566296  0.7116374871  0.7175257732  0.9524627721  0.7983963345  0.9828265766  0.9098083427  0.9827882960  0.8392652124  29.660144181  1.7586381412  2.2550172806  1800          0.3024618149 
0.7187021560  0.8541972800  0.7178166838  0.7195876289  0.9633447881  0.8029782360  0.9853603604  0.8985343856  0.9868043603  0.8610792193  34.603501544  1.6740446122  2.2550172806  2100          0.3027511581 
0.7210214782  0.8602661603  0.7183316169  0.7237113402  0.9656357388  0.8018327606  0.9870495495  0.9075535513  0.9868043603  0.8714121699  39.546858908  1.6062509898  2.2550172806  2400          0.2971130689 
0.7241121383  0.8549532609  0.7224510814  0.7257731959  0.9702176403  0.7972508591  0.9887387387  0.9007891770  0.9899598394  0.8668197474  44.490216271  1.5627107465  2.2550172806  2700          0.3235121520 
0.7261739939  0.8567795469  0.7224510814  0.7298969072  0.9722222222  0.8029782360  0.9921171171  0.9143179256  0.9890992542  0.8530424799  49.433573635  1.4893481072  2.2550172806  3000          0.3078486832 
0.7261729322  0.8590809079  0.7245108136  0.7278350515  0.9742268041  0.8052691867  0.9904279279  0.9131905299  0.9922547332  0.8587830080  54.376930999  1.4684057804  2.2550172806  3300          0.3091122635 
0.7284922544  0.8590999750  0.7250257467  0.7319587629  0.9742268041  0.7983963345  0.9915540541  0.9109357384  0.9931153184  0.8679678530  59.320288362  1.4206124707  2.2550172806  3600          0.2999320022 
0.7292657157  0.8644249276  0.7245108136  0.7340206186  0.9779495991  0.8052691867  0.9926801802  0.9154453213  0.9916810098  0.8725602755  64.263645726  1.3261788213  5.3961720467  3900          0.3015658426 
0.7318425044  0.8655230673  0.7255406797  0.7381443299  0.9796678121  0.7983963345  0.9915540541  0.9244644870  0.9925415950  0.8737083812  69.207003089  1.0878981797  5.3961720467  4200          0.3072930368 
0.7323563758  0.8625312514  0.7286302781  0.7360824742  0.9796678121  0.8064146621  0.9932432432  0.9120631342  0.9942627653  0.8691159587  74.150360453  1.0068524299  5.3961720467  4500          0.3096516609 
0.7341607649  0.8628735209  0.7281153450  0.7402061856  0.9770904926  0.7961053837  0.9940878378  0.9199549042  0.9939759036  0.8725602755  79.093717816  0.9708073757  5.3961720467  4800          0.2947533830 
0.7339032984  0.8640724692  0.7276004119  0.7402061856  0.9793814433  0.8018327606  0.9938063063  0.9109357384  0.9942627653  0.8794489093  82.389289392  0.9374781159  5.3961720467  5000          0.3023584270 
