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: [2]
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/3c62de263656508a40e8129106c669d1
	save_linear_probed_clip: False
	save_model_every_checkpoint: False
	seed: 1132371716
	skip_model_save: False
	steps: 5001
	sweep: True
	task: domain_generalization
	test_envs: [2]
	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 normal 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.0149294235  0.0094034191  0.0175077240  0.0041237113  0.0111683849  0.0103092784  0.0152027027  0.0146561443  0.0192197361  0.0137772675  0.0000000000  7.3146219254  2.3353104591  0             1.5064473152 
0.7526756601  0.7723648036  0.8990731205  0.7917525773  0.8195876289  0.7136311569  0.7533783784  0.7519729425  0.8792312106  0.8117106774  4.9433573635  4.3853800623  2.5970582962  300           0.3086147602 
0.8028136644  0.8258650353  0.9814624099  0.8226804124  0.9163802978  0.7846506300  0.8085585586  0.7970687711  0.9555364314  0.8702640643  9.8867147271  2.0801463902  2.5970582962  600           0.3044415092 
0.8132366791  0.8354940424  0.9886714727  0.8412371134  0.9418671249  0.7857961054  0.8181306306  0.8083427283  0.9756167527  0.8794489093  14.830072090  1.5430421058  2.5970582962  900           0.3039681053 
0.8174634608  0.8321348581  0.9922760041  0.8288659794  0.9587628866  0.7869415808  0.8198198198  0.8151071026  0.9787722318  0.8805970149  19.773429454  1.3164925488  2.5970582962  1200          0.2910139902 
0.8215482072  0.8441996552  0.9938208033  0.8536082474  0.9679266896  0.7995418099  0.8234797297  0.8196166855  0.9856569134  0.8794489093  24.716786817  1.1894637642  2.5970582962  1500          0.2991430966 
0.8240838953  0.8448175895  0.9938208033  0.8474226804  0.9725085911  0.7983963345  0.8251689189  0.8229988726  0.9873780838  0.8886337543  29.660144181  1.1313705631  2.5970582962  1800          0.3041534567 
0.8249291247  0.8435887350  0.9943357364  0.8494845361  0.9745131730  0.8018327606  0.8257319820  0.8241262683  0.9913941480  0.8794489093  34.603501544  1.0716670493  2.5970582962  2100          0.2987235475 
0.8256323188  0.8417612350  0.9963954686  0.8371134021  0.9765177549  0.8018327606  0.8282657658  0.8229988726  0.9925415950  0.8863375431  39.546858908  1.0446941111  2.5970582962  2400          0.2973539186 
0.8261960166  0.8382458136  0.9953656025  0.8288659794  0.9822451317  0.8029782360  0.8282657658  0.8241262683  0.9919678715  0.8828932262  44.490216271  1.0135718421  2.5970582962  2700          0.3020939223 
0.8278864754  0.8387777385  0.9974253347  0.8350515464  0.9828178694  0.8018327606  0.8293918919  0.8263810598  0.9936890419  0.8794489093  49.433573635  0.9687488800  2.5970582962  3000          0.2942214036 
0.8302813978  0.8423721552  0.9963954686  0.8309278351  0.9851088202  0.8098510882  0.8307995495  0.8297632469  0.9962707975  0.8863375431  54.376930999  0.9579139892  2.5970582962  3300          0.3059846195 
0.8308450957  0.8432788912  0.9953656025  0.8474226804  0.9842497136  0.8087056128  0.8307995495  0.8308906426  0.9959839357  0.8737083812  59.320288362  0.9177113614  2.5970582962  3600          0.2923129996 
0.8316903251  0.8425986200  0.9953656025  0.8350515464  0.9856815578  0.8098510882  0.8313626126  0.8320180383  0.9965576592  0.8828932262  64.263645726  0.8683478473  5.3944554329  3900          0.3043585785 
0.8314087935  0.8457304627  0.9958805355  0.8432989691  0.9865406644  0.8098510882  0.8307995495  0.8320180383  0.9965576592  0.8840413318  69.207003089  0.7384901901  5.3944554329  4200          0.3010170666 
0.8299998663  0.8484049921  0.9963954686  0.8432989691  0.9868270332  0.8155784651  0.8302364865  0.8297632469  0.9971313827  0.8863375431  74.150360453  0.6982922328  5.3944554329  4500          0.2959057275 
0.8294361684  0.8470321752  0.9958805355  0.8391752577  0.9845360825  0.8132875143  0.8302364865  0.8286358512  0.9962707975  0.8886337543  79.093717816  0.6722062347  5.3944554329  4800          0.2947131721 
0.8295769342  0.8461886529  0.9969104016  0.8515463918  0.9856815578  0.8029782360  0.8305180180  0.8286358512  0.9971313827  0.8840413318  82.389289392  0.6508231059  5.3944554329  5000          0.3011416483 
