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: 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/6efd2ce2d75d8edfd2c39ec3bfb38147
	save_linear_probed_clip: False
	save_model_every_checkpoint: False
	seed: 1314543201
	skip_model_save: False
	steps: 5001
	sweep: True
	task: domain_generalization
	test_envs: [3]
	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.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 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.0529904296  0.0760331780  0.0799267846  0.0904645477  0.0970149254  0.1047008547  0.0232035928  0.0329341317  0.0550254453  0.0509554140  0.0000000000  6.4126873016  2.3338298798  0             1.3800859451 
0.7944004145  0.9680107840  0.9798657718  0.9608801956  0.9840085288  0.9551282051  1.0000000000  0.9880239521  0.7913486005  0.7974522293  7.1856287425  1.7748969462  2.5990204811  300           0.1573210398 
0.7789620505  0.9665793168  0.9938987187  0.9437652812  0.9930703625  0.9679487179  1.0000000000  0.9880239521  0.7795801527  0.7783439490  14.371257485  0.6329961355  2.5990204811  600           0.1752410388 
0.7942389503  0.9703460607  0.9963392312  0.9486552567  0.9968017058  0.9743589744  1.0000000000  0.9880239521  0.7948473282  0.7936305732  21.556886227  0.5378725878  2.5990204811  900           0.1742614683 
0.7963071907  0.9697140729  0.9981696156  0.9437652812  0.9978678038  0.9743589744  0.9992514970  0.9910179641  0.7977099237  0.7949044586  28.742514970  0.5097704785  2.5990204811  1200          0.1736583161 
0.8007641687  0.9723645511  0.9963392312  0.9559902200  0.9989339019  0.9700854701  1.0000000000  0.9910179641  0.8002544529  0.8012738854  35.928143712  0.4784947495  2.5990204811  1500          0.1719944231 
0.8028307884  0.9737890525  0.9987797437  0.9559902200  0.9989339019  0.9743589744  1.0000000000  0.9910179641  0.8056615776  0.8000000000  43.113772455  0.4576896162  2.5990204811  1800          0.1713000051 
0.8052179053  0.9738917977  0.9987797437  0.9584352078  0.9984008529  0.9722222222  1.0000000000  0.9910179641  0.8078880407  0.8025477707  50.299401197  0.4573847213  2.5990204811  2100          0.1712620600 
0.8072877664  0.9726883033  0.9993898719  0.9535452323  0.9984008529  0.9764957265  1.0000000000  0.9880239521  0.8082061069  0.8063694268  57.485029940  0.4376906237  2.5990204811  2400          0.1720772592 
0.8096740729  0.9762115579  0.9987797437  0.9559902200  0.9989339019  0.9786324786  1.0000000000  0.9940119760  0.8117048346  0.8076433121  64.670658682  0.4251798932  2.5990204811  2700          0.1720800742 
0.8109479583  0.9703460607  0.9993898719  0.9486552567  0.9994669510  0.9743589744  1.0000000000  0.9880239521  0.8117048346  0.8101910828  71.856287425  0.4209652657  2.5990204811  3000          0.1719321314 
0.8117431237  0.9728135309  1.0000000000  0.9633251834  0.9989339019  0.9700854701  1.0000000000  0.9850299401  0.8132951654  0.8101910828  79.041916167  0.4094066154  2.5990204811  3300          0.1726324956 
0.8106282714  0.9787592909  0.9993898719  0.9657701711  1.0000000000  0.9764957265  1.0000000000  0.9940119760  0.8136132316  0.8076433121  86.227544910  0.4185317874  2.5990204811  3600          0.1731772963 
0.8131744214  0.9813872867  1.0000000000  0.9706601467  1.0000000000  0.9764957265  1.0000000000  0.9970059880  0.8161577608  0.8101910828  93.413173652  0.3501924088  5.3941302299  3900          0.1877645580 
0.8142884633  0.9796545497  1.0000000000  0.9633251834  1.0000000000  0.9786324786  1.0000000000  0.9970059880  0.8171119593  0.8114649682  100.59880239  0.2645879016  5.3941302299  4200          0.2026325846 
0.8152434721  0.9794715416  0.9993898719  0.9657701711  0.9994669510  0.9786324786  0.9992514970  0.9940119760  0.8177480916  0.8127388535  107.78443113  0.2469495859  5.3941302299  4500          0.2028954124 
0.8152434721  0.9776585417  0.9993898719  0.9633251834  0.9994669510  0.9786324786  1.0000000000  0.9910179641  0.8177480916  0.8127388535  114.97005988  0.2321636564  5.3941302299  4800          0.2035880113 
0.8160386375  0.9777612869  1.0000000000  0.9657701711  1.0000000000  0.9764957265  1.0000000000  0.9910179641  0.8193384224  0.8127388535  119.76047904  0.2267706311  5.3941302299  5000          0.2039281869 
