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: 3
	output_dir: sweep/ablation3/outputs/d28750a1d3b50deb5c7e0c9acdb8a77d
	save_linear_probed_clip: False
	save_model_every_checkpoint: False
	seed: 823903509
	skip_model_save: False
	steps: 5001
	sweep: True
	task: domain_generalization
	test_envs: [2]
	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.7010166027828918
	lambda2: 0.6269010951324223
	last_k_epoch: 0.38851977780027735
	lr: 5e-05
	nonlinear_classifier: False
	resnet18: False
	resnet_dropout: 0
	student_model: resnet
	temperature: 2.131347198605345
	weight_decay: 1e-06
	worst_case_p: 0.3
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.0188740389  0.0149008241  0.0200823893  0.0206185567  0.0140320733  0.0114547537  0.0174549550  0.0202931229  0.0172117040  0.0126291619  0.0000000000  10.006788253  2.1706647873  0             1.4727640152 
0.7239384956  0.7425701694  0.8738414006  0.7608247423  0.7817869416  0.6712485682  0.7331081081  0.7147688839  0.8516924842  0.7956371986  4.9433573635  5.4176242598  2.4395728111  300           0.2982413228 
0.7911218536  0.8144813861  0.9696189495  0.8206185567  0.8991981672  0.7594501718  0.7998310811  0.7824126268  0.9454962708  0.8633754305  9.8867147271  2.7409455872  2.4395728111  600           0.2977266018 
0.8029550650  0.8231861222  0.9835221421  0.8329896907  0.9306987400  0.7743413517  0.8077139640  0.7981961669  0.9647160069  0.8622273249  14.830072090  2.0682250615  2.4395728111  900           0.2964211384 
0.8071818467  0.8268525201  0.9902162719  0.8268041237  0.9478808706  0.7903780069  0.8094031532  0.8049605411  0.9770510614  0.8633754305  19.773429454  1.7611187140  2.4395728111  1200          0.3048428996 
0.8084500082  0.8307532736  0.9927909372  0.8247422680  0.9587628866  0.7961053837  0.8096846847  0.8072153326  0.9776247849  0.8714121699  24.716786817  1.6329157237  2.4395728111  1500          0.2894114860 
0.8115487595  0.8307506434  0.9938208033  0.8247422680  0.9667812142  0.7995418099  0.8125000000  0.8105975197  0.9859437751  0.8679678530  29.660144181  1.5581321088  2.4395728111  1800          0.3075418584 
0.8146481455  0.8295296797  0.9953656025  0.8268041237  0.9719358534  0.7926689576  0.8141891892  0.8151071026  0.9885255307  0.8691159587  34.603501544  1.4619413722  2.4395728111  2100          0.2984982014 
0.8171825641  0.8353334216  0.9948506694  0.8453608247  0.9750859107  0.7915234822  0.8181306306  0.8162344983  0.9902467011  0.8691159587  39.546858908  1.4278923031  2.4395728111  2400          0.2934749842 
0.8180271587  0.8477844277  0.9953656025  0.8597938144  0.9790950745  0.8098510882  0.8198198198  0.8162344983  0.9913941480  0.8737083812  44.490216271  1.3635565408  2.4395728111  2700          0.3048980808 
0.8190137886  0.8363314274  0.9979402678  0.8288659794  0.9799541810  0.8041237113  0.8195382883  0.8184892897  0.9919678715  0.8760045924  49.433573635  1.3420899518  2.4395728111  3000          0.3033785979 
0.8209864137  0.8370942009  0.9948506694  0.8391752577  0.9819587629  0.7972508591  0.8201013514  0.8218714769  0.9922547332  0.8748564868  54.376930999  1.1657414814  5.3998112679  3300          0.3070459890 
0.8218316431  0.8431990192  0.9958805355  0.8597938144  0.9819587629  0.8006872852  0.8206644144  0.8229988726  0.9936890419  0.8691159587  59.320288362  1.0047763280  5.3998112679  3600          0.3135362315 
0.8219717741  0.8333470542  0.9958805355  0.8371134021  0.9825315006  0.7949599084  0.8220720721  0.8218714769  0.9936890419  0.8679678530  64.263645726  0.9527819669  5.3998112679  3900          0.3045203765 
0.8225348371  0.8360268441  0.9953656025  0.8268041237  0.9819587629  0.8041237113  0.8231981982  0.8218714769  0.9959839357  0.8771526980  69.207003089  0.9132095397  5.3998112679  4200          0.2954342731 
0.8242252959  0.8424397527  0.9963954686  0.8597938144  0.9833906071  0.7926689576  0.8243243243  0.8241262683  0.9959839357  0.8748564868  74.150360453  0.8833875541  5.3998112679  4500          0.2819831427 
0.8240845301  0.8385372456  0.9958805355  0.8515463918  0.9831042383  0.7995418099  0.8240427928  0.8241262683  0.9956970740  0.8645235362  79.093717816  0.8572266056  5.3998112679  4800          0.2883160718 
0.8242252959  0.8427513500  0.9958805355  0.8412371134  0.9822451317  0.8041237113  0.8243243243  0.8241262683  0.9951233505  0.8828932262  82.389289392  0.8385536373  5.3998112679  5000          0.2848010933 
