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: 1
	output_dir: sweep/ablation3/outputs/21c6495adf5307d3b777c458242f5f4b
	save_linear_probed_clip: False
	save_model_every_checkpoint: False
	seed: 1433561098
	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.6880433961757358
	lambda2: 0.9840350138898164
	last_k_epoch: 0.33648211095401626
	lr: 5e-05
	nonlinear_classifier: False
	resnet18: False
	resnet_dropout: 0
	student_model: resnet
	temperature: 3.599417945900826
	weight_decay: 0.0001
	worst_case_p: 0.25
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.0169307705  0.0140029521  0.0164778579  0.0123711340  0.0189003436  0.0206185567  0.0132319820  0.0090191657  0.0131956397  0.0206659013  0.0000000000  8.9674749374  2.0088801384  0             2.5676019192 
0.7413180684  0.7216249476  0.8419155510  0.7216494845  0.7757731959  0.6529209622  0.8465653153  0.7903043968  0.7478485370  0.7347876005  4.9433573635  5.7180005415  2.2550172806  300           0.1524041915 
0.8196540463  0.8269083828  0.9634397528  0.8247422680  0.8971935853  0.7754868270  0.9470720721  0.8804960541  0.8253012048  0.8140068886  9.8867147271  3.1854288038  2.2550172806  600           0.1798003991 
0.8325667765  0.8381682206  0.9860968074  0.8288659794  0.9335624284  0.7972508591  0.9735360360  0.8883878241  0.8373493976  0.8277841561  14.830072090  2.3507579998  2.2550172806  900           0.1778985341 
0.8370137920  0.8392011716  0.9927909372  0.8309278351  0.9495990836  0.7915234822  0.9828265766  0.8951521984  0.8439472174  0.8300803674  19.773429454  2.0080067941  2.2550172806  1200          0.1822811596 
0.8418920882  0.8445447432  0.9927909372  0.8288659794  0.9670675830  0.7949599084  0.9870495495  0.9098083427  0.8479632817  0.8358208955  24.716786817  1.7767536068  2.2550172806  1500          0.1801836236 
0.8430395351  0.8501776754  0.9969104016  0.8309278351  0.9702176403  0.8064146621  0.9873310811  0.9131905299  0.8502581756  0.8358208955  29.660144181  1.6670680801  2.2550172806  1800          0.1802074734 
0.8456226081  0.8525690974  0.9953656025  0.8391752577  0.9753722795  0.8098510882  0.9923986486  0.9086809470  0.8508318990  0.8404133180  34.603501544  1.5803808570  2.2550172806  2100          0.1841969403 
0.8472010063  0.8517351086  0.9958805355  0.8412371134  0.9765177549  0.8064146621  0.9918355856  0.9075535513  0.8516924842  0.8427095293  39.546858908  1.5027343861  2.2550172806  2400          0.1850435948 
0.8482053517  0.8526213562  0.9963954686  0.8371134021  0.9810996564  0.8075601375  0.9954954955  0.9131905299  0.8525530694  0.8438576349  44.490216271  1.4623420914  2.2550172806  2700          0.1828604293 
0.8486363030  0.8468176143  0.9974253347  0.8288659794  0.9845360825  0.7983963345  0.9960585586  0.9131905299  0.8511187608  0.8461538462  49.433573635  1.4435168028  2.2550172806  3000          0.1810116355 
0.8506456525  0.8510056376  0.9969104016  0.8288659794  0.9816723940  0.8087056128  0.9940878378  0.9154453213  0.8505450373  0.8507462687  54.376930999  1.3602517311  2.2550172806  3300          0.1824303921 
0.8525109125  0.8585939276  0.9974253347  0.8391752577  0.9828178694  0.8121420389  0.9952139640  0.9244644870  0.8519793460  0.8530424799  59.320288362  1.2574399006  5.3969807625  3600          0.2205763149 
0.8525105832  0.8584170914  0.9948506694  0.8329896907  0.9853951890  0.8132875143  0.9957770270  0.9289740699  0.8531267929  0.8518943743  64.263645726  1.1214953820  5.3969807625  3900          0.2228969638 
0.8525105832  0.8613772477  0.9958805355  0.8453608247  0.9851088202  0.8064146621  0.9963400901  0.9323562570  0.8531267929  0.8518943743  69.207003089  1.0528252854  5.3969807625  4200          0.2202907960 
0.8516493393  0.8558568398  0.9969104016  0.8412371134  0.9845360825  0.8041237113  0.9949324324  0.9222096956  0.8537005164  0.8495981630  74.150360453  1.0011901420  5.3969807625  4500          0.2219386586 
0.8523664936  0.8583065472  0.9974253347  0.8371134021  0.9848224513  0.8167239404  0.9966216216  0.9210822999  0.8551348250  0.8495981630  79.093717816  0.9626981620  5.3969807625  4800          0.2204623763 
0.8533708390  0.8585537219  0.9953656025  0.8412371134  0.9839633448  0.8167239404  0.9969031532  0.9177001127  0.8559954102  0.8507462687  82.389289392  0.9299331927  5.3969807625  5000          0.2235939157 
