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: 0
	output_dir: sweep/ablation3/outputs/7372bea11097ded63c296f21b78fe431
	save_linear_probed_clip: False
	save_model_every_checkpoint: False
	seed: 1015960017
	skip_model_save: False
	steps: 5001
	sweep: True
	task: domain_generalization
	test_envs: [3]
	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.5
	lambda2: 0.5
	last_k_epoch: 0.25
	lr: 5e-05
	nonlinear_classifier: False
	resnet18: False
	resnet_dropout: 0
	student_model: resnet
	temperature: 3
	weight_decay: 0.0
	worst_case_p: 0.3333333333333333
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.0134857949  0.0189827783  0.0149330587  0.0206185567  0.0126002291  0.0160366552  0.0115427928  0.0202931229  0.0154905336  0.0114810563  0.0000000000  7.6528277397  2.3353104591  0             1.4703214169 
0.7757487219  0.7723776424  0.9109165808  0.7567010309  0.8161512027  0.7216494845  0.9025900901  0.8387824126  0.7914515204  0.7600459242  4.9433573635  4.3611825061  2.5970582962  300           0.1654963779 
0.8179295824  0.8289581854  0.9788877446  0.8103092784  0.9172394044  0.7938144330  0.9625563063  0.8827508455  0.8333333333  0.8025258324  9.8867147271  2.0717799433  2.5970582962  600           0.1833053541 
0.8239543375  0.8423502173  0.9886714727  0.8288659794  0.9432989691  0.8064146621  0.9755067568  0.8917700113  0.8430866322  0.8048220436  14.830072090  1.5431478779  2.5970582962  900           0.1830926394 
0.8288336218  0.8506016864  0.9917610711  0.8309278351  0.9604810997  0.8155784651  0.9856418919  0.9052987599  0.8436603557  0.8140068886  19.773429454  1.3186305078  2.5970582962  1200          0.1892159581 
0.8322769506  0.8498440627  0.9927909372  0.8309278351  0.9716494845  0.8144329897  0.9898648649  0.9041713641  0.8471026965  0.8174512055  24.716786817  1.2212760735  2.5970582962  1500          0.1894516039 
0.8315594669  0.8539255882  0.9943357364  0.8329896907  0.9765177549  0.8167239404  0.9918355856  0.9120631342  0.8468158348  0.8163030999  29.660144181  1.1435285425  2.5970582962  1800          0.1919024269 
0.8328506741  0.8546068468  0.9943357364  0.8350515464  0.9788087056  0.8155784651  0.9932432432  0.9131905299  0.8482501434  0.8174512055  34.603501544  1.1056204842  2.5970582962  2100          0.1926682703 
0.8375855394  0.8571972311  0.9943357364  0.8474226804  0.9808132875  0.8098510882  0.9915540541  0.9143179256  0.8519793460  0.8231917336  39.546858908  1.0617058762  2.5970582962  2400          0.1892174610 
0.8394511287  0.8513171242  0.9963954686  0.8206185567  0.9816723940  0.8190148912  0.9935247748  0.9143179256  0.8522662077  0.8266360505  44.490216271  1.0175227431  2.5970582962  2700          0.1925459997 
0.8421776325  0.8559693642  0.9948506694  0.8391752577  0.9825315006  0.8132875143  0.9949324324  0.9154453213  0.8531267929  0.8312284730  49.433573635  0.9809078103  2.5970582962  3000          0.1877982982 
0.8423213927  0.8544360371  0.9963954686  0.8288659794  0.9845360825  0.8178694158  0.9966216216  0.9165727170  0.8522662077  0.8323765786  54.376930999  0.9599718527  2.5970582962  3300          0.1869785237 
0.8428951162  0.8580834787  0.9958805355  0.8329896907  0.9836769759  0.8213058419  0.9966216216  0.9199549042  0.8534136546  0.8323765786  59.320288362  0.9443166588  2.5970582962  3600          0.1876798995 
0.8424644943  0.8506720248  0.9958805355  0.8288659794  0.9859679267  0.8167239404  0.9954954955  0.9064261556  0.8537005164  0.8312284730  64.263645726  0.8755943402  5.3944554329  3900          0.2036083229 
0.8430385471  0.8584592772  0.9963954686  0.8329896907  0.9839633448  0.8213058419  0.9957770270  0.9210822999  0.8537005164  0.8323765786  69.207003089  0.7513390243  5.3944554329  4200          0.2211788440 
0.8437557014  0.8604688741  0.9969104016  0.8412371134  0.9839633448  0.8235967927  0.9963400901  0.9165727170  0.8551348250  0.8323765786  74.150360453  0.7025682608  5.3944554329  4500          0.2174251397 
0.8453340996  0.8629065283  0.9963954686  0.8474226804  0.9839633448  0.8235967927  0.9952139640  0.9177001127  0.8559954102  0.8346727899  79.093717816  0.6780332452  5.3944554329  4800          0.2187795782 
0.8469124979  0.8548821742  0.9963954686  0.8268041237  0.9853951890  0.8190148912  0.9952139640  0.9188275085  0.8568559954  0.8369690011  82.389289392  0.6546634454  5.3944554329  5000          0.2204572535 
