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: OfficeHome
	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/071f471b557ef8867b739c1244b9d839
	save_linear_probed_clip: False
	save_model_every_checkpoint: False
	seed: 907117280
	skip_model_save: False
	steps: 5001
	sweep: True
	task: domain_generalization
	test_envs: [3]
	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 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.0123383480  0.0081228452  0.0159629248  0.0061855670  0.0140320733  0.0091638030  0.0081644144  0.0090191657  0.0131956397  0.0114810563  0.0000000000  7.0951213837  2.3353104591  0             1.5462887287 
0.7974163338  0.7755548407  0.9098867147  0.7731958763  0.8230240550  0.7090492554  0.8947072072  0.8444193912  0.8014916810  0.7933409874  4.9433573635  4.4066931057  2.5970582962  300           0.1636351728 
0.8321381306  0.8357707721  0.9768280124  0.8309278351  0.9209621993  0.7823596793  0.9625563063  0.8940248027  0.8307515777  0.8335246843  9.8867147271  2.0821911577  2.5970582962  600           0.1859401933 
0.8380204428  0.8408792220  0.9897013388  0.8247422680  0.9493127148  0.7880870561  0.9802927928  0.9098083427  0.8367756741  0.8392652124  14.830072090  1.5239536786  2.5970582962  900           0.1930716578 
0.8416058852  0.8503886908  0.9948506694  0.8453608247  0.9593356243  0.7892325315  0.9859234234  0.9165727170  0.8450946644  0.8381171068  19.773429454  1.3092427401  2.5970582962  1200          0.1840103261 
0.8453364051  0.8482866294  0.9917610711  0.8309278351  0.9705040092  0.8041237113  0.9884572072  0.9098083427  0.8479632817  0.8427095293  24.716786817  1.2034175893  2.5970582962  1500          0.1907833354 
0.8474878681  0.8499184476  0.9963954686  0.8371134021  0.9753722795  0.7938144330  0.9909909910  0.9188275085  0.8522662077  0.8427095293  29.660144181  1.1376000313  2.5970582962  1800          0.1944696959 
0.8494965589  0.8524043142  0.9958805355  0.8432989691  0.9773768614  0.8029782360  0.9932432432  0.9109357384  0.8539873781  0.8450057405  34.603501544  1.0884078087  2.5970582962  2100          0.1934948627 
0.8494965589  0.8515341662  0.9958805355  0.8453608247  0.9796678121  0.7926689576  0.9926801802  0.9165727170  0.8539873781  0.8450057405  39.546858908  1.0373276359  2.5970582962  2400          0.1928971640 
0.8502140426  0.8583005206  0.9953656025  0.8371134021  0.9851088202  0.8155784651  0.9952139640  0.9222096956  0.8542742398  0.8461538462  44.490216271  1.0067616055  2.5970582962  2700          0.1903714919 
0.8523664936  0.8570203949  0.9963954686  0.8412371134  0.9828178694  0.8109965636  0.9969031532  0.9188275085  0.8551348250  0.8495981630  49.433573635  0.9778874050  2.5970582962  3000          0.1936358325 
0.8525102538  0.8565501516  0.9958805355  0.8432989691  0.9836769759  0.8052691867  0.9954954955  0.9210822999  0.8542742398  0.8507462687  54.376930999  0.9637197944  2.5970582962  3300          0.1965411337 
0.8527974449  0.8612385509  0.9948506694  0.8515463918  0.9839633448  0.8167239404  0.9969031532  0.9154453213  0.8537005164  0.8518943743  59.320288362  0.9456404227  2.5970582962  3600          0.1890429846 
0.8536583594  0.8515924515  0.9963954686  0.8329896907  0.9848224513  0.8018327606  0.9960585586  0.9199549042  0.8542742398  0.8530424799  64.263645726  0.8714502704  5.3944554329  3900          0.2025631197 
0.8540886520  0.8565682313  0.9963954686  0.8536082474  0.9862542955  0.7983963345  0.9974662162  0.9177001127  0.8551348250  0.8530424799  69.207003089  0.7483110871  5.3944554329  4200          0.2217468898 
0.8560976722  0.8550349042  0.9969104016  0.8329896907  0.9871134021  0.8132875143  0.9954954955  0.9188275085  0.8557085485  0.8564867968  74.150360453  0.7044881304  5.3944554329  4500          0.2232658394 
0.8571020176  0.8546591056  0.9963954686  0.8432989691  0.9882588774  0.8029782360  0.9960585586  0.9177001127  0.8565691337  0.8576349024  79.093717816  0.6723422013  5.3944554329  4800          0.2246247188 
0.8572454485  0.8589697262  0.9958805355  0.8391752577  0.9856815578  0.8121420389  0.9963400901  0.9255918828  0.8568559954  0.8576349024  82.389289392  0.6537345859  5.3944554329  5000          0.2237429011 
