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: 0
	output_dir: sweep/ablation3/outputs/79973fb1a09e12f3712696beb292b83d
	save_linear_probed_clip: False
	save_model_every_checkpoint: False
	seed: 1793015442
	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.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 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.0101414831  0.0116899861  0.0097837281  0.0144329897  0.0134593356  0.0126002291  0.0090090090  0.0112739572  0.0114744693  0.0080367394  0.0000000000  7.3367748260  2.3353104591  0             1.5661079884 
0.7426768471  0.7475347728  0.9016477858  0.7505154639  0.8104238259  0.6953035510  0.7412725225  0.7440811725  0.8823866896  0.7967853042  4.9433573635  4.3939687880  2.5970582962  300           0.3004439990 
0.7956320712  0.8115628569  0.9727085479  0.8164948454  0.9140893471  0.7766323024  0.7987049550  0.7925591883  0.9555364314  0.8415614237  9.8867147271  2.1155344967  2.5970582962  600           0.2867014194 
0.8042238613  0.8201315212  0.9866117405  0.8123711340  0.9441580756  0.7857961054  0.8068693694  0.8015783540  0.9716006885  0.8622273249  14.830072090  1.5602055371  2.5970582962  900           0.2997678582 
0.8085914088  0.8219537607  0.9938208033  0.8144329897  0.9581901489  0.8029782360  0.8088400901  0.8083427283  0.9833620195  0.8484500574  19.773429454  1.3156690280  2.5970582962  1200          0.3041519801 
0.8111270970  0.8377806094  0.9897013388  0.8412371134  0.9690721649  0.7983963345  0.8105292793  0.8117249154  0.9839357430  0.8737083812  24.716786817  1.2030892183  2.5970582962  1500          0.3002736259 
0.8146481455  0.8307462596  0.9953656025  0.8247422680  0.9707903780  0.8052691867  0.8141891892  0.8151071026  0.9934021801  0.8622273249  29.660144181  1.1342698848  2.5970582962  1800          0.3187694105 
0.8171831989  0.8385398759  0.9948506694  0.8412371134  0.9756586483  0.8064146621  0.8170045045  0.8173618940  0.9936890419  0.8679678530  34.603501544  1.0865197474  2.5970582962  2100          0.2954700335 
0.8184513603  0.8358609628  0.9953656025  0.8309278351  0.9765177549  0.8167239404  0.8172860360  0.8196166855  0.9936890419  0.8599311137  39.546858908  1.0313916544  2.5970582962  2400          0.3071776470 
0.8188723880  0.8475562093  0.9974253347  0.8453608247  0.9805269187  0.8224513173  0.8203828829  0.8173618940  0.9942627653  0.8748564868  44.490216271  1.0079492096  2.5970582962  2700          0.2936434587 
0.8198583832  0.8393079099  0.9953656025  0.8309278351  0.9796678121  0.8132875143  0.8212274775  0.8184892897  0.9948364888  0.8737083812  49.433573635  0.9798384269  2.5970582962  3000          0.3002493207 
0.8198577484  0.8419016905  0.9948506694  0.8432989691  0.9810996564  0.8121420389  0.8223536036  0.8173618940  0.9965576592  0.8702640643  54.376930999  0.9501913911  2.5970582962  3300          0.2964414891 
0.8188711185  0.8403024087  0.9953656025  0.8350515464  0.9816723940  0.8098510882  0.8226351351  0.8151071026  0.9965576592  0.8760045924  59.320288362  0.9467144148  2.5970582962  3600          0.3026742673 
0.8215475724  0.8435861048  0.9969104016  0.8391752577  0.9828178694  0.8155784651  0.8246058559  0.8184892897  0.9977051061  0.8760045924  64.263645726  0.8674277226  5.3944554329  3900          0.3033809511 
0.8197163478  0.8446552151  0.9948506694  0.8412371134  0.9839633448  0.8167239404  0.8231981982  0.8162344983  0.9968445209  0.8760045924  69.207003089  0.7371051977  5.3944554329  4200          0.2895361861 
0.8197163478  0.8453398701  0.9963954686  0.8432989691  0.9831042383  0.8201603666  0.8231981982  0.8162344983  0.9974182444  0.8725602755  74.150360453  0.6963408707  5.3944554329  4500          0.3084233165 
0.8194348163  0.8390770613  0.9969104016  0.8268041237  0.9848224513  0.8190148912  0.8226351351  0.8162344983  0.9968445209  0.8714121699  79.093717816  0.6716521466  5.3944554329  4800          0.2970290216 
0.8194348163  0.8455733489  0.9948506694  0.8474226804  0.9842497136  0.8109965636  0.8226351351  0.8162344983  0.9974182444  0.8783008037  82.389289392  0.6547051087  5.3944554329  5000          0.3078359807 
