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: VLCS
	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/5dbb80991b35b90a95fe0a7534e1ac38
	save_linear_probed_clip: False
	save_model_every_checkpoint: False
	seed: 960078540
	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.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 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.2344007020  0.1848381372  0.2049469965  0.1802120141  0.2305882353  0.2203389831  0.1751713633  0.1539634146  0.2362088116  0.2325925926  0.0000000000  3.2384891510  1.7945408821  0             1.5616135597 
0.8018881892  0.8440854038  0.9982332155  1.0000000000  0.7764705882  0.7212806026  0.8678598629  0.8109756098  0.8037763791  0.8000000000  8.4805653710  1.6624263918  2.0945272446  300           0.6269177143 
0.8089231693  0.8611235509  1.0000000000  1.0000000000  0.8225882353  0.7495291902  0.9219345011  0.8338414634  0.8148833765  0.8029629630  16.961130742  1.3203036324  2.0945272446  600           0.6296793850 
0.8172553371  0.8582537164  1.0000000000  1.0000000000  0.8437647059  0.7363465160  0.9520182788  0.8384146341  0.8211773417  0.8133333333  25.441696113  1.2287388239  2.0945272446  900           0.6311066222 
0.8233652827  0.8658163380  1.0000000000  1.0000000000  0.8550588235  0.7514124294  0.9603960396  0.8460365854  0.8274713069  0.8192592593  33.922261484  1.1220330036  2.0945272446  1200          0.6297614908 
0.8172556114  0.8583733327  1.0000000000  1.0000000000  0.8781176471  0.7382297552  0.9767707540  0.8368902439  0.8196964087  0.8148148148  42.402826855  1.0159832217  2.0945272446  1500          0.6231464140 
0.8157749526  0.8641723314  1.0000000000  1.0000000000  0.8997647059  0.7495291902  0.9832444783  0.8429878049  0.8152536098  0.8162962963  50.883392226  0.9416318695  2.0945272446  1800          0.6262477605 
0.8122571883  0.8618412488  1.0000000000  1.0000000000  0.9120000000  0.7608286252  0.9862909368  0.8246951220  0.8111810441  0.8133333333  59.363957597  0.9127576913  2.0945272446  2100          0.6248148068 
0.8102203569  0.8633953039  1.0000000000  1.0000000000  0.9280000000  0.7532956685  0.9908606245  0.8368902439  0.8100703443  0.8103703704  67.844522968  0.9100767744  2.0945272446  2400          0.6185233092 
0.8091093830  0.8635149202  1.0000000000  1.0000000000  0.9411764706  0.7551789077  0.9923838538  0.8353658537  0.8093298778  0.8088888889  76.325088339  0.9250038918  2.0945272446  2700          0.6234444340 
0.8102203569  0.8660259057  1.0000000000  1.0000000000  0.9440000000  0.7627118644  0.9965727342  0.8353658537  0.8100703443  0.8103703704  84.805653710  0.8985679066  2.0945272446  3000          0.6233671133 
0.8111462143  0.8649196941  1.0000000000  1.0000000000  0.9567058824  0.7532956685  0.9958111196  0.8414634146  0.8104405776  0.8118518519  93.286219081  0.8919572556  2.0945272446  3300          0.6315684239 
0.8107765295  0.8661158572  1.0000000000  1.0000000000  0.9623529412  0.7721280603  0.9969535415  0.8262195122  0.8067382451  0.8148148148  101.76678445  0.6530791351  5.4004793167  3600          0.6340719295 
0.8128128124  0.8635149202  1.0000000000  1.0000000000  0.9656470588  0.7551789077  0.9965727342  0.8353658537  0.8108108108  0.8148148148  110.24734982  0.3867805760  5.4004793167  3900          0.6398740172 
0.8152196028  0.8649196941  1.0000000000  1.0000000000  0.9675294118  0.7532956685  0.9961919269  0.8414634146  0.8141429100  0.8162962963  118.72791519  0.3729866888  5.4004793167  4200          0.6401267083 
0.8152198770  0.8595991607  1.0000000000  1.0000000000  0.9750588235  0.7495291902  0.9973343488  0.8292682927  0.8126619770  0.8177777778  127.20848056  0.3699832619  5.4004793167  4500          0.6421957151 
0.8146642529  0.8678191934  1.0000000000  1.0000000000  0.9750588235  0.7589453861  0.9977151561  0.8445121951  0.8130322103  0.8162962963  135.68904593  0.3654490606  5.4004793167  4800          0.6476778952 
0.8168862009  0.8659359543  1.0000000000  1.0000000000  0.9731764706  0.7532956685  0.9973343488  0.8445121951  0.8145131433  0.8192592593  141.34275618  0.3579302348  5.4004793167  5000          0.6537159407 
