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: 0
	output_dir: sweep/ablation3/outputs/71ccb1220aba5bb6dd625c8191c741fb
	save_linear_probed_clip: False
	save_model_every_checkpoint: False
	seed: 1444382344
	skip_model_save: False
	steps: 5001
	sweep: True
	task: domain_generalization
	test_envs: [2]
	trial_seed: 2
	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.5
	lambda2: 0.5
	last_k_epoch: 0.25
	lr: 5e-05
	nonlinear_classifier: False
	resnet18: False
	resnet_dropout: 0
	student_model: resnet
	temperature: 3
	weight_decay: 0.0
	worst_case_p: 0.3333333333333333
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.1036676646  0.1774298860  0.1812080537  0.1589242054  0.1364605544  0.1517094017  0.1115269461  0.0958083832  0.2245547074  0.2216560510  0.0000000000  7.0242609978  2.3338298798  0             1.6657855511 
0.9850299396  0.9436076435  0.9816961562  0.9462102689  0.9802771855  0.9508547009  0.9820359281  0.9880239521  0.9643765903  0.9337579618  7.1856287425  2.0059745940  2.5978608131  300           0.1573973068 
0.9895209576  0.9639413903  0.9951189750  0.9731051345  0.9925373134  0.9722222222  0.9910179641  0.9880239521  0.9793256997  0.9464968153  14.371257485  0.8230195234  2.5978608131  600           0.1769571805 
0.9895209576  0.9640783965  0.9945088469  0.9731051345  0.9962686567  0.9700854701  0.9910179641  0.9880239521  0.9847328244  0.9490445860  21.556886227  0.7201353023  2.5978608131  900           0.1769490417 
0.9910179636  0.9657426494  0.9981696156  0.9755501222  0.9968017058  0.9700854701  0.9880239521  0.9940119760  0.9863231552  0.9515923567  28.742514970  0.6744870731  2.5978608131  1200          0.1785376287 
0.9936377241  0.9647085154  0.9987797437  0.9779951100  0.9973347548  0.9658119658  0.9902694611  0.9970059880  0.9917302799  0.9503184713  35.928143712  0.6242095167  2.5978608131  1500          0.1768268911 
0.9936377241  0.9679478857  1.0000000000  0.9804400978  0.9989339019  0.9743589744  0.9902694611  0.9970059880  0.9936386768  0.9490445860  43.113772455  0.6118986150  2.5978608131  1800          0.1772931790 
0.9932634726  0.9720708116  0.9993898719  0.9706601467  0.9978678038  0.9850427350  0.9895209581  0.9970059880  0.9923664122  0.9605095541  50.299401197  0.5949809942  2.5978608131  2100          0.1778304386 
0.9925149696  0.9699818926  0.9987797437  0.9779951100  1.0000000000  0.9829059829  0.9880239521  0.9970059880  0.9926844784  0.9490445860  57.485029940  0.5799519903  2.5978608131  2400          0.1786696490 
0.9921407181  0.9713721708  0.9987797437  0.9706601467  0.9989339019  0.9893162393  0.9872754491  0.9970059880  0.9961832061  0.9541401274  64.670658682  0.5830689232  2.5978608131  2700          0.1768460329 
0.9921407181  0.9705777883  0.9993898719  0.9755501222  1.0000000000  0.9807692308  0.9872754491  0.9970059880  0.9949109415  0.9554140127  71.856287425  0.5555071081  2.5978608131  3000          0.1778675620 
0.9921407181  0.9683382909  0.9993898719  0.9731051345  0.9994669510  0.9764957265  0.9872754491  0.9970059880  0.9955470738  0.9554140127  79.041916167  0.5512533486  2.5978608131  3300          0.1775635942 
0.9921407181  0.9673041570  0.9987797437  0.9755501222  1.0000000000  0.9722222222  0.9872754491  0.9970059880  0.9980916031  0.9541401274  86.227544910  0.5523759595  2.5978608131  3600          0.1751993990 
0.9921407181  0.9713927842  1.0000000000  0.9779951100  1.0000000000  0.9807692308  0.9872754491  0.9970059880  0.9942748092  0.9554140127  93.413173652  0.4513126266  5.3948016167  3900          0.1889881786 
0.9921407181  0.9740569100  0.9975594875  0.9804400978  0.9994669510  0.9850427350  0.9872754491  0.9970059880  0.9968193384  0.9566878981  100.59880239  0.3277881497  5.3948016167  4200          0.2055231754 
0.9925149696  0.9666740381  1.0000000000  0.9706601467  1.0000000000  0.9764957265  0.9880239521  0.9970059880  0.9965012723  0.9528662420  107.78443113  0.3116055185  5.3948016167  4500          0.2041556223 
0.9928892211  0.9643796664  1.0000000000  0.9633251834  1.0000000000  0.9807692308  0.9887724551  0.9970059880  0.9977735369  0.9490445860  114.97005988  0.2970047625  5.3948016167  4800          0.2071945906 
0.9928892211  0.9735159264  1.0000000000  0.9779951100  1.0000000000  0.9807692308  0.9887724551  0.9970059880  0.9990458015  0.9617834395  119.76047904  0.2954359956  5.3948016167  5000          0.2081148875 
