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: [1]
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: 4
	output_dir: sweep/ablation3/outputs/64baacb6f99287926c6042a595bcc0c8
	save_linear_probed_clip: False
	save_model_every_checkpoint: False
	seed: 1132633905
	skip_model_save: False
	steps: 5001
	sweep: True
	task: domain_generalization
	test_envs: [1]
	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.8001163740830898
	lambda2: 0.7340462818445315
	last_k_epoch: 0.3149495809125332
	lr: 3e-05
	nonlinear_classifier: False
	resnet18: False
	resnet_dropout: 0
	student_model: resnet
	temperature: 2.8284464949429635
	weight_decay: 1e-06
	worst_case_p: 0.2
using augment transform
using normal transform
using augment 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.0084478809  0.0129982644  0.0118434604  0.0185567010  0.0100229095  0.0068728522  0.0115427928  0.0124013529  0.0111876076  0.0080367394  0.0000000000  11.172229766  1.7954735756  0             1.4470796585 
0.4448739975  0.7803818046  0.8213182286  0.7463917526  0.4727949599  0.4169530355  0.8479729730  0.8105975197  0.8241537579  0.7841561424  4.9433573635  6.5899894746  2.0943040848  300           0.3032946897 
0.5180412369  0.8440934438  0.9500514933  0.8020618557  0.5343642612  0.5017182131  0.9363738739  0.8737316798  0.9225473322  0.8564867968  9.8867147271  3.4635559082  2.0943040848  600           0.3129486783 
0.5339347076  0.8509842598  0.9685890834  0.8000000000  0.5478235968  0.5200458190  0.9560810811  0.8861330327  0.9535283993  0.8668197474  14.830072090  2.5689929207  2.0943040848  900           0.2915041113 
0.5412371131  0.8653501913  0.9840370752  0.8226804124  0.5544100802  0.5280641466  0.9738175676  0.8996617813  0.9701663798  0.8737083812  19.773429454  2.1693280562  2.0943040848  1200          0.2995858804 
0.5451030925  0.8581855749  0.9876416066  0.8103092784  0.5598510882  0.5303550974  0.9777590090  0.8962795941  0.9724612737  0.8679678530  24.716786817  1.9388009544  2.0943040848  1500          0.3097416083 
0.5469644900  0.8616229885  0.9917610711  0.8103092784  0.5624284078  0.5315005727  0.9842342342  0.8974069899  0.9845094664  0.8771526980  29.660144181  1.8242889090  2.0943040848  1800          0.3047442428 
0.5526918668  0.8690566843  0.9933058702  0.8350515464  0.5670103093  0.5383734250  0.9884572072  0.9052987599  0.9836488812  0.8668197474  34.603501544  1.6977377125  2.0943040848  2100          0.3062577661 
0.5546964487  0.8735603513  0.9933058702  0.8247422680  0.5710194731  0.5383734250  0.9890202703  0.9210822999  0.9853700516  0.8748564868  39.546858908  1.6394256485  2.0943040848  2400          0.2993766125 
0.5565578462  0.8743762603  0.9963954686  0.8226804124  0.5724513173  0.5406643757  0.9929617117  0.9255918828  0.9888123924  0.8748564868  44.490216271  1.5726278317  2.0943040848  2700          0.3078375951 
0.5581328749  0.8760771115  0.9938208033  0.8185567010  0.5733104238  0.5429553265  0.9915540541  0.9233370913  0.9913941480  0.8863375431  49.433573635  1.5284400463  2.0943040848  3000          0.3031403295 
0.5597079035  0.8759198870  0.9938208033  0.8329896907  0.5753150057  0.5441008018  0.9918355856  0.9222096956  0.9934021801  0.8725602755  54.376930999  1.4767389027  2.0943040848  3300          0.3050365941 
0.5615693010  0.8748132012  0.9943357364  0.8329896907  0.5756013746  0.5475372279  0.9915540541  0.9154453213  0.9942627653  0.8760045924  59.320288362  1.3876804916  5.4026646614  3600          0.2958406067 
0.5637170673  0.8732786600  0.9953656025  0.8206185567  0.5787514318  0.5486827033  0.9935247748  0.9301014656  0.9939759036  0.8691159587  64.263645726  1.1815237852  5.4026646614  3900          0.3014184244 
0.5641466206  0.8770817992  0.9953656025  0.8329896907  0.5796105384  0.5486827033  0.9943693694  0.9199549042  0.9948364888  0.8783008037  69.207003089  1.0999981042  5.4026646614  4200          0.3004139479 
0.5622852231  0.8758932612  0.9948506694  0.8226804124  0.5781786942  0.5463917526  0.9963400901  0.9278466742  0.9939759036  0.8771526980  74.150360453  1.0503782624  5.4026646614  4500          0.3046853805 
0.5621420387  0.8752740216  0.9958805355  0.8309278351  0.5790378007  0.5452462772  0.9929617117  0.9154453213  0.9939759036  0.8794489093  79.093717816  1.0032380193  5.4026646614  4800          0.2920225080 
0.5632875140  0.8733614997  0.9953656025  0.8206185567  0.5801832761  0.5463917526  0.9949324324  0.9165727170  0.9956970740  0.8828932262  82.389289392  0.9729315642  5.4026646614  5000          0.3072580647 
