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: [2]
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: 4
	output_dir: sweep/ablation3/outputs/433f7fe6bf8d2c41a59d860534a37412
	save_linear_probed_clip: False
	save_model_every_checkpoint: False
	seed: 72249056
	skip_model_save: False
	steps: 5001
	sweep: True
	task: domain_generalization
	test_envs: [2]
	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.8001163740830898
	lambda2: 0.7340462818445315
	last_k_epoch: 0.3149495809125332
	lr: 3e-05
	nonlinear_classifier: False
	resnet18: False
	resnet_dropout: 0
	student_model: resnet
	temperature: 2.8284464949429635
	weight_decay: 1e-06
	worst_case_p: 0.2
using augment transform
using augment transform
using normal 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.2264221556  0.1964624522  0.1995118975  0.2053789731  0.1753731343  0.1559829060  0.2252994012  0.2275449102  0.2006997455  0.2280254777  0.0000000000  9.7733278275  1.7945718765  0             1.5074672699 
0.9891467061  0.9361698973  0.9707138499  0.9315403423  0.9642857143  0.9508547009  0.9932634731  0.9850299401  0.9376590331  0.9261146497  7.1856287425  3.8180654915  2.0936598778  300           0.1413788390 
0.9947604785  0.9523329227  0.9896278218  0.9511002445  0.9872068230  0.9594017094  0.9955089820  0.9940119760  0.9637404580  0.9464968153  14.371257485  1.4884036988  2.0936598778  600           0.1593978858 
0.9962574845  0.9587980158  0.9914582062  0.9657701711  0.9941364606  0.9679487179  0.9955089820  0.9970059880  0.9640585242  0.9426751592  21.556886227  1.2346616646  2.0936598778  900           0.1591643620 
0.9958832330  0.9564079401  0.9963392312  0.9535452323  0.9962686567  0.9615384615  0.9947604790  0.9970059880  0.9716921120  0.9541401274  28.742514970  1.1331642183  2.0936598778  1200          0.1584894466 
0.9958832330  0.9656399419  0.9951189750  0.9633251834  0.9941364606  0.9743589744  0.9947604790  0.9970059880  0.9758269720  0.9592356688  35.928143712  1.0716816105  2.0936598778  1500          0.1583005166 
0.9958832330  0.9643181856  0.9969493594  0.9657701711  0.9957356077  0.9679487179  0.9947604790  0.9970059880  0.9764631043  0.9592356688  43.113772455  1.0327583758  2.0936598778  1800          0.1581159314 
0.9962574845  0.9639963024  0.9963392312  0.9682151589  0.9984008529  0.9658119658  0.9955089820  0.9970059880  0.9805979644  0.9579617834  50.299401197  0.9906100599  2.0936598778  2100          0.1588729374 
0.9958832330  0.9626539328  0.9981696156  0.9633251834  0.9962686567  0.9679487179  0.9947604790  0.9970059880  0.9799618321  0.9566878981  57.485029940  0.9672860519  2.0936598778  2400          0.1582178410 
0.9955089815  0.9634004445  0.9981696156  0.9608801956  0.9989339019  0.9700854701  0.9940119760  0.9970059880  0.9821882952  0.9592356688  64.670658682  0.9321746300  2.0936598778  2700          0.1581137697 
0.9958832330  0.9677358266  0.9969493594  0.9731051345  0.9968017058  0.9594017094  0.9947604790  0.9970059880  0.9834605598  0.9707006369  71.856287425  0.9433132621  2.0936598778  3000          0.1578001634 
0.9962574845  0.9610103311  0.9987797437  0.9584352078  0.9994669510  0.9615384615  0.9955089820  0.9970059880  0.9796437659  0.9630573248  79.041916167  0.9203327153  2.0936598778  3300          0.1572543446 
0.9962574845  0.9709888068  0.9975594875  0.9755501222  0.9978678038  0.9743589744  0.9955089820  0.9970059880  0.9828244275  0.9630573248  86.227544910  0.7252746725  5.4008765221  3600          0.1830548763 
0.9955089815  0.9658454323  0.9981696156  0.9682151589  0.9989339019  0.9700854701  0.9940119760  0.9970059880  0.9850508906  0.9592356688  93.413173652  0.5116426493  5.4008765221  3900          0.2028537027 
0.9955089815  0.9688863157  0.9975594875  0.9731051345  0.9989339019  0.9679487179  0.9940119760  0.9970059880  0.9847328244  0.9656050955  100.59880239  0.4774376041  5.4008765221  4200          0.2037496901 
0.9955089815  0.9626402852  0.9993898719  0.9731051345  0.9962686567  0.9594017094  0.9940119760  0.9970059880  0.9840966921  0.9554140127  107.78443113  0.4511327023  5.4008765221  4500          0.2043929243 
0.9951347300  0.9677973074  0.9987797437  0.9706601467  0.9994669510  0.9722222222  0.9932634731  0.9970059880  0.9831424936  0.9605095541  114.97005988  0.4365746379  5.4008765221  4800          0.2057054782 
0.9951347300  0.9674754618  1.0000000000  0.9633251834  0.9968017058  0.9722222222  0.9932634731  0.9970059880  0.9850508906  0.9668789809  119.76047904  0.4316543104  5.4008765221  5000          0.2150861955 
