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/97dca687c7269a6bee416e9a0c7579dc
	save_linear_probed_clip: False
	save_model_every_checkpoint: False
	seed: 1894285085
	skip_model_save: False
	steps: 5001
	sweep: True
	task: domain_generalization
	test_envs: [2]
	trial_seed: 1
	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.6171767606394463
	lambda2: 0.5293911814442921
	last_k_epoch: 0.3102645027326114
	lr: 5e-05
	nonlinear_classifier: False
	resnet18: False
	resnet_dropout: 0
	student_model: resnet
	temperature: 2.022572617872769
	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.0288760258  0.0141371738  0.0087538620  0.0103092784  0.0131729668  0.0194730813  0.0239301802  0.0338218715  0.0131956397  0.0126291619  0.0000000000  10.907251358  1.7954735756  0             1.5721259117 
0.6808394143  0.6828115127  0.7888774459  0.7134020619  0.6824169530  0.5933562428  0.6908783784  0.6708004510  0.7954675846  0.7416762342  4.9433573635  5.7490730524  2.0943040848  300           0.3034156164 
0.7804236554  0.7905563378  0.9361483007  0.7855670103  0.8760022910  0.7525773196  0.7784346847  0.7824126268  0.9168100975  0.8335246843  9.8867147271  3.2790960169  2.0943040848  600           0.3271315090 
0.7949301468  0.8202710999  0.9747682801  0.8288659794  0.9286941581  0.7869415808  0.7939189189  0.7959413754  0.9486517499  0.8450057405  14.830072090  2.3539531652  2.0943040848  900           0.3227743848 
0.8053537962  0.8373882633  0.9860968074  0.8412371134  0.9490263459  0.8109965636  0.8023648649  0.8083427283  0.9718875502  0.8599311137  19.773429454  1.9282940904  2.0943040848  1200          0.3058371329 
0.8100009708  0.8441057552  0.9938208033  0.8453608247  0.9630584192  0.8304696449  0.8082770270  0.8117249154  0.9767641997  0.8564867968  24.716786817  1.6891067286  2.0943040848  1500          0.3089953915 
0.8111270970  0.8443453713  0.9917610711  0.8391752577  0.9644902635  0.8235967927  0.8105292793  0.8117249154  0.9813539874  0.8702640643  29.660144181  1.5534761735  2.0943040848  1800          0.3185711551 
0.8142264830  0.8459455298  0.9927909372  0.8474226804  0.9719358534  0.8247422680  0.8122184685  0.8162344983  0.9859437751  0.8656716418  34.603501544  1.4903168988  2.0943040848  2100          0.3139821951 
0.8164800048  0.8452599981  0.9969104016  0.8453608247  0.9756586483  0.8224513173  0.8144707207  0.8184892897  0.9902467011  0.8679678530  39.546858908  1.4227055581  2.0943040848  2400          0.3046867553 
0.8187335267  0.8459481601  0.9938208033  0.8371134021  0.9793814433  0.8316151203  0.8167229730  0.8207440812  0.9911072863  0.8691159587  44.490216271  1.3935317632  2.0943040848  2700          0.3108235367 
0.8238049030  0.8507626636  0.9958805355  0.8412371134  0.9799541810  0.8373424971  0.8201013514  0.8275084555  0.9922547332  0.8737083812  49.433573635  1.3296849120  2.0943040848  3000          0.3147717317 
0.8250736993  0.8514517023  0.9948506694  0.8432989691  0.9796678121  0.8350515464  0.8192567568  0.8308906426  0.9942627653  0.8760045924  54.376930999  1.3104672809  2.0943040848  3300          0.3076882744 
0.8242278351  0.8559572388  0.9963954686  0.8556701031  0.9819587629  0.8361970218  0.8198198198  0.8286358512  0.9939759036  0.8760045924  59.320288362  1.1747515625  5.4016079903  3600          0.3123871636 
0.8250730645  0.8504572035  0.9933058702  0.8494845361  0.9839633448  0.8281786942  0.8203828829  0.8297632469  0.9931153184  0.8737083812  64.263645726  0.9324768702  5.4016079903  3900          0.3033726279 
0.8264819917  0.8541244782  0.9948506694  0.8536082474  0.9851088202  0.8327605956  0.8209459459  0.8320180383  0.9945496271  0.8760045924  69.207003089  0.8768725983  5.4016079903  4200          0.2952945773 
0.8276081179  0.8581753315  0.9963954686  0.8577319588  0.9833906071  0.8361970218  0.8231981982  0.8320180383  0.9956970740  0.8805970149  74.150360453  0.8402994645  5.4016079903  4500          0.3016168658 
0.8298622745  0.8552682001  0.9969104016  0.8639175258  0.9839633448  0.8281786942  0.8243243243  0.8354002255  0.9962707975  0.8737083812  79.093717816  0.8072041672  5.4016079903  4800          0.3043925039 
0.8300030403  0.8545133173  0.9948506694  0.8536082474  0.9828178694  0.8247422680  0.8246058559  0.8354002255  0.9954102123  0.8851894374  82.389289392  0.7923852143  5.4016079903  5000          0.2954474342 
