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: 3
	output_dir: sweep/ablation3/outputs/7594024debe7abe0db74dfd0ac277a4f
	save_linear_probed_clip: False
	save_model_every_checkpoint: False
	seed: 1610335577
	skip_model_save: False
	steps: 5001
	sweep: True
	task: domain_generalization
	test_envs: [3]
	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 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.0251086353  0.0185125350  0.0247167868  0.0226804124  0.0146048110  0.0103092784  0.0152027027  0.0225479143  0.0215146299  0.0287026406  0.0000000000  8.4454326630  2.0088801384  0             1.6065130234 
0.7652809035  0.7176740261  0.8774459320  0.7175257732  0.7648911798  0.6632302405  0.8333333333  0.7722660654  0.7613310384  0.7692307692  4.9433573635  5.5810315768  2.2550172806  300           0.1643134642 
0.8235296438  0.8263738276  0.9624098867  0.8082474227  0.8977663230  0.7903780069  0.9532657658  0.8804960541  0.8227194492  0.8243398393  9.8867147271  3.0104453603  2.2550172806  600           0.1852429628 
0.8344326951  0.8364942166  0.9830072091  0.8226804124  0.9332760596  0.7995418099  0.9735360360  0.8872604284  0.8364888124  0.8323765786  14.830072090  2.2316908471  2.2550172806  900           0.1855475799 
0.8391675604  0.8495566822  0.9881565396  0.8391752577  0.9527491409  0.8087056128  0.9833896396  0.9007891770  0.8402180149  0.8381171068  19.773429454  1.8739587541  2.2550172806  1200          0.1843177525 
0.8407453000  0.8495727817  0.9907312049  0.8268041237  0.9613402062  0.8098510882  0.9850788288  0.9120631342  0.8433734940  0.8381171068  24.716786817  1.7156178904  2.2550172806  1500          0.1811186504 
0.8433277142  0.8513171242  0.9938208033  0.8309278351  0.9719358534  0.8087056128  0.9898648649  0.9143179256  0.8462421113  0.8404133180  29.660144181  1.5984060268  2.2550172806  1800          0.1832414516 
0.8423230395  0.8611099270  0.9953656025  0.8453608247  0.9713631157  0.8270332188  0.9907094595  0.9109357384  0.8465289730  0.8381171068  34.603501544  1.5347619534  2.2550172806  2100          0.1868473570 
0.8456232668  0.8626774332  0.9938208033  0.8432989691  0.9756586483  0.8270332188  0.9912725225  0.9177001127  0.8485370052  0.8427095293  39.546858908  1.4807482469  2.2550172806  2400          0.1848490516 
0.8449054538  0.8691905864  0.9953656025  0.8515463918  0.9762313860  0.8281786942  0.9921171171  0.9278466742  0.8493975904  0.8404133180  44.490216271  1.4224658092  2.2550172806  2700          0.1848713986 
0.8480622502  0.8630773380  0.9963954686  0.8536082474  0.9790950745  0.8213058419  0.9932432432  0.9143179256  0.8511187608  0.8450057405  49.433573635  1.4000453468  2.2550172806  3000          0.1861590544 
0.8490665956  0.8532322764  0.9958805355  0.8206185567  0.9793814433  0.8258877434  0.9923986486  0.9131905299  0.8519793460  0.8461538462  54.376930999  1.3695572913  2.2550172806  3300          0.1830040932 
0.8499275102  0.8542310483  0.9953656025  0.8247422680  0.9822451317  0.8258877434  0.9946509009  0.9120631342  0.8525530694  0.8473019518  59.320288362  1.2128318874  5.3961720467  3600          0.2128865687 
0.8492100265  0.8650608485  0.9969104016  0.8391752577  0.9810996564  0.8270332188  0.9952139640  0.9289740699  0.8522662077  0.8461538462  64.263645726  1.0427409854  5.3961720467  3900          0.2218192061 
0.8487794045  0.8647151827  0.9969104016  0.8494845361  0.9839633448  0.8224513173  0.9949324324  0.9222096956  0.8525530694  0.8450057405  69.207003089  0.9842401713  5.3961720467  4200          0.2232780941 
0.8492100265  0.8605090798  0.9953656025  0.8391752577  0.9851088202  0.8190148912  0.9957770270  0.9233370913  0.8522662077  0.8461538462  74.150360453  0.9385079330  5.3961720467  4500          0.2222767123 
0.8490662663  0.8620183006  0.9969104016  0.8391752577  0.9831042383  0.8201603666  0.9946509009  0.9267192785  0.8531267929  0.8450057405  79.093717816  0.9101463970  5.3961720467  4800          0.2203952630 
0.8492096971  0.8671347573  0.9948506694  0.8453608247  0.9842497136  0.8293241695  0.9957770270  0.9267192785  0.8534136546  0.8450057405  82.389289392  0.8770828992  5.3961720467  5000          0.2226323402 
