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/531ecdb762481d5abce7f0a037d0cf1f
	save_linear_probed_clip: False
	save_model_every_checkpoint: False
	seed: 1550879342
	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.6171767606394463
	lambda2: 0.5293911814442921
	last_k_epoch: 0.3102645027326114
	lr: 5e-05
	nonlinear_classifier: False
	resnet18: False
	resnet_dropout: 0
	student_model: resnet
	temperature: 2.022572617872769
	weight_decay: 0.0001
	worst_case_p: 0.2
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.0851911908  0.1175079423  0.0848078096  0.0855745721  0.1268656716  0.1111111111  0.1055389222  0.0898203593  0.1790712468  0.1515923567  0.0000000000  7.0819845200  1.7945718765  0             1.6117210388 
0.9215314062  0.9576745412  0.9164124466  0.9266503667  0.9770788913  0.9551282051  0.9940119760  0.9790419162  0.9522900763  0.9388535032  7.1856287425  2.4137914685  2.0936598778  300           0.1446851397 
0.9123682962  0.9723212291  0.9103111653  0.9144254279  0.9952025586  0.9700854701  1.0000000000  0.9940119760  0.9748727735  0.9528662420  14.371257485  0.9536420914  2.0936598778  600           0.1649096759 
0.9181689886  0.9770020139  0.9170225747  0.9193154034  0.9936034115  0.9679487179  1.0000000000  1.0000000000  0.9812340967  0.9630573248  21.556886227  0.8137038246  2.0936598778  900           0.1633206224 
0.9224398855  0.9752917592  0.9255643685  0.9193154034  0.9968017058  0.9658119658  1.0000000000  0.9970059880  0.9831424936  0.9630573248  28.742514970  0.7748163231  2.0936598778  1200          0.1637162407 
0.9264124312  0.9756947749  0.9261744966  0.9266503667  0.9984008529  0.9658119658  1.0000000000  0.9880239521  0.9885496183  0.9732484076  35.928143712  0.7326273054  2.0936598778  1500          0.1642439222 
0.9245798092  0.9785672595  0.9249542404  0.9242053790  0.9973347548  0.9786324786  1.0000000000  0.9940119760  0.9866412214  0.9630573248  43.113772455  0.7465704966  2.0936598778  1800          0.1636117029 
0.9248848733  0.9792659003  0.9255643685  0.9242053790  0.9989339019  0.9743589744  1.0000000000  0.9940119760  0.9901399491  0.9694267516  50.299401197  0.7111684065  2.0936598778  2100          0.1628005274 
0.9187746415  0.9772915052  0.9231238560  0.9144254279  0.9994669510  0.9743589744  1.0000000000  0.9970059880  0.9895038168  0.9605095541  57.485029940  0.6910165345  2.0936598778  2400          0.1632367492 
0.9209145652  0.9754306344  0.9225137279  0.9193154034  0.9994669510  0.9679487179  1.0000000000  0.9940119760  0.9898218830  0.9643312102  64.670658682  0.6786396508  2.0936598778  2700          0.1633750089 
0.9175543852  0.9801405080  0.9206833435  0.9144254279  0.9989339019  0.9829059829  1.0000000000  0.9970059880  0.9904580153  0.9605095541  71.856287425  0.6698667232  2.0936598778  3000          0.1631380057 
0.9172493212  0.9792912511  0.9200732154  0.9144254279  0.9984008529  0.9829059829  1.0000000000  0.9970059880  0.9942748092  0.9579617834  79.041916167  0.6562441854  2.0936598778  3300          0.1643546700 
0.9138891412  0.9720218659  0.9182428310  0.9095354523  0.9994669510  0.9658119658  1.0000000000  0.9910179641  0.9939567430  0.9592356688  86.227544910  0.4758859007  5.3996806145  3600          0.1860348161 
0.9157217632  0.9778550088  0.9194630872  0.9119804401  0.9989339019  0.9764957265  1.0000000000  0.9940119760  0.9945928753  0.9630573248  93.413173652  0.2681090812  5.3996806145  3900          0.2062215130 
0.9172470835  0.9822617813  0.9225137279  0.9119804401  1.0000000000  0.9786324786  1.0000000000  1.0000000000  0.9949109415  0.9681528662  100.59880239  0.2511685060  5.3996806145  4200          0.2056903903 
0.9178572117  0.9801287671  0.9237339841  0.9119804401  1.0000000000  0.9807692308  1.0000000000  0.9940119760  0.9942748092  0.9656050955  107.78443113  0.2379807130  5.3996806145  4500          0.2055341204 
0.9193847696  0.9788530128  0.9243441123  0.9144254279  0.9989339019  0.9764957265  1.0000000000  0.9970059880  0.9949109415  0.9630573248  114.97005988  0.2339748143  5.3996806145  4800          0.2064420478 
0.9203021994  0.9782932471  0.9237339841  0.9168704156  1.0000000000  0.9829059829  1.0000000000  0.9940119760  0.9958651399  0.9579617834  119.76047904  0.2279952767  5.3996806145  5000          0.2087836242 
