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: [0]
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: 3
	output_dir: sweep/ablation3/outputs/de9e722c6cec9b9b5db8f3c904aec31d
	save_linear_probed_clip: False
	save_model_every_checkpoint: False
	seed: 582132414
	skip_model_save: False
	steps: 5001
	sweep: True
	task: domain_generalization
	test_envs: [0]
	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.8610090196552951
	lambda2: 0.5777772877463595
	last_k_epoch: 0.32350558703299503
	lr: 5e-05
	nonlinear_classifier: False
	resnet18: False
	resnet_dropout: 0
	student_model: resnet
	temperature: 2.866557071912062
	weight_decay: 0.0001
	worst_case_p: 0.25
using normal transform
using augment 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.1013640615  0.1899729692  0.1122635754  0.0904645477  0.1817697228  0.1730769231  0.1579341317  0.2095808383  0.1854325700  0.1872611465  0.0000000000  8.0383758545  2.0074062347  0             1.6256175041 
0.8344986428  0.9534109088  0.8401464308  0.8288508557  0.9818763326  0.9401709402  0.9977544910  0.9850299401  0.9452926209  0.9350318471  7.1856287425  2.6480069294  2.2566514015  300           0.1481877359 
0.9245842845  0.9683470880  0.9200732154  0.9290953545  0.9914712154  0.9615384615  1.0000000000  0.9970059880  0.9656488550  0.9464968153  14.371257485  1.1192265083  2.2566514015  600           0.1713989782 
0.9319125349  0.9673490840  0.9273947529  0.9364303178  0.9962686567  0.9615384615  1.0000000000  0.9940119760  0.9681933842  0.9464968153  21.556886227  0.9292987221  2.2566514015  900           0.1701056949 
0.9334378552  0.9682100818  0.9304453935  0.9364303178  0.9957356077  0.9636752137  0.9992514970  0.9970059880  0.9748727735  0.9439490446  28.742514970  0.8808526768  2.2566514015  1200          0.1703658875 
0.9367957976  0.9703350930  0.9347162904  0.9388753056  0.9952025586  0.9679487179  1.0000000000  0.9940119760  0.9796437659  0.9490445860  35.928143712  0.8640843219  2.2566514015  1500          0.1712962127 
0.9346558738  0.9714701032  0.9353264185  0.9339853301  0.9978678038  0.9658119658  1.0000000000  0.9970059880  0.9815521628  0.9515923567  43.113772455  0.7926473757  2.2566514015  1800          0.1736104703 
0.9355710660  0.9724582353  0.9371568029  0.9339853301  0.9968017058  0.9679487179  1.0000000000  0.9940119760  0.9790076336  0.9554140127  50.299401197  0.7684397789  2.2566514015  2100          0.1718361211 
0.9361811942  0.9733192331  0.9383770592  0.9339853301  0.9994669510  0.9700854701  1.0000000000  0.9970059880  0.9821882952  0.9528662420  57.485029940  0.7995068192  2.2566514015  2400          0.1719142723 
0.9340435081  0.9720336068  0.9365466748  0.9315403423  0.9984008529  0.9679487179  1.0000000000  0.9940119760  0.9828244275  0.9541401274  64.670658682  0.7635961883  2.2566514015  2700          0.1737256956 
0.9367935599  0.9714719722  0.9371568029  0.9364303178  0.9978678038  0.9700854701  1.0000000000  0.9940119760  0.9844147583  0.9503184713  71.856287425  0.7108114542  2.2566514015  3000          0.1728632108 
0.9358783677  0.9733056232  0.9353264185  0.9364303178  1.0000000000  0.9636752137  1.0000000000  0.9970059880  0.9825063613  0.9592356688  79.041916167  0.7080421479  2.2566514015  3300          0.1731099025 
0.9352660020  0.9755911224  0.9365466748  0.9339853301  0.9989339019  0.9700854701  1.0000000000  1.0000000000  0.9850508906  0.9566878981  86.227544910  0.4991963915  5.3973727226  3600          0.2010101628 
0.9340435081  0.9760213578  0.9365466748  0.9315403423  0.9989339019  0.9829059829  1.0000000000  0.9910179641  0.9853689567  0.9541401274  93.413173652  0.3640455654  5.3973727226  3900          0.2101318153 
0.9352660020  0.9758806136  0.9365466748  0.9339853301  1.0000000000  0.9764957265  1.0000000000  0.9970059880  0.9863231552  0.9541401274  100.59880239  0.3392071892  5.3973727226  4200          0.2086091503 
0.9325159501  0.9761564950  0.9359365467  0.9290953545  0.9984008529  0.9764957265  1.0000000000  0.9940119760  0.9895038168  0.9579617834  107.78443113  0.3225586360  5.3973727226  4500          0.2076033346 
0.9322108861  0.9743073651  0.9353264185  0.9290953545  0.9994669510  0.9722222222  1.0000000000  0.9940119760  0.9863231552  0.9566878981  114.97005988  0.3148315185  5.3973727226  4800          0.2089572970 
0.9309883922  0.9723212291  0.9353264185  0.9266503667  1.0000000000  0.9700854701  1.0000000000  0.9940119760  0.9860050891  0.9528662420  119.76047904  0.3054959702  5.3973727226  5000          0.2183446324 
