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: 4
	output_dir: sweep/ablation3/outputs/1d41f2cb8f386649313ad4be7393d669
	save_linear_probed_clip: False
	save_model_every_checkpoint: False
	seed: 2108579284
	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.5122476832929141
	lambda2: 0.9892716333303577
	last_k_epoch: 0.2899069879248226
	lr: 3e-05
	nonlinear_classifier: False
	resnet18: False
	resnet_dropout: 0
	student_model: resnet
	temperature: 2.19589595208549
	weight_decay: 0.0001
	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.0138045670  0.0181915342  0.0226570546  0.0144329897  0.0229095074  0.0183276060  0.0106981982  0.0169109357  0.0192197361  0.0218140069  0.0000000000  8.6734790802  2.1706647873  0             1.4534192085 
0.7215423036  0.7256750872  0.8274974253  0.7422680412  0.7428407789  0.6632302405  0.7339527027  0.7091319053  0.8376362593  0.7715269805  4.9433573635  6.1577890547  2.4395728111  300           0.2991272116 
0.7943632749  0.8020821960  0.9443872297  0.8247422680  0.8739977090  0.7548682703  0.7995495495  0.7891770011  0.9343086632  0.8266360505  9.8867147271  3.2202180394  2.4395728111  600           0.2978357848 
0.7992894419  0.8244711763  0.9732234809  0.8391752577  0.9172394044  0.7892325315  0.8105292793  0.7880496054  0.9532415376  0.8450057405  14.830072090  2.4232600216  2.4395728111  900           0.2945433680 
0.8073188037  0.8300554674  0.9860968074  0.8432989691  0.9381443299  0.7892325315  0.8164414414  0.7981961669  0.9687320711  0.8576349024  19.773429454  2.0541902975  2.4395728111  1200          0.2945499094 
0.8129513388  0.8261538371  0.9871266735  0.8350515464  0.9538946163  0.7949599084  0.8243243243  0.8015783540  0.9753298910  0.8484500574  24.716786817  1.8300734031  2.4395728111  1500          0.3037594517 
0.8140780997  0.8245501716  0.9907312049  0.8268041237  0.9624856816  0.7983963345  0.8254504505  0.8027057497  0.9845094664  0.8484500574  29.660144181  1.6952474642  2.4395728111  1800          0.3058010761 
0.8174596520  0.8286001482  0.9917610711  0.8309278351  0.9673539519  0.8029782360  0.8265765766  0.8083427283  0.9845094664  0.8518943743  34.603501544  1.5918906804  2.4395728111  2100          0.2950046198 
0.8156277927  0.8283684228  0.9922760041  0.8371134021  0.9713631157  0.7995418099  0.8262950450  0.8049605411  0.9879518072  0.8484500574  39.546858908  1.5398563937  2.4395728111  2400          0.3055291390 
0.8177399140  0.8278408817  0.9927909372  0.8412371134  0.9739404353  0.7846506300  0.8293918919  0.8060879369  0.9893861159  0.8576349024  44.490216271  1.4836914814  2.4395728111  2700          0.3009586096 
0.8199947054  0.8289819733  0.9948506694  0.8309278351  0.9742268041  0.8041237113  0.8293918919  0.8105975197  0.9916810098  0.8518943743  49.433573635  1.4263355637  2.4395728111  3000          0.3048575846 
0.8192908766  0.8399820439  0.9958805355  0.8536082474  0.9793814433  0.8098510882  0.8279842342  0.8105975197  0.9925415950  0.8564867968  54.376930999  1.3668308663  2.4395728111  3300          0.3184457254 
0.8195724081  0.8311974358  0.9943357364  0.8329896907  0.9793814433  0.8075601375  0.8285472973  0.8105975197  0.9919678715  0.8530424799  59.320288362  1.3400715780  5.3996052742  3600          0.2967919429 
0.8201367408  0.8368563383  0.9953656025  0.8350515464  0.9796678121  0.8121420389  0.8274211712  0.8128523112  0.9936890419  0.8633754305  64.263645726  1.1600646794  5.3996052742  3900          0.2975896502 
0.8214049022  0.8350929288  0.9958805355  0.8412371134  0.9765177549  0.8098510882  0.8277027027  0.8151071026  0.9945496271  0.8541905855  69.207003089  1.0729731383  5.3996052742  4200          0.2989428981 
0.8216870686  0.8380755485  0.9948506694  0.8432989691  0.9819587629  0.8109965636  0.8271396396  0.8162344983  0.9945496271  0.8599311137  74.150360453  1.0194327803  5.3996052742  4500          0.3112550569 
0.8235189279  0.8305145343  0.9958805355  0.8412371134  0.9822451317  0.7915234822  0.8274211712  0.8196166855  0.9962707975  0.8587830080  79.093717816  0.9787496767  5.3996052742  4800          0.3091684572 
0.8235189279  0.8392973889  0.9948506694  0.8515463918  0.9819587629  0.8064146621  0.8274211712  0.8196166855  0.9956970740  0.8599311137  82.389289392  0.9481280288  5.3996052742  5000          0.2898807168 
