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: 2
	output_dir: sweep/ablation3/outputs/90198a6c422ae3a11d7ea2ba8c4d75f6
	save_linear_probed_clip: False
	save_model_every_checkpoint: False
	seed: 846744115
	skip_model_save: False
	steps: 5001
	sweep: True
	task: domain_generalization
	test_envs: [0]
	trial_seed: 1
	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.5439617198173775
	lambda2: 0.5509403872292429
	last_k_epoch: 0.38252238504986713
	lr: 5e-05
	nonlinear_classifier: False
	resnet18: False
	resnet_dropout: 0
	student_model: resnet
	temperature: 4.920147743151585
	weight_decay: 1e-06
	worst_case_p: 0.3
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.1630608442  0.1348016471  0.1549725442  0.1711491443  0.0932835821  0.0811965812  0.2148203593  0.1856287425  0.1529898219  0.1375796178  0.0000000000  7.7179479599  2.1691875458  0             1.5957384109 
0.9145037446  0.9662140738  0.9145820622  0.9144254279  0.9792110874  0.9636752137  0.9977544910  0.9910179641  0.9608778626  0.9439490446  7.1856287425  2.1141953137  2.4361939430  300           0.1512982496 
0.9215246933  0.9694877051  0.9237339841  0.9193154034  0.9925373134  0.9722222222  1.0000000000  0.9910179641  0.9802798982  0.9452229299  14.371257485  0.8353388111  2.4361939430  600           0.1711950382 
0.9212173916  0.9677737124  0.9255643685  0.9168704156  0.9989339019  0.9615384615  0.9992514970  0.9940119760  0.9847328244  0.9477707006  21.556886227  0.7144614370  2.4361939430  900           0.1709056155 
0.9233550777  0.9752936282  0.9273947529  0.9193154034  0.9994669510  0.9700854701  1.0000000000  0.9940119760  0.9888676845  0.9617834395  28.742514970  0.6781637369  2.4361939430  1200          0.1705826044 
0.9221325838  0.9777278745  0.9273947529  0.9168704156  0.9989339019  0.9764957265  1.0000000000  1.0000000000  0.9907760814  0.9566878981  35.928143712  0.6181170190  2.4361939430  1500          0.1707457662 
0.9233550777  0.9775908683  0.9273947529  0.9193154034  0.9994669510  0.9786324786  1.0000000000  1.0000000000  0.9869592875  0.9541401274  43.113772455  0.5992044460  2.4361939430  1800          0.1718798780 
0.9212129164  0.9770193618  0.9304453935  0.9119804401  0.9989339019  0.9829059829  1.0000000000  0.9940119760  0.9923664122  0.9541401274  50.299401197  0.5811334241  2.4361939430  2100          0.1716604869 
0.9196875960  0.9750177469  0.9273947529  0.9119804401  0.9989339019  0.9700854701  1.0000000000  0.9970059880  0.9945928753  0.9579617834  57.485029940  0.5520586171  2.4361939430  2400          0.1709882140 
0.9206027882  0.9753053691  0.9292251373  0.9119804401  0.9989339019  0.9722222222  1.0000000000  0.9970059880  0.9942748092  0.9566878981  64.670658682  0.5684221651  2.4361939430  2700          0.1720551642 
0.9212151540  0.9789918880  0.9280048810  0.9144254279  1.0000000000  0.9786324786  1.0000000000  0.9940119760  0.9942748092  0.9643312102  71.856287425  0.5437188765  2.4361939430  3000          0.1720530097 
0.9209123276  0.9761546260  0.9249542404  0.9168704156  1.0000000000  0.9722222222  1.0000000000  0.9970059880  0.9961832061  0.9592356688  79.041916167  0.4256933650  5.3991427422  3300          0.1961430033 
0.9212173916  0.9760040099  0.9255643685  0.9168704156  1.0000000000  0.9679487179  1.0000000000  0.9970059880  0.9949109415  0.9630573248  86.227544910  0.3370271358  5.3991427422  3600          0.2059224494 
0.9236601418  0.9745931184  0.9280048810  0.9193154034  0.9984008529  0.9700854701  0.9992514970  0.9970059880  0.9961832061  0.9566878981  93.413173652  0.3083851732  5.3991427422  3900          0.2052488486 
0.9209100899  0.9787160066  0.9273947529  0.9144254279  0.9994669510  0.9786324786  1.0000000000  0.9970059880  0.9974554707  0.9605095541  100.59880239  0.2870087003  5.3991427422  4200          0.2053947671 
0.9206050259  0.9761663669  0.9267846248  0.9144254279  0.9994669510  0.9743589744  1.0000000000  1.0000000000  0.9952290076  0.9541401274  107.78443113  0.2750722874  5.3991427422  4500          0.2053567123 
0.9196875960  0.9779938840  0.9273947529  0.9119804401  1.0000000000  0.9786324786  1.0000000000  0.9910179641  0.9961832061  0.9643312102  114.97005988  0.2656905521  5.3991427422  4800          0.2096274487 
0.9181600381  0.9785672595  0.9267846248  0.9095354523  1.0000000000  0.9786324786  1.0000000000  0.9940119760  0.9961832061  0.9630573248  119.76047904  0.2592007585  5.3991427422  5000          0.2135513616 
