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: 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: 0
	output_dir: sweep/ablation3/outputs/cd494624fcd6af94c03e17685074d9dd
	save_linear_probed_clip: False
	save_model_every_checkpoint: False
	seed: 1200988316
	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.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 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.5609540633  0.4374896012  0.5742049470  0.5477031802  0.4395294118  0.4595103578  0.4447829398  0.4603658537  0.4154017031  0.3925925926  0.0000000000  3.4428262711  2.3337798119  0             1.6644890308 
0.9814487628  0.8041036238  0.9805653710  0.9823321555  0.7792941176  0.7175141243  0.8796648896  0.8414634146  0.9178082192  0.8533333333  8.4805653710  1.5184456094  2.5947308540  300           0.6162695996 
0.9854240278  0.8187280477  0.9849823322  0.9858657244  0.8150588235  0.7344632768  0.9238385377  0.8506097561  0.9496482784  0.8711111111  16.961130742  1.1973328102  2.5947308540  600           0.5957393050 
0.9889575967  0.8228809218  0.9849823322  0.9929328622  0.8390588235  0.7589453861  0.9463061691  0.8445121951  0.9674194743  0.8651851852  25.441696113  1.0390525784  2.5947308540  900           0.6076529535 
0.9893992928  0.8194732924  0.9858657244  0.9929328622  0.8757647059  0.7532956685  0.9668697639  0.8399390244  0.9796371714  0.8651851852  33.922261484  0.8806401998  2.5947308540  1200          0.6125505789 
0.9893992928  0.8308331162  0.9858657244  0.9929328622  0.9030588235  0.7645951036  0.9782939832  0.8597560976  0.9863013699  0.8681481481  42.402826855  0.8200278189  2.5947308540  1500          0.6101728988 
0.9885159006  0.8238696352  0.9840989399  0.9929328622  0.9237647059  0.7514124294  0.9809596344  0.8490853659  0.9885227693  0.8711111111  50.883392226  0.7813749578  2.5947308540  1800          0.6268576829 
0.9871908122  0.8213136228  0.9849823322  0.9893992933  0.9449411765  0.7589453861  0.9874333587  0.8353658537  0.9911144021  0.8696296296  59.363957597  0.7525746485  2.5947308540  2100          0.6308759602 
0.9867491161  0.8275021943  0.9840989399  0.9893992933  0.9505882353  0.7608286252  0.9897182026  0.8490853659  0.9937060348  0.8725925926  67.844522968  0.7385782180  2.5947308540  2400          0.6191467126 
0.9863074200  0.8235669389  0.9832155477  0.9893992933  0.9618823529  0.7532956685  0.9923838538  0.8551829268  0.9944465013  0.8622222222  76.325088339  0.7285469025  2.5947308540  2700          0.6198999373 
0.9849823317  0.8274244277  0.9805653710  0.9893992933  0.9703529412  0.7664783427  0.9958111196  0.8506097561  0.9955572010  0.8651851852  84.805653710  0.7324521619  2.5947308540  3000          0.6271978347 
0.9849823317  0.8227745495  0.9805653710  0.9893992933  0.9741176471  0.7645951036  0.9954303123  0.8429878049  0.9970381340  0.8607407407  93.286219081  0.7150592623  2.5947308540  3300          0.6341155012 
0.9849823317  0.8237214130  0.9805653710  0.9893992933  0.9778823529  0.7495291902  0.9958111196  0.8475609756  0.9962976675  0.8740740741  101.76678445  0.7105193551  2.5947308540  3600          0.6297298249 
0.9836572433  0.8267670165  0.9814487633  0.9858657244  0.9821176471  0.7721280603  0.9965727342  0.8429878049  0.9977786005  0.8651851852  110.24734982  0.5915089570  5.3918771744  3900          0.6350712959 
0.9832155472  0.8288619415  0.9805653710  0.9858657244  0.9835294118  0.7740112994  0.9973343488  0.8414634146  0.9985190670  0.8711111111  118.72791519  0.4384502253  5.3918771744  4200          0.6372417911 
0.9849823317  0.8242417280  0.9805653710  0.9893992933  0.9882352941  0.7645951036  0.9961919269  0.8414634146  0.9970381340  0.8666666667  127.20848056  0.4245626196  5.3918771744  4500          0.6350571958 
0.9854240278  0.8228094072  0.9814487633  0.9893992933  0.9882352941  0.7589453861  0.9977151561  0.8368902439  0.9996297668  0.8725925926  135.68904593  0.4145470276  5.3918771744  4800          0.6452279361 
0.9854240278  0.8307462396  0.9814487633  0.9893992933  0.9849411765  0.7721280603  0.9965727342  0.8460365854  0.9988893003  0.8740740741  141.34275618  0.4101281463  5.3918771744  5000          0.6236763155 
