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: 1
	output_dir: sweep/ablation3/outputs/6efe4aede8649fb0a90b771562a6345e
	save_linear_probed_clip: False
	save_model_every_checkpoint: False
	seed: 32384709
	skip_model_save: False
	steps: 5001
	sweep: True
	task: domain_generalization
	test_envs: [1]
	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.7819049321936025
	lambda2: 0.9075316444347157
	last_k_epoch: 0.25491468830584113
	lr: 5e-05
	nonlinear_classifier: False
	resnet18: False
	resnet_dropout: 0
	student_model: resnet
	temperature: 2.907263233121133
	weight_decay: 1e-06
	worst_case_p: 0.25
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.1358067719  0.1343688932  0.0835875534  0.0733496333  0.1348614072  0.1367521368  0.0755988024  0.0928143713  0.2124681934  0.2369426752  0.0000000000  9.7529888153  2.0074062347  0             1.5379343033 
0.8428507641  0.9430052169  0.9762050031  0.9339853301  0.8416844350  0.8440170940  1.0000000000  0.9880239521  0.9344783715  0.9070063694  7.1856287425  2.8784113550  2.2544541359  300           0.1486197996 
0.8497781236  0.9658900376  0.9920683344  0.9584352078  0.8576759062  0.8418803419  1.0000000000  0.9940119760  0.9646946565  0.9452229299  14.371257485  1.2593300998  2.2544541359  600           0.1696924829 
0.8524433688  0.9655339311  0.9926784625  0.9535452323  0.8630063966  0.8418803419  0.9992514970  0.9940119760  0.9701017812  0.9490445860  21.556886227  1.1291209618  2.2544541359  900           0.1687997858 
0.8583182982  0.9719150611  0.9932885906  0.9633251834  0.8640724947  0.8525641026  1.0000000000  0.9970059880  0.9745547074  0.9554140127  28.742514970  1.0432894413  2.2544541359  1200          0.1673862799 
0.8612546239  0.9691040571  0.9963392312  0.9608801956  0.8656716418  0.8568376068  0.9985029940  0.9910179641  0.9726463104  0.9554140127  35.928143712  0.9662953800  2.2544541359  1500          0.1677530766 
0.8652570477  0.9675885514  0.9975594875  0.9584352078  0.8694029851  0.8611111111  0.9992514970  0.9940119760  0.9809160305  0.9503184713  43.113772455  0.9588656280  2.2544541359  1800          0.1670315909 
0.8689952249  0.9669565636  0.9969493594  0.9535452323  0.8704690832  0.8675213675  1.0000000000  0.9970059880  0.9783715013  0.9503184713  50.299401197  0.9247453632  2.2544541359  2100          0.1670595686 
0.8673937998  0.9702508082  0.9987797437  0.9608801956  0.8694029851  0.8653846154  0.9992514970  0.9970059880  0.9805979644  0.9528662420  57.485029940  0.9062438500  2.2544541359  2400          0.1684701141 
0.8679291268  0.9675885514  0.9987797437  0.9584352078  0.8683368870  0.8675213675  0.9992514970  0.9940119760  0.9815521628  0.9503184713  64.670658682  0.8906737618  2.2544541359  2700          0.1662431884 
0.8676626023  0.9710901555  0.9993898719  0.9706601467  0.8678038380  0.8675213675  1.0000000000  0.9910179641  0.9860050891  0.9515923567  71.856287425  0.8399439510  2.2544541359  3000          0.1691639026 
0.8676603243  0.9677959108  0.9993898719  0.9633251834  0.8699360341  0.8653846154  1.0000000000  0.9910179641  0.9837786260  0.9490445860  79.041916167  0.8707078966  2.2544541359  3300          0.1684339380 
0.8647239986  0.9761171749  0.9987797437  0.9755501222  0.8683368870  0.8611111111  1.0000000000  0.9910179641  0.9825063613  0.9617834395  86.227544910  0.8248731178  2.2544541359  3600          0.1660151609 
0.8689952249  0.9724424724  0.9987797437  0.9559902200  0.8704690832  0.8675213675  1.0000000000  0.9970059880  0.9853689567  0.9643312102  93.413173652  0.6504723424  5.3972430229  3900          0.1880522291 
0.8676603243  0.9714102075  0.9993898719  0.9584352078  0.8699360341  0.8653846154  1.0000000000  0.9940119760  0.9872773537  0.9617834395  100.59880239  0.4552608796  5.3972430229  4200          0.2045010789 
0.8673937998  0.9782619300  0.9981696156  0.9755501222  0.8694029851  0.8653846154  1.0000000000  1.0000000000  0.9860050891  0.9592356688  107.78443113  0.4191285876  5.3972430229  4500          0.2049064922 
0.8671272753  0.9691139668  0.9993898719  0.9511002445  0.8688699360  0.8653846154  1.0000000000  0.9970059880  0.9847328244  0.9592356688  114.97005988  0.3929188827  5.3972430229  4800          0.2044989443 
0.8668607508  0.9719493220  1.0000000000  0.9608801956  0.8683368870  0.8653846154  1.0000000000  0.9970059880  0.9875954198  0.9579617834  119.76047904  0.3880217569  5.3972430229  5000          0.2081635857 
