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: 0
	output_dir: sweep/ablation3/outputs/7c31ed1386f376aec20d73ea248e4bcb
	save_linear_probed_clip: False
	save_model_every_checkpoint: False
	seed: 1689776998
	skip_model_save: False
	steps: 5001
	sweep: True
	task: domain_generalization
	test_envs: [0]
	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 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.1053567459  0.1606530419  0.0909090909  0.1198044010  0.1593816631  0.1623931624  0.1264970060  0.0928143713  0.2506361323  0.2267515924  0.0000000000  6.6199507713  2.3338298798  0             2.3483045101 
0.9279556526  0.9599779153  0.9097010372  0.9462102689  0.9818763326  0.9529914530  0.9992514970  0.9970059880  0.9701017812  0.9299363057  7.1856287425  1.8245928184  2.5978608131  300           0.1591033316 
0.9322220742  0.9670868125  0.9231238560  0.9413202934  0.9941364606  0.9679487179  1.0000000000  0.9970059880  0.9793256997  0.9363057325  14.371257485  0.7156427576  2.5978608131  600           0.1806241616 
0.9383278308  0.9702098277  0.9304453935  0.9462102689  0.9978678038  0.9722222222  1.0000000000  0.9970059880  0.9847328244  0.9414012739  21.556886227  0.6295480958  2.5978608131  900           0.1808727392 
0.9383233555  0.9723447109  0.9353264185  0.9413202934  0.9973347548  0.9743589744  0.9992514970  1.0000000000  0.9907760814  0.9426751592  28.742514970  0.5797910478  2.5978608131  1200          0.1812183849 
0.9407683433  0.9724835860  0.9353264185  0.9462102689  0.9973347548  0.9764957265  0.9992514970  0.9970059880  0.9888676845  0.9439490446  35.928143712  0.5536133432  2.5978608131  1500          0.1809931986 
0.9410734073  0.9747554754  0.9359365467  0.9462102689  0.9984008529  0.9764957265  1.0000000000  1.0000000000  0.9936386768  0.9477707006  43.113772455  0.5343129105  2.5978608131  1800          0.1801176635 
0.9422936636  0.9750294878  0.9383770592  0.9462102689  0.9994669510  0.9722222222  1.0000000000  1.0000000000  0.9939567430  0.9528662420  50.299401197  0.5067571931  2.5978608131  2100          0.1806098930 
0.9413762338  0.9710572156  0.9389871873  0.9437652812  1.0000000000  0.9679487179  1.0000000000  1.0000000000  0.9949109415  0.9452229299  57.485029940  0.5045480165  2.5978608131  2400          0.1812932793 
0.9386261819  0.9731977057  0.9383770592  0.9388753056  1.0000000000  0.9829059829  1.0000000000  0.9940119760  0.9942748092  0.9426751592  64.670658682  0.4893752880  2.5978608131  2700          0.1825860294 
0.9374059257  0.9743308469  0.9359365467  0.9388753056  1.0000000000  0.9764957265  1.0000000000  1.0000000000  0.9955470738  0.9464968153  71.856287425  0.4693560416  2.5978608131  3000          0.1813610013 
0.9371008616  0.9770174928  0.9353264185  0.9388753056  0.9994669510  0.9786324786  1.0000000000  0.9970059880  0.9968193384  0.9554140127  79.041916167  0.4589328134  2.5978608131  3300          0.1816983406 
0.9374059257  0.9763169830  0.9359365467  0.9388753056  0.9984008529  0.9786324786  1.0000000000  1.0000000000  0.9968193384  0.9503184713  86.227544910  0.4536505374  2.5978608131  3600          0.1813316909 
0.9377132274  0.9774538622  0.9341061623  0.9413202934  1.0000000000  0.9807692308  1.0000000000  1.0000000000  0.9980916031  0.9515923567  93.413173652  0.3739640211  5.3944354057  3900          0.1948424339 
0.9386284196  0.9766046053  0.9359365467  0.9413202934  1.0000000000  0.9807692308  1.0000000000  1.0000000000  0.9961832061  0.9490445860  100.59880239  0.2638268281  5.3944354057  4200          0.2091994238 
0.9380182914  0.9773168560  0.9347162904  0.9413202934  0.9994669510  0.9829059829  1.0000000000  1.0000000000  0.9977735369  0.9490445860  107.78443113  0.2442531290  5.3944354057  4500          0.2093728280 
0.9386284196  0.9758923545  0.9359365467  0.9413202934  0.9994669510  0.9786324786  1.0000000000  1.0000000000  0.9971374046  0.9490445860  114.97005988  0.2356335960  5.3944354057  4800          0.2100481558 
0.9404610416  0.9717595944  0.9371568029  0.9437652812  0.9989339019  0.9722222222  1.0000000000  0.9940119760  0.9965012723  0.9490445860  119.76047904  0.2273175836  5.3944354057  5000          0.2125218880 
