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: 4
	output_dir: sweep/ablation3/outputs/da6b932deb2dab7bf778545c25e6b264
	save_linear_probed_clip: False
	save_model_every_checkpoint: False
	seed: 687035495
	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.5122476832929141
	lambda2: 0.9892716333303577
	last_k_epoch: 0.2899069879248226
	lr: 3e-05
	nonlinear_classifier: False
	resnet18: False
	resnet_dropout: 0
	student_model: resnet
	temperature: 2.19589595208549
	weight_decay: 0.0001
	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.0757207791  0.1764595638  0.0805369128  0.0709046455  0.2126865672  0.2072649573  0.0860778443  0.0928143713  0.2277353690  0.2292993631  0.0000000000  9.4864768982  2.1691875458  0             1.4350771904 
0.8940465513  0.9535930096  0.8932275778  0.8948655257  0.9754797441  0.9423076923  0.9985029940  1.0000000000  0.9541984733  0.9184713376  7.1856287425  2.9400466367  2.4361939430  300           0.1554453182 
0.9206206893  0.9623905488  0.9097010372  0.9315403423  0.9866737740  0.9594017094  1.0000000000  0.9940119760  0.9697837150  0.9337579618  14.371257485  1.0144247071  2.4361939430  600           0.1755288911 
0.9276416380  0.9724817171  0.9188529591  0.9364303178  0.9909381663  0.9722222222  0.9985029940  1.0000000000  0.9739185751  0.9452229299  21.556886227  0.8609849713  2.4361939430  900           0.1742702858 
0.9297815617  0.9652376826  0.9182428310  0.9413202934  0.9946695096  0.9636752137  0.9992514970  0.9970059880  0.9774173028  0.9350318471  28.742514970  0.7822708972  2.4361939430  1200          0.1744550037 
0.9316119461  0.9660869395  0.9219035998  0.9413202934  0.9930703625  0.9636752137  1.0000000000  0.9970059880  0.9809160305  0.9375796178  35.928143712  0.7458788627  2.4361939430  1500          0.1727702602 
0.9319192478  0.9687853263  0.9200732154  0.9437652812  0.9973347548  0.9679487179  1.0000000000  0.9970059880  0.9840966921  0.9414012739  43.113772455  0.7204085265  2.4361939430  1800          0.1734668183 
0.9337518698  0.9675095720  0.9212934716  0.9462102689  0.9973347548  0.9636752137  1.0000000000  1.0000000000  0.9853689567  0.9388535032  50.299401197  0.6945532039  2.4361939430  2100          0.1726770139 
0.9337496322  0.9667991902  0.9237339841  0.9437652812  0.9978678038  0.9658119658  1.0000000000  0.9970059880  0.9860050891  0.9375796178  57.485029940  0.6764602360  2.4361939430  2400          0.1723646347 
0.9319170102  0.9646741790  0.9225137279  0.9413202934  0.9978678038  0.9615384615  1.0000000000  1.0000000000  0.9895038168  0.9324840764  64.670658682  0.6435479016  2.4361939430  2700          0.1737689885 
0.9319170102  0.9682236917  0.9225137279  0.9413202934  0.9978678038  0.9700854701  1.0000000000  0.9970059880  0.9882315522  0.9375796178  71.856287425  0.6196831887  2.4361939430  3000          0.1720355511 
0.9313046444  0.9701962178  0.9237339841  0.9388753056  0.9989339019  0.9658119658  0.9992514970  0.9970059880  0.9875954198  0.9477707006  79.041916167  0.6154769616  2.4361939430  3300          0.1724712213 
0.9291647207  0.9699123335  0.9243441123  0.9339853301  1.0000000000  0.9722222222  1.0000000000  0.9910179641  0.9907760814  0.9464968153  86.227544910  0.5690441291  5.3954119682  3600          0.1772993509 
0.9273298611  0.9714818441  0.9255643685  0.9290953545  0.9978678038  0.9679487179  1.0000000000  1.0000000000  0.9879134860  0.9464968153  93.413173652  0.3418599679  5.3954119682  3900          0.2076632849 
0.9254972390  0.9685094449  0.9243441123  0.9266503667  0.9978678038  0.9679487179  1.0000000000  1.0000000000  0.9923664122  0.9375796178  100.59880239  0.3109421131  5.3954119682  4200          0.2059318407 
0.9258023031  0.9737574714  0.9249542404  0.9266503667  0.9989339019  0.9764957265  0.9992514970  0.9970059880  0.9888676845  0.9477707006  107.78443113  0.2943067037  5.3954119682  4500          0.2058835077 
0.9264146689  0.9687970672  0.9237339841  0.9290953545  0.9994669510  0.9700854701  1.0000000000  1.0000000000  0.9923664122  0.9363057325  114.97005988  0.2836765921  5.3954119682  4800          0.2055062509 
0.9264146689  0.9672238187  0.9237339841  0.9290953545  0.9989339019  0.9658119658  1.0000000000  0.9970059880  0.9904580153  0.9388535032  119.76047904  0.2762951634  5.3954119682  5000          0.2123862672 
