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/0e1653921fe786cbe100f35eca401a8d
	save_linear_probed_clip: False
	save_model_every_checkpoint: False
	seed: 1922706198
	skip_model_save: False
	steps: 5001
	sweep: True
	task: domain_generalization
	test_envs: [3]
	trial_seed: 1
	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.6171767606394463
	lambda2: 0.5293911814442921
	last_k_epoch: 0.3102645027326114
	lr: 5e-05
	nonlinear_classifier: False
	resnet18: False
	resnet_dropout: 0
	student_model: resnet
	temperature: 2.022572617872769
	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.0106165189  0.0124113397  0.0118434604  0.0144329897  0.0114547537  0.0160366552  0.0123873874  0.0067643743  0.0120481928  0.0091848450  0.0000000000  8.6081132889  1.7954735756  0             1.4633715153 
0.7067439839  0.6899032435  0.7806385170  0.6969072165  0.6953035510  0.6197021764  0.8046171171  0.7531003382  0.7039586919  0.7095292767  4.9433573635  5.8021371349  2.0968332291  300           0.1573351494 
0.8000003948  0.8029317452  0.9485066941  0.7938144330  0.8665521191  0.7491408935  0.9273648649  0.8658399098  0.7986230637  0.8013777268  9.8867147271  3.2820668737  2.0968332291  600           0.1742941395 
0.8200876324  0.8289461322  0.9757981462  0.8103092784  0.9178121420  0.7915234822  0.9622747748  0.8850056370  0.8146873207  0.8254879449  14.830072090  2.3743876402  2.0968332291  900           0.1810015233 
0.8263995785  0.8444100928  0.9876416066  0.8226804124  0.9427262314  0.8041237113  0.9771959459  0.9064261556  0.8238668962  0.8289322618  19.773429454  1.9092764298  2.0968332291  1200          0.1836607194 
0.8345774434  0.8565622047  0.9927909372  0.8432989691  0.9573310424  0.8075601375  0.9862049550  0.9188275085  0.8321858864  0.8369690011  24.716786817  1.7021180348  2.0968332291  1500          0.1821293600 
0.8368733253  0.8580653990  0.9943357364  0.8432989691  0.9670675830  0.8075601375  0.9901463964  0.9233370913  0.8333333333  0.8404133180  29.660144181  1.5543169630  2.0968332291  1800          0.1759233856 
0.8377339105  0.8671528369  0.9938208033  0.8556701031  0.9727949599  0.8224513173  0.9901463964  0.9233370913  0.8350545037  0.8404133180  34.603501544  1.4652859577  2.0968332291  2100          0.1803175926 
0.8387382559  0.8601152016  0.9938208033  0.8391752577  0.9745131730  0.8155784651  0.9912725225  0.9255918828  0.8359150889  0.8415614237  39.546858908  1.4300889385  2.0968332291  2400          0.1784979844 
0.8403166541  0.8619600153  0.9933058702  0.8412371134  0.9785223368  0.8213058419  0.9932432432  0.9233370913  0.8367756741  0.8438576349  44.490216271  1.3852261170  2.0968332291  2700          0.1745034107 
0.8421812554  0.8664354190  0.9953656025  0.8536082474  0.9808132875  0.8167239404  0.9912725225  0.9289740699  0.8405048766  0.8438576349  49.433573635  1.3804302164  2.0968332291  3000          0.1741359019 
0.8433293610  0.8676452063  0.9963954686  0.8412371134  0.9802405498  0.8304696449  0.9949324324  0.9312288613  0.8405048766  0.8461538462  54.376930999  1.3312171876  2.0968332291  3300          0.1813885856 
0.8454811533  0.8678743013  0.9969104016  0.8453608247  0.9805269187  0.8270332188  0.9949324324  0.9312288613  0.8436603557  0.8473019518  59.320288362  1.1869918964  5.4030575752  3600          0.2043328102 
0.8454811533  0.8739473440  0.9963954686  0.8556701031  0.9836769759  0.8281786942  0.9929617117  0.9379932356  0.8436603557  0.8473019518  64.263645726  0.9433413992  5.4030575752  3900          0.2261821787 
0.8470592222  0.8696608297  0.9969104016  0.8597938144  0.9813860252  0.8235967927  0.9949324324  0.9255918828  0.8456683878  0.8484500574  69.207003089  0.8764326211  5.4030575752  4200          0.2218177780 
0.8482069985  0.8678280691  0.9963954686  0.8474226804  0.9819587629  0.8304696449  0.9949324324  0.9255918828  0.8468158348  0.8495981630  74.150360453  0.8377634273  5.4030575752  4500          0.2254629683 
0.8490675837  0.8604327148  0.9958805355  0.8412371134  0.9828178694  0.8167239404  0.9954954955  0.9233370913  0.8485370052  0.8495981630  79.093717816  0.8099086569  5.4030575752  4800          0.2212817057 
0.8506459819  0.8736780432  0.9969104016  0.8639175258  0.9802405498  0.8258877434  0.9957770270  0.9312288613  0.8493975904  0.8518943743  82.389289392  0.7859416720  5.4030575752  5000          0.2245276296 
