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/0009324656413159008b7007a3b2ffde
	save_linear_probed_clip: False
	save_model_every_checkpoint: False
	seed: 152415113
	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.7419102898692578
	lambda2: 0.5215383105176172
	last_k_epoch: 0.23762453204831346
	lr: 3e-05
	nonlinear_classifier: False
	resnet18: False
	resnet_dropout: 0
	student_model: resnet
	temperature: 2.9748462276330736
	weight_decay: 1e-06
	worst_case_p: 0.3
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.0264817382  0.0249177936  0.0180226571  0.0288659794  0.0174684994  0.0160366552  0.0213963964  0.0315670800  0.0301204819  0.0298507463  0.0000000000  8.5345039368  2.1706647873  0             1.5192124844 
0.7095810223  0.7319510472  0.8424304840  0.7484536082  0.7511454754  0.6575028637  0.7032657658  0.7158962796  0.8410786001  0.7898966705  4.9433573635  5.3998807152  2.4395728111  300           0.2884013677 
0.7785930656  0.8042432123  0.9449021627  0.8082474227  0.8794387171  0.7479954181  0.7759009009  0.7812852311  0.9279977051  0.8564867968  9.8867147271  2.8122787793  2.4395728111  600           0.2987309368 
0.7942263179  0.8121070563  0.9737384140  0.8123711340  0.9163802978  0.7697594502  0.7925112613  0.7959413754  0.9566838784  0.8541905855  14.830072090  2.1000607590  2.4395728111  900           0.2990684311 
0.8071843859  0.8190562736  0.9881565396  0.8206185567  0.9375715922  0.7823596793  0.8048986486  0.8094701240  0.9707401033  0.8541905855  19.773429454  1.7498364683  2.4395728111  1200          0.3087976782 
0.8116920644  0.8295349402  0.9917610711  0.8268041237  0.9501718213  0.7857961054  0.8082770270  0.8151071026  0.9733218589  0.8760045924  24.716786817  1.5763318706  2.4395728111  1500          0.3016712189 
0.8135226542  0.8205905881  0.9933058702  0.8103092784  0.9576174112  0.7880870561  0.8108108108  0.8162344983  0.9830751578  0.8633754305  29.660144181  1.4680900792  2.4395728111  1800          0.2998400092 
0.8171851032  0.8328133758  0.9963954686  0.8309278351  0.9656357388  0.7983963345  0.8136261261  0.8207440812  0.9859437751  0.8691159587  34.603501544  1.3947434743  2.4395728111  2100          0.3047982438 
0.8177475315  0.8310534732  0.9938208033  0.8371134021  0.9722222222  0.7915234822  0.8158783784  0.8196166855  0.9885255307  0.8645235362  39.546858908  1.3329586029  2.4395728111  2400          0.3019066819 
0.8204239854  0.8370959544  0.9943357364  0.8288659794  0.9742268041  0.8052691867  0.8178490991  0.8229988726  0.9919678715  0.8771526980  44.490216271  1.2908992803  2.4395728111  2700          0.2948954177 
0.8204239854  0.8278417584  0.9958805355  0.8309278351  0.9773768614  0.7938144330  0.8178490991  0.8229988726  0.9911072863  0.8587830080  49.433573635  1.2435169756  2.4395728111  3000          0.3022662433 
0.8209864137  0.8363296739  0.9948506694  0.8288659794  0.9768041237  0.8064146621  0.8201013514  0.8218714769  0.9908204246  0.8737083812  54.376930999  1.2083197248  2.4395728111  3300          0.3006567383 
0.8240864345  0.8400022091  0.9943357364  0.8329896907  0.9788087056  0.8041237113  0.8206644144  0.8275084555  0.9948364888  0.8828932262  59.320288362  1.1900190616  2.4395728111  3600          0.2955348913 
0.8243686009  0.8454179886  0.9953656025  0.8515463918  0.9790950745  0.8098510882  0.8201013514  0.8286358512  0.9951233505  0.8748564868  64.263645726  1.1429961415  5.3998112679  3900          0.2952341835 
0.8240870693  0.8403787737  0.9974253347  0.8329896907  0.9842497136  0.8121420389  0.8195382883  0.8286358512  0.9942627653  0.8760045924  69.207003089  0.9702025072  5.3998112679  4200          0.3026527754 
0.8257775281  0.8462597574  0.9943357364  0.8494845361  0.9839633448  0.8121420389  0.8206644144  0.8308906426  0.9954102123  0.8771526980  74.150360453  0.9089304066  5.3998112679  4500          0.2977630194 
0.8264819917  0.8454197421  0.9948506694  0.8412371134  0.9848224513  0.8178694158  0.8209459459  0.8320180383  0.9942627653  0.8771526980  79.093717816  0.8713075529  5.3998112679  4800          0.3042754022 
0.8260596944  0.8459586811  0.9958805355  0.8371134021  0.9848224513  0.8178694158  0.8201013514  0.8320180383  0.9965576592  0.8828932262  82.389289392  0.8445008355  5.3998112679  5000          0.2980244219 
