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: 3
	output_dir: sweep/ablation3/outputs/4f744786f9ac7fe425edd553f808bdc5
	save_linear_probed_clip: False
	save_model_every_checkpoint: False
	seed: 565096412
	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.7010166027828918
	lambda2: 0.6269010951324223
	last_k_epoch: 0.38851977780027735
	lr: 5e-05
	nonlinear_classifier: False
	resnet18: False
	resnet_dropout: 0
	student_model: resnet
	temperature: 2.131347198605345
	weight_decay: 1e-06
	worst_case_p: 0.3
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.1523426821  0.1978265293  0.1147040879  0.1149144254  0.1572494670  0.1474358974  0.2874251497  0.2365269461  0.2204198473  0.2420382166  0.0000000000  8.5678653717  2.1691875458  0             1.5595960617 
0.8207132830  0.9680375312  0.9853569250  0.9657701711  0.8123667377  0.8290598291  0.9992514970  0.9880239521  0.9506997455  0.9503184713  7.1856287425  2.0433023254  2.4361939430  300           0.1565026021 
0.8505959211  0.9733963058  0.9945088469  0.9682151589  0.8422174840  0.8589743590  0.9985029940  0.9940119760  0.9656488550  0.9579617834  14.371257485  0.9541295232  2.4361939430  600           0.1746632361 
0.8535276908  0.9754509261  0.9951189750  0.9731051345  0.8480810235  0.8589743590  1.0000000000  0.9940119760  0.9710559796  0.9592356688  21.556886227  0.8504283355  2.4361939430  900           0.1738430675 
0.8634027660  0.9737866733  0.9969493594  0.9706601467  0.8550106610  0.8717948718  0.9992514970  0.9940119760  0.9770992366  0.9566878981  28.742514970  0.7959199391  2.4361939430  1200          0.1732779098 
0.8690088928  0.9721810328  0.9963392312  0.9731051345  0.8576759062  0.8803418803  0.9992514970  0.9880239521  0.9828244275  0.9554140127  35.928143712  0.7668280665  2.4361939430  1500          0.1740017716 
0.8679405168  0.9769880447  0.9951189750  0.9755501222  0.8576759062  0.8782051282  0.9992514970  1.0000000000  0.9831424936  0.9554140127  43.113772455  0.7359387138  2.4361939430  1800          0.1741751337 
0.8727493481  0.9768392976  0.9987797437  0.9755501222  0.8566098081  0.8888888889  1.0000000000  0.9970059880  0.9834605598  0.9579617834  50.299401197  0.7108225498  2.4361939430  2100          0.1746272429 
0.8738177241  0.9732132977  0.9987797437  0.9706601467  0.8566098081  0.8910256410  0.9992514970  0.9910179641  0.9860050891  0.9579617834  57.485029940  0.6917153375  2.4361939430  2400          0.1750603167 
0.8711456450  0.9786063333  1.0000000000  0.9706601467  0.8576759062  0.8846153846  1.0000000000  0.9970059880  0.9834605598  0.9681528662  64.670658682  0.6963535925  2.4361939430  2700          0.1729981422 
0.8714098915  0.9786306847  1.0000000000  0.9779951100  0.8603411514  0.8824786325  1.0000000000  0.9910179641  0.9875954198  0.9668789809  71.856287425  0.6802696782  2.4361939430  3000          0.1740216557 
0.8719406625  0.9766562895  0.9987797437  0.9779951100  0.8635394456  0.8803418803  1.0000000000  0.9940119760  0.9882315522  0.9579617834  79.041916167  0.4136789638  5.3991427422  3300          0.2023601373 
0.8730067606  0.9775740684  0.9993898719  0.9731051345  0.8656716418  0.8803418803  1.0000000000  0.9940119760  0.9879134860  0.9656050955  86.227544910  0.3226376258  5.3991427422  3600          0.2079949888 
0.8762118888  0.9807997911  1.0000000000  0.9853300733  0.8656716418  0.8867521368  1.0000000000  0.9940119760  0.9895038168  0.9630573248  93.413173652  0.3029660069  5.3991427422  3900          0.2074310891 
0.8756765618  0.9747973254  1.0000000000  0.9682151589  0.8667377399  0.8846153846  1.0000000000  0.9880239521  0.9895038168  0.9681528662  100.59880239  0.2907145061  5.3991427422  4200          0.2072642454 
0.8759430863  0.9795944277  0.9987797437  0.9804400978  0.8672707889  0.8846153846  1.0000000000  0.9940119760  0.9869592875  0.9643312102  107.78443113  0.2876948115  5.3991427422  4500          0.2064698402 
0.8754100373  0.9764732814  0.9993898719  0.9804400978  0.8662046908  0.8846153846  1.0000000000  0.9910179641  0.9904580153  0.9579617834  114.97005988  0.2817961503  5.3991427422  4800          0.2055304114 
0.8754100373  0.9770006928  0.9981696156  0.9731051345  0.8662046908  0.8846153846  1.0000000000  0.9910179641  0.9891857506  0.9668789809  119.76047904  0.2747340946  5.3991427422  5000          0.2085514224 
