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: 3
	output_dir: sweep/ablation3/outputs/f01d5f24f95f0c17f45fc0281a99e6b0
	save_linear_probed_clip: False
	save_model_every_checkpoint: False
	seed: 355491664
	skip_model_save: False
	steps: 5001
	sweep: True
	task: domain_generalization
	test_envs: [2]
	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.5694511041907044
	lambda2: 0.6621108818243455
	last_k_epoch: 0.20248994529588413
	lr: 5e-05
	nonlinear_classifier: False
	resnet18: False
	resnet_dropout: 0
	student_model: resnet
	temperature: 4.502579147595572
	weight_decay: 0.0001
	worst_case_p: 0.2
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.0254912995  0.0175885047  0.0164778579  0.0103092784  0.0097365407  0.0103092784  0.0284346847  0.0225479143  0.0272518646  0.0321469575  0.0000000000  7.9796104431  1.7954735756  0             1.4026505947 
0.6904171995  0.7174891248  0.8300720906  0.7257731959  0.7600229095  0.6746849943  0.6998873874  0.6809470124  0.8152610442  0.7520091848  4.9433573635  5.2653957772  2.0943040848  300           0.3101774049 
0.7752051653  0.7907038073  0.9552008239  0.7917525773  0.8914662085  0.7537227950  0.7860360360  0.7643742954  0.9268502582  0.8266360505  9.8867147271  3.0813317911  2.0943040848  600           0.2987738673 
0.7994327469  0.8211892337  0.9783728115  0.8247422680  0.9309851088  0.7915234822  0.8063063063  0.7925591883  0.9638554217  0.8473019518  14.830072090  2.2124115304  2.0943040848  900           0.3051689227 
0.8135182106  0.8199752841  0.9891864058  0.8164948454  0.9475945017  0.7857961054  0.8186936937  0.8083427283  0.9759036145  0.8576349024  19.773429454  1.7584030775  2.0943040848  1200          0.3100762359 
0.8177443575  0.8287598922  0.9902162719  0.8164948454  0.9630584192  0.8087056128  0.8215090090  0.8139797069  0.9842226047  0.8610792193  24.716786817  1.5354116678  2.0943040848  1500          0.3136734573 
0.8195755821  0.8282999486  0.9933058702  0.8185567010  0.9644902635  0.8075601375  0.8229166667  0.8162344983  0.9922547332  0.8587830080  29.660144181  1.3734679532  2.0943040848  1800          0.3088606183 
0.8190118842  0.8363963947  0.9963954686  0.8474226804  0.9756586483  0.8006872852  0.8229166667  0.8151071026  0.9934021801  0.8610792193  34.603501544  1.2971127603  2.0943040848  2100          0.3025986703 
0.8204208115  0.8437283138  0.9953656025  0.8556701031  0.9756586483  0.8132875143  0.8234797297  0.8173618940  0.9931153184  0.8622273249  39.546858908  1.2415731555  2.0943040848  2400          0.3057447298 
0.8207029778  0.8358592093  0.9948506694  0.8309278351  0.9796678121  0.8190148912  0.8229166667  0.8184892897  0.9956970740  0.8576349024  44.490216271  1.1999763970  2.0943040848  2700          0.2946251146 
0.8219705045  0.8388409522  0.9953656025  0.8432989691  0.9790950745  0.8109965636  0.8243243243  0.8196166855  0.9954102123  0.8622273249  49.433573635  1.1539686243  2.0943040848  3000          0.2961690569 
0.8219698697  0.8425845920  0.9953656025  0.8453608247  0.9822451317  0.8178694158  0.8254504505  0.8184892897  0.9959839357  0.8645235362  54.376930999  1.1084201147  2.0943040848  3300          0.3044088666 
0.8228150991  0.8473990955  0.9948506694  0.8597938144  0.9828178694  0.8132875143  0.8260135135  0.8196166855  0.9968445209  0.8691159587  59.320288362  1.0959939220  2.0943040848  3600          0.2973152932 
0.8240838953  0.8446473244  0.9953656025  0.8412371134  0.9836769759  0.8270332188  0.8251689189  0.8229988726  0.9968445209  0.8656716418  64.263645726  1.0703062065  2.0943040848  3900          0.2984475080 
0.8240832606  0.8363990249  0.9958805355  0.8371134021  0.9845360825  0.8075601375  0.8262950450  0.8218714769  0.9962707975  0.8645235362  69.207003089  0.9585415028  5.4025750160  4200          0.3076172860 
0.8239424948  0.8498401461  0.9943357364  0.8556701031  0.9865406644  0.8281786942  0.8260135135  0.8218714769  0.9962707975  0.8656716418  74.150360453  0.8250922078  5.4025750160  4500          0.3097868832 
0.8245055579  0.8429699241  0.9958805355  0.8453608247  0.9859679267  0.8144329897  0.8271396396  0.8218714769  0.9965576592  0.8691159587  79.093717816  0.7758939008  5.4025750160  4800          0.2946430326 
0.8243641573  0.8367843571  0.9948506694  0.8268041237  0.9853951890  0.8144329897  0.8279842342  0.8207440812  0.9968445209  0.8691159587  82.389289392  0.7469160771  5.4025750160  5000          0.3011930764 
