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: 0
	output_dir: sweep/ablation3/outputs/dce91cb76be46e4e1082b05dfe583258
	save_linear_probed_clip: False
	save_model_every_checkpoint: False
	seed: 1275841810
	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.5
	lambda2: 0.5
	last_k_epoch: 0.25
	lr: 5e-05
	nonlinear_classifier: False
	resnet18: False
	resnet_dropout: 0
	student_model: resnet
	temperature: 3
	weight_decay: 0.0
	worst_case_p: 0.3333333333333333
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.0196549689  0.0206869150  0.0149330587  0.0268041237  0.0214776632  0.0194730813  0.0194256757  0.0157835400  0.0220883534  0.0172215844  0.0000000000  7.9456653595  2.3353104591  0             1.4912366867 
0.7873738677  0.7738808367  0.9057672503  0.7773195876  0.8304696449  0.7010309278  0.8961148649  0.8432919955  0.7894434882  0.7853042480  4.9433573635  4.3049464075  2.5970582962  300           0.1673202960 
0.8251057366  0.8406219743  0.9732234809  0.8432989691  0.9172394044  0.7777777778  0.9662162162  0.9007891770  0.8316121629  0.8185993111  9.8867147271  2.0926713912  2.5970582962  600           0.1856932672 
0.8344330244  0.8564335809  0.9866117405  0.8577319588  0.9473081329  0.7972508591  0.9791666667  0.9143179256  0.8353413655  0.8335246843  14.830072090  1.5233805490  2.5970582962  900           0.1874770570 
0.8401725645  0.8625427829  0.9927909372  0.8577319588  0.9636311569  0.8155784651  0.9853603604  0.9143179256  0.8387837063  0.8415614237  19.773429454  1.3314024150  2.5970582962  1200          0.1934475040 
0.8449077592  0.8643032248  0.9938208033  0.8494845361  0.9684994273  0.8155784651  0.9901463964  0.9278466742  0.8413654618  0.8484500574  24.716786817  1.2194975408  2.5970582962  1500          0.1900673660 
0.8443330477  0.8649322247  0.9963954686  0.8536082474  0.9739404353  0.8167239404  0.9907094595  0.9244644870  0.8436603557  0.8450057405  29.660144181  1.1545257858  2.5970582962  1800          0.1888593229 
0.8456245842  0.8662605629  0.9974253347  0.8597938144  0.9773768614  0.8201603666  0.9921171171  0.9188275085  0.8439472174  0.8473019518  34.603501544  1.0934904826  2.5970582962  2100          0.1843409181 
0.8459111166  0.8699482101  0.9969104016  0.8515463918  0.9785223368  0.8293241695  0.9940878378  0.9289740699  0.8456683878  0.8461538462  39.546858908  1.0556003882  2.5970582962  2400          0.1861826460 
0.8470585635  0.8744075143  0.9969104016  0.8659793814  0.9819587629  0.8339060710  0.9949324324  0.9233370913  0.8479632817  0.8461538462  44.490216271  1.0175297324  2.5970582962  2700          0.1889965606 
0.8479191487  0.8708766435  0.9979402678  0.8577319588  0.9842497136  0.8281786942  0.9952139640  0.9267192785  0.8496844521  0.8461538462  49.433573635  0.9897674563  2.5970582962  3000          0.1888333233 
0.8466276122  0.8657842931  0.9953656025  0.8412371134  0.9819587629  0.8339060710  0.9971846847  0.9222096956  0.8493975904  0.8438576349  54.376930999  0.9671256342  2.5970582962  3300          0.1937743624 
0.8470582342  0.8730430168  0.9958805355  0.8494845361  0.9839633448  0.8339060710  0.9971846847  0.9357384442  0.8491107286  0.8450057405  59.320288362  0.9400071218  2.5970582962  3600          0.1898451296 
0.8464841813  0.8753158879  0.9953656025  0.8597938144  0.9851088202  0.8270332188  0.9963400901  0.9391206313  0.8491107286  0.8438576349  64.263645726  0.8748273597  5.3944554329  3900          0.2044595925 
0.8486363030  0.8781896062  0.9984552008  0.8659793814  0.9845360825  0.8384879725  0.9971846847  0.9301014656  0.8511187608  0.8461538462  69.207003089  0.7524057903  5.3944554329  4200          0.2199897027 
0.8499275102  0.8788648383  0.9969104016  0.8680412371  0.9848224513  0.8361970218  0.9963400901  0.9323562570  0.8525530694  0.8473019518  74.150360453  0.7061558773  5.3944554329  4500          0.2228950644 
0.8494965589  0.8784769867  0.9974253347  0.8680412371  0.9876861397  0.8339060710  0.9969031532  0.9334836528  0.8539873781  0.8450057405  79.093717816  0.6733045495  5.3944554329  4800          0.2225581884 
0.8493531280  0.8730208908  0.9963954686  0.8618556701  0.9851088202  0.8316151203  0.9952139640  0.9255918828  0.8537005164  0.8450057405  82.389289392  0.6493255249  5.3944554329  5000          0.2245727408 
