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: [3]
Args:
	algorithm: Selective_KD
	checkpoint_freq: 300
	data_dir: ./domainbed/data
	dataset: VLCS
	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: 2
	output_dir: sweep/ablation3/outputs/8a4b262769177b0c1df9cc347f35156d
	save_linear_probed_clip: False
	save_model_every_checkpoint: False
	seed: 1733405929
	skip_model_save: False
	steps: 5001
	sweep: True
	task: domain_generalization
	test_envs: [3]
	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.7419102898692578
	lambda2: 0.5215383105176172
	last_k_epoch: 0.23762453204831346
	lr: 3e-05
	nonlinear_classifier: False
	resnet18: False
	resnet_dropout: 0
	student_model: resnet
	temperature: 2.9748462276330736
	weight_decay: 1e-06
	worst_case_p: 0.3
using augment transform
using augment transform
using augment transform
using normal 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.3012398699  0.3927844614  0.5768551237  0.5971731449  0.2898823529  0.3220338983  0.2677075400  0.2591463415  0.3047019622  0.2977777778  0.0000000000  4.7294816971  2.1691374779  0             1.6151688099 
0.8248464899  0.8554441686  1.0000000000  1.0000000000  0.7590588235  0.7401129944  0.8937547601  0.8262195122  0.8289522399  0.8207407407  8.4805653710  1.7112479770  2.4361162186  300           0.6399249625 
0.8344750226  0.8591809821  1.0000000000  1.0000000000  0.7915294118  0.7589453861  0.9230769231  0.8185975610  0.8348759719  0.8340740741  16.961130742  1.2634036158  2.4361162186  600           0.6462240394 
0.8326238563  0.8653981593  1.0000000000  1.0000000000  0.8122352941  0.7608286252  0.9417364813  0.8353658537  0.8311736394  0.8340740741  25.441696113  1.1302920097  2.4361162186  900           0.6440447617 
0.8311429233  0.8647407481  1.0000000000  1.0000000000  0.8352941176  0.7664783427  0.9596344250  0.8277439024  0.8282117734  0.8340740741  33.922261484  1.0231022384  2.4361162186  1200          0.6504938054 
0.8335505364  0.8632163579  1.0000000000  1.0000000000  0.8503529412  0.7664783427  0.9680121858  0.8231707317  0.8271010737  0.8400000000  42.402826855  0.9625976415  2.4361162186  1500          0.6234167012 
0.8302176145  0.8690153565  1.0000000000  1.0000000000  0.8720000000  0.7777777778  0.9729626809  0.8292682927  0.8248796742  0.8355555556  50.883392226  0.9366720488  2.4361162186  1800          0.6312982559 
0.8287358587  0.8604661397  1.0000000000  1.0000000000  0.8861176471  0.7551789077  0.9767707540  0.8262195122  0.8263606072  0.8311111111  59.363957597  0.9029762254  2.4361162186  2100          0.6226172749 
0.8281802346  0.8604364748  1.0000000000  1.0000000000  0.8988235294  0.7627118644  0.9851485149  0.8185975610  0.8267308404  0.8296296296  67.844522968  0.9038083170  2.4361162186  2400          0.6134679079 
0.8281799604  0.8597790636  1.0000000000  1.0000000000  0.9058823529  0.7683615819  0.9843869002  0.8109756098  0.8282117734  0.8281481481  76.325088339  0.8877567146  2.4361162186  2700          0.6077433244 
0.8287355845  0.8703005142  1.0000000000  1.0000000000  0.9181176471  0.7740112994  0.9893373953  0.8368902439  0.8278415402  0.8296296296  84.805653710  0.8741988643  2.4361162186  3000          0.5996810548 
0.8272541030  0.8703005142  1.0000000000  1.0000000000  0.9209411765  0.7740112994  0.9908606245  0.8368902439  0.8278415402  0.8266666667  93.286219081  0.8587075402  2.4361162186  3300          0.5900037559 
0.8265136365  0.8633359742  1.0000000000  1.0000000000  0.9303529412  0.7683615819  0.9920030465  0.8216463415  0.8263606072  0.8266666667  101.76678445  0.8644995115  2.4361162186  3600          0.5698747150 
0.8272543773  0.8652488782  1.0000000000  1.0000000000  0.9322352941  0.7664783427  0.9912414318  0.8292682927  0.8263606072  0.8281481481  110.24734982  0.7539944221  5.3990564346  3900          0.5813332621 
0.8296611676  0.8627082278  1.0000000000  1.0000000000  0.9336470588  0.7664783427  0.9939070830  0.8216463415  0.8296927064  0.8296296296  118.72791519  0.4294320635  5.3990564346  4200          0.5676864711 
0.8318828413  0.8582843382  1.0000000000  1.0000000000  0.9392941176  0.7608286252  0.9923838538  0.8140243902  0.8326545724  0.8311111111  127.20848056  0.4133229476  5.3990564346  4500          0.5716616623 
0.8305864765  0.8661455220  1.0000000000  1.0000000000  0.9449411765  0.7645951036  0.9935262757  0.8338414634  0.8330248056  0.8281481481  135.68904593  0.4081527280  5.3990564346  4800          0.5661099346 
0.8307715931  0.8679091449  1.0000000000  1.0000000000  0.9444705882  0.7683615819  0.9920030465  0.8353658537  0.8333950389  0.8281481481  141.34275618  0.4034182957  5.3990564346  5000          0.5602302945 
