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: 3
	output_dir: sweep/ablation3/outputs/877b9b66efd3d1a0ca550d39a8771cc4
	save_linear_probed_clip: False
	save_model_every_checkpoint: False
	seed: 2142143070
	skip_model_save: False
	steps: 5001
	sweep: True
	task: domain_generalization
	test_envs: [2]
	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.8610090196552951
	lambda2: 0.5777772877463595
	last_k_epoch: 0.32350558703299503
	lr: 5e-05
	nonlinear_classifier: False
	resnet18: False
	resnet_dropout: 0
	student_model: resnet
	temperature: 2.866557071912062
	weight_decay: 0.0001
	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.0116892717  0.0138308370  0.0139031926  0.0082474227  0.0174684994  0.0217640321  0.0132319820  0.0101465614  0.0177854274  0.0114810563  0.0000000000  8.0778474808  2.0088801384  0             1.4847705364 
0.6994344609  0.7319387727  0.8480947477  0.7484536082  0.7525773196  0.6735395189  0.7032657658  0.6956031567  0.8336201951  0.7738231917  4.9433573635  5.5625954803  2.2550172806  300           0.3029871345 
0.7940817434  0.8221178886  0.9624098867  0.8309278351  0.9043528064  0.7720504009  0.7989864865  0.7891770011  0.9380378657  0.8633754305  9.8867147271  3.0163543542  2.2550172806  600           0.3026946155 
0.8026709943  0.8351833218  0.9773429454  0.8391752577  0.9329896907  0.7938144330  0.8116554054  0.7936865840  0.9632816982  0.8725602755  14.830072090  2.2475555277  2.2550172806  900           0.3055200823 
0.8074614739  0.8441882575  0.9845520082  0.8536082474  0.9516036655  0.8144329897  0.8133445946  0.8015783540  0.9747561675  0.8645235362  19.773429454  1.8669443281  2.2550172806  1200          0.3136910478 
0.8123933541  0.8386934827  0.9927909372  0.8371134021  0.9633447881  0.8098510882  0.8141891892  0.8105975197  0.9825014343  0.8691159587  24.716786817  1.7027887193  2.2550172806  1500          0.3185846051 
0.8133793492  0.8464133642  0.9917610711  0.8453608247  0.9664948454  0.8155784651  0.8150337838  0.8117249154  0.9856569134  0.8783008037  29.660144181  1.6109137090  2.2550172806  1800          0.3174805872 
0.8147882765  0.8525208127  0.9948506694  0.8556701031  0.9742268041  0.8258877434  0.8155968468  0.8139797069  0.9882386690  0.8760045924  34.603501544  1.5287884859  2.2550172806  2100          0.3025180292 
0.8173239646  0.8447324569  0.9938208033  0.8494845361  0.9768041237  0.8075601375  0.8172860360  0.8173618940  0.9916810098  0.8771526980  39.546858908  1.4683689590  2.2550172806  2400          0.3064204534 
0.8194367207  0.8500771319  0.9948506694  0.8494845361  0.9765177549  0.8247422680  0.8192567568  0.8196166855  0.9916810098  0.8760045924  44.490216271  1.4137278374  2.2550172806  2700          0.3054970288 
0.8212673104  0.8572650885  0.9948506694  0.8515463918  0.9785223368  0.8316151203  0.8217905405  0.8207440812  0.9934021801  0.8886337543  49.433573635  1.4129030363  2.2550172806  3000          0.2975948668 
0.8205628468  0.8495364395  0.9958805355  0.8639175258  0.9793814433  0.8167239404  0.8215090090  0.8196166855  0.9931153184  0.8679678530  54.376930999  1.3549528996  2.2550172806  3300          0.2793509610 
0.8214080762  0.8613150651  0.9963954686  0.8556701031  0.9802405498  0.8361970218  0.8220720721  0.8207440812  0.9954102123  0.8920780712  59.320288362  1.2003100081  5.3961720467  3600          0.3032896209 
0.8222526708  0.8590996026  0.9963954686  0.8536082474  0.9793814433  0.8327605956  0.8237612613  0.8207440812  0.9954102123  0.8909299656  64.263645726  1.0355802659  5.3961720467  3900          0.2859469231 
0.8226749681  0.8597746133  0.9963954686  0.8762886598  0.9816723940  0.8281786942  0.8246058559  0.8207440812  0.9951233505  0.8748564868  69.207003089  0.9802201349  5.3961720467  4200          0.2981855329 
0.8247883590  0.8564926707  0.9953656025  0.8618556701  0.9813860252  0.8304696449  0.8254504505  0.8241262683  0.9962707975  0.8771526980  74.150360453  0.9356249493  5.3961720467  4500          0.2807693370 
0.8254934574  0.8597825041  0.9963954686  0.8659793814  0.9836769759  0.8281786942  0.8246058559  0.8263810598  0.9959839357  0.8851894374  79.093717816  0.9064200765  5.3961720467  4800          0.2860448543 
0.8247889938  0.8607778796  0.9943357364  0.8701030928  0.9831042383  0.8235967927  0.8243243243  0.8252536640  0.9965576592  0.8886337543  82.389289392  0.8820547900  5.3961720467  5000          0.2725807440 
