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: 4
	output_dir: sweep/ablation3/outputs/41eeed5c36cc18a1681ae4065d6c2bb7
	save_linear_probed_clip: False
	save_model_every_checkpoint: False
	seed: 1016568263
	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.5122476832929141
	lambda2: 0.9892716333303577
	last_k_epoch: 0.2899069879248226
	lr: 3e-05
	nonlinear_classifier: False
	resnet18: False
	resnet_dropout: 0
	student_model: resnet
	temperature: 2.19589595208549
	weight_decay: 0.0001
	worst_case_p: 0.3
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.0137733153  0.0132734811  0.0123583934  0.0103092784  0.0126002291  0.0126002291  0.0180180180  0.0169109357  0.0137693632  0.0137772675  0.0000000000  8.9759674072  2.1706647873  0             1.4701626301 
0.7626945370  0.7256783205  0.8311019567  0.7051546392  0.7545819015  0.6827033219  0.8462837838  0.7891770011  0.7722317843  0.7531572905  4.9433573635  6.1715953819  2.4395728111  300           0.1594273098 
0.8175006072  0.7890352908  0.9495365602  0.7793814433  0.8760022910  0.7365406644  0.9355292793  0.8511837655  0.8278829604  0.8071182549  9.8867147271  3.2178948553  2.4395728111  600           0.1857350890 
0.8271131101  0.8137454459  0.9794026777  0.7896907216  0.9192439863  0.7800687285  0.9628378378  0.8714768884  0.8379231211  0.8163030999  14.830072090  2.4252923636  2.4395728111  900           0.1882745242 
0.8302695772  0.8232549147  0.9886714727  0.8000000000  0.9450171821  0.7915234822  0.9738175676  0.8782412627  0.8407917384  0.8197474168  19.773429454  2.0479265006  2.4395728111  1200          0.1898154044 
0.8361522188  0.8225133905  0.9907312049  0.7979381443  0.9547537228  0.7812142039  0.9814189189  0.8883878241  0.8456683878  0.8266360505  24.716786817  1.8663782477  2.4395728111  1500          0.1901568890 
0.8371562348  0.8353547678  0.9902162719  0.8329896907  0.9601947308  0.7869415808  0.9817004505  0.8861330327  0.8476764200  0.8266360505  29.660144181  1.7133305446  2.4395728111  1800          0.1901117317 
0.8385915315  0.8321072310  0.9912461380  0.8185567010  0.9676403207  0.7983963345  0.9853603604  0.8793686584  0.8471026965  0.8300803674  34.603501544  1.6228950783  2.4395728111  2100          0.1908598264 
0.8401696004  0.8357647455  0.9933058702  0.8103092784  0.9679266896  0.8018327606  0.9864864865  0.8951521984  0.8491107286  0.8312284730  39.546858908  1.5391550704  2.4395728111  2400          0.1885608697 
0.8405998930  0.8308190986  0.9927909372  0.8103092784  0.9773768614  0.7903780069  0.9909909910  0.8917700113  0.8499713138  0.8312284730  44.490216271  1.4825351051  2.4395728111  2700          0.1885804987 
0.8423217221  0.8378205746  0.9953656025  0.8164948454  0.9759450172  0.8006872852  0.9918355856  0.8962795941  0.8511187608  0.8335246843  49.433573635  1.4469854887  2.4395728111  3000          0.1884235605 
0.8450478966  0.8386304571  0.9953656025  0.8041237113  0.9762313860  0.8098510882  0.9909909910  0.9019165727  0.8531267929  0.8369690011  54.376930999  1.3968040518  2.4395728111  3300          0.1892835093 
0.8460522420  0.8393478751  0.9938208033  0.8268041237  0.9759450172  0.7949599084  0.9926801802  0.8962795941  0.8539873781  0.8381171068  59.320288362  1.3521269862  5.3996052742  3600          0.1950374365 
0.8459088111  0.8434233740  0.9953656025  0.8185567010  0.9793814433  0.8064146621  0.9954954955  0.9052987599  0.8537005164  0.8381171068  64.263645726  1.1903074161  5.3996052742  3900          0.2226009981 
0.8480612622  0.8375733999  0.9943357364  0.8123711340  0.9799541810  0.8006872852  0.9935247748  0.8996617813  0.8545611015  0.8415614237  69.207003089  1.0840228190  5.3996052742  4200          0.2221500198 
0.8492087091  0.8403627465  0.9953656025  0.8185567010  0.9828178694  0.7961053837  0.9940878378  0.9064261556  0.8568559954  0.8415614237  74.150360453  1.0243029187  5.3996052742  4500          0.2245169886 
0.8496390017  0.8343318897  0.9953656025  0.8082474227  0.9833906071  0.8029782360  0.9940878378  0.8917700113  0.8577165806  0.8415614237  79.093717816  0.9800098749  5.3996052742  4800          0.2229268098 
0.8496390017  0.8455676213  0.9953656025  0.8226804124  0.9810996564  0.8098510882  0.9932432432  0.9041713641  0.8577165806  0.8415614237  82.389289392  0.9503693777  5.3996052742  5000          0.2247097564 
