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/f6ea1029aa358f76020853cd9b77d479
	save_linear_probed_clip: False
	save_model_every_checkpoint: False
	seed: 733631411
	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.8194577311903198
	lambda2: 0.5954971958468116
	last_k_epoch: 0.2502561813215683
	lr: 3e-05
	nonlinear_classifier: False
	resnet18: False
	resnet_dropout: 0
	student_model: resnet
	temperature: 2.3092434210820203
	weight_decay: 1e-06
	worst_case_p: 0.25
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.1328214621  0.1647733929  0.1360585723  0.1295843521  0.1044776119  0.1346153846  0.1991017964  0.1826347305  0.1822519084  0.1770700637  0.0000000000  8.8661460876  2.0074062347  0             1.9658615589 
0.9090081162  0.9577295077  0.9084807810  0.9095354523  0.9738805970  0.9572649573  0.9977544910  1.0000000000  0.9430661578  0.9159235669  7.1856287425  3.0954269495  2.2544541359  300           0.1472123257 
0.9196943089  0.9625529057  0.9200732154  0.9193154034  0.9877398721  0.9658119658  0.9992514970  0.9970059880  0.9691475827  0.9248407643  14.371257485  1.0586718778  2.2544541359  600           0.1638599173 
0.9230544889  0.9634021626  0.9219035998  0.9242053790  0.9914712154  0.9658119658  1.0000000000  0.9970059880  0.9691475827  0.9273885350  21.556886227  0.9144445692  2.2544541359  900           0.1653322315 
0.9239696811  0.9675095720  0.9237339841  0.9242053790  0.9957356077  0.9636752137  1.0000000000  1.0000000000  0.9755089059  0.9388535032  28.742514970  0.8683324039  2.2544541359  1200          0.1659200144 
0.9236623794  0.9696345832  0.9255643685  0.9217603912  0.9962686567  0.9679487179  1.0000000000  0.9970059880  0.9755089059  0.9439490446  35.928143712  0.8100158891  2.2544541359  1500          0.1659496411 
0.9178594493  0.9749060915  0.9212934716  0.9144254279  0.9957356077  0.9807692308  1.0000000000  1.0000000000  0.9742366412  0.9439490446  43.113772455  0.7839527848  2.2544541359  1800          0.1658853777 
0.9169420195  0.9719200824  0.9219035998  0.9119804401  0.9973347548  0.9743589744  1.0000000000  1.0000000000  0.9812340967  0.9414012739  50.299401197  0.7523608930  2.2544541359  2100          0.1672686299 
0.9157195256  0.9692216957  0.9219035998  0.9095354523  0.9978678038  0.9700854701  0.9992514970  1.0000000000  0.9815521628  0.9375796178  57.485029940  0.7443341247  2.2544541359  2400          0.1679408105 
0.9163296537  0.9709202095  0.9231238560  0.9095354523  0.9973347548  0.9700854701  1.0000000000  1.0000000000  0.9831424936  0.9426751592  64.670658682  0.7069165532  2.2544541359  2700          0.1685228078 
0.9203021994  0.9714837131  0.9237339841  0.9168704156  0.9968017058  0.9722222222  1.0000000000  0.9970059880  0.9844147583  0.9452229299  71.856287425  0.7039498207  2.2544541359  3000          0.1674727201 
0.9196898337  0.9666640530  0.9249542404  0.9144254279  0.9978678038  0.9722222222  0.9992514970  0.9940119760  0.9825063613  0.9337579618  79.041916167  0.6923920366  2.2544541359  3300          0.1684890310 
0.9196898337  0.9716324602  0.9249542404  0.9144254279  1.0000000000  0.9722222222  1.0000000000  1.0000000000  0.9837786260  0.9426751592  86.227544910  0.6830130040  2.2544541359  3600          0.1665943066 
0.9209123276  0.9740568346  0.9249542404  0.9168704156  0.9962686567  0.9807692308  1.0000000000  1.0000000000  0.9853689567  0.9414012739  93.413173652  0.5259339084  5.3987078667  3900          0.1863902736 
0.9212173916  0.9717694664  0.9255643685  0.9168704156  0.9994669510  0.9700854701  1.0000000000  1.0000000000  0.9860050891  0.9452229299  100.59880239  0.3259833872  5.3987078667  4200          0.2045032048 
0.9224398855  0.9739062185  0.9255643685  0.9193154034  0.9989339019  0.9764957265  1.0000000000  1.0000000000  0.9860050891  0.9452229299  107.78443113  0.3053255699  5.3987078667  4500          0.2030683605 
0.9193847696  0.9689359424  0.9243441123  0.9144254279  0.9973347548  0.9722222222  0.9992514970  0.9970059880  0.9853689567  0.9375796178  114.97005988  0.2901608180  5.3987078667  4800          0.2022230323 
0.9203021994  0.9693741807  0.9237339841  0.9168704156  0.9978678038  0.9786324786  1.0000000000  0.9970059880  0.9872773537  0.9324840764  119.76047904  0.2894127411  5.3987078667  5000          0.2004117525 
