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: 2
	output_dir: sweep/ablation3/outputs/1e1f3d527efe0aad581fbf9b514880fe
	save_linear_probed_clip: False
	save_model_every_checkpoint: False
	seed: 1306335085
	skip_model_save: False
	steps: 5001
	sweep: True
	task: domain_generalization
	test_envs: [2]
	trial_seed: 2
	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.8194577311903198
	lambda2: 0.5954971958468116
	last_k_epoch: 0.2502561813215683
	lr: 3e-05
	nonlinear_classifier: False
	resnet18: False
	resnet_dropout: 0
	student_model: resnet
	temperature: 2.3092434210820203
	weight_decay: 1e-06
	worst_case_p: 0.25
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.0097179162  0.0099335905  0.0118434604  0.0103092784  0.0128865979  0.0114547537  0.0104166667  0.0090191657  0.0103270224  0.0080367394  0.0000000000  8.7474880219  2.0088801384  0             1.5027294159 
0.7080211726  0.7060334943  0.8223480947  0.7154639175  0.7268041237  0.6517754868  0.7204391892  0.6956031567  0.8241537579  0.7508610792  4.9433573635  6.2640987166  2.2550172806  300           0.3111252197 
0.7632330925  0.7859015783  0.9402677652  0.7773195876  0.8613974800  0.7422680412  0.7744932432  0.7519729425  0.9168100975  0.8381171068  9.8867147271  3.3228865027  2.2550172806  600           0.3069793741 
0.7830937614  0.8137888404  0.9706488157  0.8082474227  0.9083619702  0.7766323024  0.7916666667  0.7745208568  0.9480780264  0.8564867968  14.830072090  2.5117475796  2.2550172806  900           0.3064710553 
0.7943626401  0.8122501421  0.9850669413  0.8288659794  0.9318442153  0.7663230241  0.8006756757  0.7880496054  0.9667240390  0.8415614237  19.773429454  2.0840223694  2.2550172806  1200          0.2991056299 
0.8004187420  0.8160762841  0.9933058702  0.8185567010  0.9470217640  0.7777777778  0.8071509009  0.7936865840  0.9738955823  0.8518943743  24.716786817  1.8662220713  2.2550172806  1500          0.3091782276 
0.8071799424  0.8253998311  0.9907312049  0.8350515464  0.9596219931  0.7800687285  0.8127815315  0.8015783540  0.9790590935  0.8610792193  29.660144181  1.7369716819  2.2550172806  1800          0.2912400834 
0.8090105321  0.8250188828  0.9881565396  0.8350515464  0.9613402062  0.7777777778  0.8153153153  0.8027057497  0.9830751578  0.8622273249  34.603501544  1.6449287466  2.2550172806  2100          0.3044893082 
0.8108417567  0.8211225130  0.9938208033  0.8061855670  0.9653493700  0.7972508591  0.8167229730  0.8049605411  0.9870912220  0.8599311137  39.546858908  1.5929066976  2.2550172806  2400          0.3070759344 
0.8130959133  0.8310543500  0.9922760041  0.8268041237  0.9679266896  0.8006872852  0.8178490991  0.8083427283  0.9890992542  0.8656716418  44.490216271  1.5221348075  2.2550172806  2700          0.3177793002 
0.8173233298  0.8289248968  0.9933058702  0.8226804124  0.9742268041  0.7869415808  0.8184121622  0.8162344983  0.9913941480  0.8771526980  49.433573635  1.4844698584  2.2550172806  3000          0.3153284049 
0.8161959341  0.8403735132  0.9953656025  0.8536082474  0.9716494845  0.7983963345  0.8184121622  0.8139797069  0.9916810098  0.8691159587  54.376930999  1.4486888035  2.2550172806  3300          0.3112522570 
0.8170405287  0.8354097866  0.9938208033  0.8329896907  0.9756586483  0.8041237113  0.8201013514  0.8139797069  0.9939759036  0.8691159587  59.320288362  1.4275504748  2.2550172806  3600          0.3042050910 
0.8178857581  0.8467188243  0.9948506694  0.8577319588  0.9756586483  0.8041237113  0.8206644144  0.8151071026  0.9945496271  0.8783008037  64.263645726  1.3097081451  5.3968892097  3900          0.3096168876 
0.8185902217  0.8380878230  0.9958805355  0.8329896907  0.9793814433  0.8052691867  0.8209459459  0.8162344983  0.9934021801  0.8760045924  69.207003089  1.0975156828  5.3968892097  4200          0.3242707396 
0.8194360859  0.8338798559  0.9963954686  0.8432989691  0.9796678121  0.7926689576  0.8203828829  0.8184892897  0.9942627653  0.8656716418  74.150360453  1.0316440354  5.3968892097  4500          0.3061526426 
0.8190137886  0.8390033266  0.9943357364  0.8391752577  0.9793814433  0.8029782360  0.8195382883  0.8184892897  0.9939759036  0.8748564868  79.093717816  0.9941214263  5.3968892097  4800          0.3103627141 
0.8181685592  0.8338807326  0.9943357364  0.8432989691  0.9790950745  0.7915234822  0.8189752252  0.8173618940  0.9954102123  0.8668197474  82.389289392  0.9664435920  5.3968892097  5000          0.3047153389 
