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: [1]
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/cc811f5e4cbe88c6ebda9fc58c8a67f2
	save_linear_probed_clip: False
	save_model_every_checkpoint: False
	seed: 319686531
	skip_model_save: False
	steps: 5001
	sweep: True
	task: domain_generalization
	test_envs: [1]
	trial_seed: 0
	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 normal 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.1341985129  0.1302640883  0.1452104942  0.1344743276  0.1401918977  0.1282051282  0.1070359281  0.0958083832  0.1609414758  0.1605095541  0.0000000000  6.3855772018  2.3338298798  0             1.4537644386 
0.8161778102  0.9558026827  0.9810860281  0.9388753056  0.8075692964  0.8247863248  0.9970059880  0.9820359281  0.9545165394  0.9464968153  7.1856287425  1.7848800401  2.5990204811  300           0.1577097535 
0.8508624456  0.9710099304  0.9938987187  0.9657701711  0.8427505330  0.8589743590  1.0000000000  0.9880239521  0.9805979644  0.9592356688  14.371257485  0.7653708487  2.5990204811  600           0.1770703157 
0.8599356692  0.9757826813  0.9975594875  0.9706601467  0.8502132196  0.8696581197  1.0000000000  1.0000000000  0.9818702290  0.9566878981  21.556886227  0.6883713655  2.5990204811  900           0.1765846157 
0.8652752716  0.9775154560  0.9981696156  0.9682151589  0.8523454158  0.8782051282  0.9992514970  1.0000000000  0.9856870229  0.9643312102  28.742514970  0.6210245363  2.5990204811  1200          0.1777773746 
0.8684781218  0.9775398074  0.9975594875  0.9755501222  0.8544776119  0.8824786325  1.0000000000  0.9940119760  0.9898218830  0.9630573248  35.928143712  0.6025522746  2.5990204811  1500          0.1774111199 
0.8674097457  0.9807294756  0.9969493594  0.9706601467  0.8544776119  0.8803418803  1.0000000000  0.9970059880  0.9891857506  0.9745222930  43.113772455  0.5739317995  2.5990204811  1800          0.1779917836 
0.8698107444  0.9783548033  0.9987797437  0.9779951100  0.8571428571  0.8824786325  0.9992514970  0.9940119760  0.9904580153  0.9630573248  50.299401197  0.5473079454  2.5990204811  2100          0.1770861578 
0.8706125959  0.9762415707  1.0000000000  0.9682151589  0.8566098081  0.8846153846  1.0000000000  1.0000000000  0.9926844784  0.9605095541  57.485029940  0.5530228143  2.5990204811  2400          0.1779598943 
0.8690111708  0.9782159659  0.9987797437  0.9682151589  0.8555437100  0.8824786325  1.0000000000  0.9970059880  0.9923664122  0.9694267516  64.670658682  0.5489384892  2.5990204811  2700          0.1779996522 
0.8679427947  0.9812929415  1.0000000000  0.9804400978  0.8555437100  0.8803418803  1.0000000000  0.9940119760  0.9949109415  0.9694267516  71.856287425  0.5216808333  2.5990204811  3000          0.1763607915 
0.8682070413  0.9787794318  0.9993898719  0.9779951100  0.8582089552  0.8782051282  1.0000000000  0.9940119760  0.9961832061  0.9643312102  79.041916167  0.5186082261  2.5990204811  3300          0.1752151052 
0.8692731394  0.9787794318  1.0000000000  0.9779951100  0.8603411514  0.8782051282  1.0000000000  0.9940119760  0.9955470738  0.9643312102  86.227544910  0.5013499662  2.5990204811  3600          0.1745881001 
0.8703392374  0.9781817049  1.0000000000  0.9706601467  0.8624733475  0.8782051282  1.0000000000  0.9970059880  0.9961832061  0.9668789809  93.413173652  0.4038869755  5.3941302299  3900          0.1901279449 
0.8700727129  0.9790553131  1.0000000000  0.9779951100  0.8619402985  0.8782051282  1.0000000000  0.9910179641  0.9971374046  0.9681528662  100.59880239  0.2880961985  5.3941302299  4200          0.2042872540 
0.8684712878  0.9816589576  1.0000000000  0.9755501222  0.8608742004  0.8760683761  1.0000000000  1.0000000000  0.9942748092  0.9694267516  107.78443113  0.2712902763  5.3941302299  4500          0.2044928066 
0.8692731394  0.9766103253  1.0000000000  0.9706601467  0.8603411514  0.8782051282  1.0000000000  0.9910179641  0.9968193384  0.9681528662  114.97005988  0.2578533326  5.3941302299  4800          0.2071555901 
0.8698061884  0.9750389458  1.0000000000  0.9706601467  0.8614072495  0.8782051282  1.0000000000  0.9850299401  0.9968193384  0.9694267516  119.76047904  0.2557949924  5.3941302299  5000          0.2122484171 
