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: [1]
Args:
	algorithm: Selective_KD
	checkpoint_freq: 300
	data_dir: ./domainbed/data
	dataset: PACS
	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/af2f1eeb1eee455ba5e98c70c534bb46
	save_linear_probed_clip: False
	save_model_every_checkpoint: False
	seed: 907331644
	skip_model_save: False
	steps: 5001
	sweep: True
	task: domain_generalization
	test_envs: [1]
	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.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 normal 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.1555660342  0.1721711949  0.1574130567  0.1760391198  0.1401918977  0.1709401709  0.2140718563  0.2245508982  0.1192748092  0.1159235669  0.0000000000  6.5502781868  2.3338298798  0             1.6421854496 
0.8281919155  0.9598893655  0.9847467968  0.9608801956  0.8123667377  0.8440170940  0.9992514970  0.9850299401  0.9653307888  0.9337579618  7.1856287425  1.7357384163  2.5990204811  300           0.1582121404 
0.8385886497  0.9649136464  0.9951189750  0.9584352078  0.8310234542  0.8461538462  1.0000000000  1.0000000000  0.9761450382  0.9363057325  14.371257485  0.7586830785  2.5990204811  600           0.1816812698 
0.8391262548  0.9664634132  0.9993898719  0.9584352078  0.8278251599  0.8504273504  0.9985029940  0.9970059880  0.9837786260  0.9439490446  21.556886227  0.6738783556  2.5990204811  900           0.1757147225 
0.8412538949  0.9693573807  0.9993898719  0.9731051345  0.8363539446  0.8461538462  1.0000000000  0.9910179641  0.9879134860  0.9439490446  28.742514970  0.6028551726  2.5990204811  1200          0.1758000994 
0.8431172886  0.9702408986  0.9981696156  0.9706601467  0.8422174840  0.8440170940  1.0000000000  0.9910179641  0.9863231552  0.9490445860  35.928143712  0.5889710320  2.5990204811  1500          0.1747470125 
0.8452517627  0.9720881595  0.9987797437  0.9706601467  0.8443496802  0.8461538462  1.0000000000  0.9940119760  0.9917302799  0.9515923567  43.113772455  0.5783539658  2.5990204811  1800          0.1748409684 
0.8500537601  0.9721810328  0.9981696156  0.9731051345  0.8496801706  0.8504273504  1.0000000000  0.9880239521  0.9904580153  0.9554140127  50.299401197  0.5553551151  2.5990204811  2100          0.1754078102 
0.8540561839  0.9709972822  0.9987797437  0.9682151589  0.8534115139  0.8547008547  1.0000000000  0.9970059880  0.9923664122  0.9477707006  57.485029940  0.5384060540  2.5990204811  2400          0.1762483239 
0.8556598869  0.9726615350  1.0000000000  0.9706601467  0.8523454158  0.8589743590  1.0000000000  0.9970059880  0.9930025445  0.9503184713  64.670658682  0.5161290803  2.5990204811  2700          0.1767068156 
0.8575301146  0.9691842823  1.0000000000  0.9657701711  0.8518123667  0.8632478632  1.0000000000  0.9940119760  0.9949109415  0.9477707006  71.856287425  0.5226781156  2.5990204811  3000          0.1758230392 
0.8585984906  0.9690697962  1.0000000000  0.9633251834  0.8518123667  0.8653846154  1.0000000000  0.9910179641  0.9971374046  0.9528662420  79.041916167  0.5119234473  2.5990204811  3300          0.1761663445 
0.8601999157  0.9730176415  0.9993898719  0.9755501222  0.8528784648  0.8675213675  1.0000000000  0.9970059880  0.9968193384  0.9464968153  86.227544910  0.4963565428  2.5990204811  3600          0.1746629373 
0.8618013408  0.9758412936  1.0000000000  0.9755501222  0.8539445629  0.8696581197  1.0000000000  0.9940119760  0.9968193384  0.9579617834  93.413173652  0.4048232316  5.3941302299  3900          0.1903057075 
0.8607352428  0.9739813845  1.0000000000  0.9779951100  0.8518123667  0.8696581197  1.0000000000  1.0000000000  0.9958651399  0.9439490446  100.59880239  0.2818599674  5.3941302299  4200          0.2041942191 
0.8596668667  0.9725127879  1.0000000000  0.9706601467  0.8518123667  0.8675213675  1.0000000000  0.9940119760  0.9955470738  0.9528662420  107.78443113  0.2663275341  5.3941302299  4500          0.2045376611 
0.8596668667  0.9679789189  1.0000000000  0.9608801956  0.8518123667  0.8675213675  1.0000000000  0.9940119760  0.9965012723  0.9490445860  114.97005988  0.2561295214  5.3941302299  4800          0.2046131992 
0.8601999157  0.9697017840  0.9993898719  0.9682151589  0.8528784648  0.8675213675  1.0000000000  0.9880239521  0.9980916031  0.9528662420  119.76047904  0.2491001069  5.3941302299  5000          0.2052112389 
