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: 2
	output_dir: sweep/ablation3/outputs/961203e96939746a9ae53274359d33e4
	save_linear_probed_clip: False
	save_model_every_checkpoint: False
	seed: 1598262067
	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.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 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.0198587645  0.0129170870  0.0128733265  0.0123711340  0.0151775487  0.0114547537  0.0205518018  0.0191657272  0.0177854274  0.0149253731  0.0000000000  7.1210680008  2.1706647873  0             1.7107019424 
0.7177416280  0.7439315886  0.8630278064  0.7546391753  0.7840778923  0.6987399771  0.7263513514  0.7091319053  0.8542742398  0.7784156142  4.9433573635  4.5068491944  2.4395728111  300           0.3138367112 
0.7890135410  0.8233309614  0.9716786818  0.8288659794  0.9106529210  0.7892325315  0.7899774775  0.7880496054  0.9503729203  0.8518943743  9.8867147271  2.2716662252  2.4395728111  600           0.3087996141 
0.7952097739  0.8367755896  0.9881565396  0.8474226804  0.9464490263  0.8052691867  0.7978603604  0.7925591883  0.9704532415  0.8576349024  14.830072090  1.6166376380  2.4395728111  900           0.3224077654 
0.8052123956  0.8425029664  0.9943357364  0.8474226804  0.9604810997  0.8224513173  0.8032094595  0.8072153326  0.9822145726  0.8576349024  19.773429454  1.3637840509  2.4395728111  1200          0.3133895628 
0.8101423714  0.8437248068  0.9958805355  0.8556701031  0.9693585338  0.8178694158  0.8074324324  0.8128523112  0.9862306368  0.8576349024  24.716786817  1.1907894075  2.4395728111  1500          0.2983650947 
0.8145086493  0.8454908467  0.9953656025  0.8494845361  0.9750859107  0.8167239404  0.8116554054  0.8173618940  0.9902467011  0.8702640643  29.660144181  1.1379828610  2.4395728111  1800          0.3145232932 
0.8185940305  0.8503825920  0.9953656025  0.8515463918  0.9822451317  0.8235967927  0.8141891892  0.8229988726  0.9922547332  0.8760045924  34.603501544  1.0766771915  2.4395728111  2100          0.3187362067 
0.8183112294  0.8509882517  0.9933058702  0.8659793814  0.9802405498  0.8178694158  0.8158783784  0.8207440812  0.9951233505  0.8691159587  39.546858908  1.0224348225  2.4395728111  2400          0.3045278462 
0.8219736785  0.8606927471  0.9969104016  0.8721649485  0.9808132875  0.8327605956  0.8186936937  0.8252536640  0.9945496271  0.8771526980  44.490216271  0.9772856019  2.4395728111  2700          0.3155642565 
0.8229596736  0.8542069805  0.9953656025  0.8618556701  0.9813860252  0.8167239404  0.8195382883  0.8263810598  0.9965576592  0.8840413318  49.433573635  0.9854511734  2.4395728111  3000          0.3047073746 
0.8221138094  0.8516869347  0.9963954686  0.8474226804  0.9842497136  0.8235967927  0.8201013514  0.8241262683  0.9956970740  0.8840413318  54.376930999  0.8633402658  5.3998112679  3300          0.3085809692 
0.8236635024  0.8550364748  0.9953656025  0.8804123711  0.9836769759  0.8144329897  0.8209459459  0.8263810598  0.9956970740  0.8702640643  59.320288362  0.7586437452  5.3998112679  3600          0.3139344811 
0.8221131746  0.8619979665  0.9943357364  0.8680412371  0.9848224513  0.8316151203  0.8212274775  0.8229988726  0.9962707975  0.8863375431  64.263645726  0.7201443201  5.3998112679  3900          0.3125989374 
0.8214093458  0.8603205662  0.9974253347  0.8618556701  0.9873997709  0.8293241695  0.8198198198  0.8229988726  0.9959839357  0.8897818599  69.207003089  0.6889277180  5.3998112679  4200          0.3005630072 
0.8226775073  0.8652825393  0.9969104016  0.8824742268  0.9848224513  0.8258877434  0.8201013514  0.8252536640  0.9971313827  0.8874856487  74.150360453  0.6673462204  5.3998112679  4500          0.3057662694 
0.8232412051  0.8578733784  0.9943357364  0.8659793814  0.9865406644  0.8224513173  0.8201013514  0.8263810598  0.9965576592  0.8851894374  79.093717816  0.6421378090  5.3998112679  4800          0.3075924293 
0.8250730645  0.8517545322  0.9963954686  0.8659793814  0.9848224513  0.8167239404  0.8203828829  0.8297632469  0.9968445209  0.8725602755  82.389289392  0.6214480031  5.3998112679  5000          0.2999237967 
