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: 1
	output_dir: sweep/ablation3/outputs/daaa4bb75374eb3627353e3f39e5fab0
	save_linear_probed_clip: False
	save_model_every_checkpoint: False
	seed: 22619952
	skip_model_save: False
	steps: 5001
	sweep: True
	task: domain_generalization
	test_envs: [1]
	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.6880433961757358
	lambda2: 0.9840350138898164
	last_k_epoch: 0.33648211095401626
	lr: 5e-05
	nonlinear_classifier: False
	resnet18: False
	resnet_dropout: 0
	student_model: resnet
	temperature: 3.599417945900826
	weight_decay: 0.0001
	worst_case_p: 0.25
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.0909782588  0.0964000829  0.1232458816  0.1149144254  0.0943496802  0.0876068376  0.1511976048  0.1437125749  0.0263994911  0.0305732484  0.0000000000  8.1667470932  2.0074062347  0             1.5648684502 
0.8046944759  0.9588210460  0.9731543624  0.9462102689  0.8059701493  0.8034188034  0.9977544910  0.9850299401  0.9503816794  0.9452229299  7.1856287425  2.9816989112  2.2566514015  300           0.1511692643 
0.8439236961  0.9668565191  0.9951189750  0.9682151589  0.8374200426  0.8504273504  0.9985029940  0.9820359281  0.9659669211  0.9503184713  14.371257485  1.2803945812  2.2566514015  600           0.1681851562 
0.8575346705  0.9697703060  0.9945088469  0.9633251834  0.8475479744  0.8675213675  0.9992514970  0.9880239521  0.9742366412  0.9579617834  21.556886227  1.1203296779  2.2566514015  900           0.1675405192 
0.8596645887  0.9752093057  0.9951189750  0.9706601467  0.8539445629  0.8653846154  1.0000000000  0.9970059880  0.9755089059  0.9579617834  28.742514970  1.0636532050  2.2566514015  1200          0.1674989541 
0.8591292617  0.9689210491  0.9957291031  0.9633251834  0.8550106610  0.8632478632  0.9985029940  0.9880239521  0.9796437659  0.9554140127  35.928143712  1.0019762053  2.2566514015  1500          0.1685037279 
0.8596623107  0.9695872979  0.9945088469  0.9657701711  0.8560767591  0.8632478632  1.0000000000  0.9850299401  0.9818702290  0.9579617834  43.113772455  0.9507646761  2.2566514015  1800          0.1668586810 
0.8585939347  0.9698974402  0.9975594875  0.9633251834  0.8560767591  0.8611111111  0.9992514970  0.9820359281  0.9837786260  0.9643312102  50.299401197  0.9049333839  2.2566514015  2100          0.1664725955 
0.8633982100  0.9751876929  0.9987797437  0.9706601467  0.8592750533  0.8675213675  0.9992514970  0.9880239521  0.9856870229  0.9668789809  57.485029940  0.9271891151  2.2566514015  2400          0.1687068868 
0.8631294075  0.9714345588  0.9975594875  0.9657701711  0.8608742004  0.8653846154  0.9992514970  0.9880239521  0.9853689567  0.9605095541  64.670658682  0.8694139159  2.2566514015  2700          0.1672850005 
0.8671363872  0.9708269223  0.9981696156  0.9682151589  0.8603411514  0.8739316239  1.0000000000  0.9850299401  0.9882315522  0.9592356688  71.856287425  0.8588463418  2.2566514015  3000          0.1681242673 
0.8650019131  0.9702878077  1.0000000000  0.9657701711  0.8582089552  0.8717948718  1.0000000000  0.9820359281  0.9895038168  0.9630573248  79.041916167  0.8381408896  2.2566514015  3300          0.1686795171 
0.8660680112  0.9751290806  1.0000000000  0.9657701711  0.8603411514  0.8717948718  1.0000000000  0.9940119760  0.9891857506  0.9656050955  86.227544910  0.5655663116  5.3973727226  3600          0.2045125508 
0.8687400903  0.9777012026  0.9975594875  0.9731051345  0.8592750533  0.8782051282  1.0000000000  0.9880239521  0.9891857506  0.9719745223  93.413173652  0.4735809055  5.3973727226  3900          0.2065274779 
0.8706080399  0.9753950523  1.0000000000  0.9755501222  0.8608742004  0.8803418803  1.0000000000  0.9850299401  0.9898218830  0.9656050955  100.59880239  0.4400702974  5.3973727226  4200          0.2063664071 
0.8722094651  0.9705393377  0.9993898719  0.9584352078  0.8619402985  0.8824786325  1.0000000000  0.9850299401  0.9898218830  0.9681528662  107.78443113  0.4173716873  5.3973727226  4500          0.2059839288 
0.8722094651  0.9761856969  1.0000000000  0.9706601467  0.8619402985  0.8824786325  0.9992514970  0.9910179641  0.9907760814  0.9668789809  114.97005988  0.3981905352  5.3973727226  4800          0.2048829468 
0.8711410890  0.9756582855  1.0000000000  0.9779951100  0.8619402985  0.8803418803  1.0000000000  0.9910179641  0.9901399491  0.9579617834  119.76047904  0.3892008922  5.3973727226  5000          0.2074262786 
