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: 2
	output_dir: sweep/ablation3/outputs/336468d0f1c2272ef5182792bed35de6
	save_linear_probed_clip: False
	save_model_every_checkpoint: False
	seed: 1887186566
	skip_model_save: False
	steps: 5001
	sweep: True
	task: domain_generalization
	test_envs: [1]
	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.5439617198173775
	lambda2: 0.5509403872292429
	last_k_epoch: 0.38252238504986713
	lr: 5e-05
	nonlinear_classifier: False
	resnet18: False
	resnet_dropout: 0
	student_model: resnet
	temperature: 4.920147743151585
	weight_decay: 1e-06
	worst_case_p: 0.3
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.0234822451  0.0121121276  0.0133882595  0.0123711340  0.0240549828  0.0229095074  0.0129504505  0.0078917700  0.0177854274  0.0160734788  0.0000000000  7.3207230568  2.1706647873  0             1.5817744732 
0.5021477661  0.8308539205  0.9098867147  0.7896907216  0.5083046964  0.4959908362  0.9130067568  0.8624577227  0.9027538726  0.8404133180  4.9433573635  4.1977604532  2.4395728111  300           0.3013557506 
0.5415234820  0.8732664049  0.9830072091  0.8350515464  0.5423825888  0.5406643757  0.9673423423  0.9052987599  0.9569707401  0.8794489093  9.8867147271  1.9405506253  2.4395728111  600           0.3087911558 
0.5473940433  0.8795460792  0.9917610711  0.8494845361  0.5552691867  0.5395189003  0.9833896396  0.9154453213  0.9799196787  0.8737083812  14.830072090  1.4575224773  2.4395728111  900           0.3050385960 
0.5574169528  0.8898573325  0.9943357364  0.8597938144  0.5684421535  0.5463917526  0.9887387387  0.9177001127  0.9850831899  0.8920780712  19.773429454  1.2745460331  2.4395728111  1200          0.3090761733 
0.5607101945  0.8868393195  0.9948506694  0.8577319588  0.5727376861  0.5486827033  0.9918355856  0.9233370913  0.9902467011  0.8794489093  24.716786817  1.1595838340  2.4395728111  1500          0.3080349151 
0.5655784648  0.8902065053  0.9948506694  0.8494845361  0.5756013746  0.5555555556  0.9923986486  0.9244644870  0.9922547332  0.8966704937  29.660144181  1.0784806603  2.4395728111  1800          0.3117342695 
0.5678694155  0.8909433084  0.9963954686  0.8597938144  0.5778923253  0.5578465063  0.9935247748  0.9278466742  0.9928284567  0.8851894374  34.603501544  1.0264590033  2.4395728111  2100          0.2980153139 
0.5718785793  0.8907742522  0.9974253347  0.8536082474  0.5836197022  0.5601374570  0.9935247748  0.9312288613  0.9948364888  0.8874856487  39.546858908  0.9911327372  2.4395728111  2400          0.3016198174 
0.5727376859  0.8866633600  0.9953656025  0.8515463918  0.5864833906  0.5589919817  0.9954954955  0.9278466742  0.9954102123  0.8805970149  44.490216271  0.9805143098  2.4395728111  2700          0.3064965979 
0.5743127145  0.8986133347  0.9953656025  0.8577319588  0.5884879725  0.5601374570  0.9960585586  0.9379932356  0.9956970740  0.9001148106  49.433573635  0.9483934551  2.4395728111  3000          0.3023619890 
0.5756013743  0.8947932192  0.9958805355  0.8577319588  0.5887743414  0.5624284078  0.9957770270  0.9368658399  0.9948364888  0.8897818599  54.376930999  0.8547050929  5.3998112679  3300          0.3163912066 
0.5750286366  0.8975285535  0.9969104016  0.8659793814  0.5876288660  0.5624284078  0.9954954955  0.9391206313  0.9965576592  0.8874856487  59.320288362  0.7520406961  5.3998112679  3600          0.3259704320 
0.5776059562  0.8971399358  0.9953656025  0.8556701031  0.5893470790  0.5658648339  0.9957770270  0.9413754228  0.9971313827  0.8943742824  64.263645726  0.7112429100  5.3998112679  3900          0.3154836377 
0.5783218783  0.8945864769  0.9969104016  0.8639175258  0.5907789233  0.5658648339  0.9963400901  0.9323562570  0.9959839357  0.8874856487  69.207003089  0.6777757400  5.3998112679  4200          0.3092674414 
0.5770332185  0.8911638574  0.9974253347  0.8536082474  0.5904925544  0.5635738832  0.9969031532  0.9301014656  0.9971313827  0.8897818599  74.150360453  0.6481568623  5.3998112679  4500          0.3158419800 
0.5763172964  0.8987042724  0.9958805355  0.8659793814  0.5913516609  0.5612829324  0.9969031532  0.9346110485  0.9985656913  0.8955223881  79.093717816  0.6208823627  5.3998112679  4800          0.3083267109 
0.5770332185  0.8987042724  0.9974253347  0.8659793814  0.5916380298  0.5624284078  0.9960585586  0.9346110485  0.9974182444  0.8955223881  82.389289392  0.6054372433  5.3998112679  5000          0.3100535572 
