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: [0]
Args:
	algorithm: Selective_KD
	checkpoint_freq: 300
	data_dir: ./domainbed/data
	dataset: TerraIncognita
	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/19df9f216810235cf3f65d57f3dfd908
	save_linear_probed_clip: False
	save_model_every_checkpoint: False
	seed: 1525920224
	skip_model_save: False
	steps: 5001
	sweep: True
	task: domain_generalization
	test_envs: [0]
	trial_seed: 0
	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 normal transform
using augment 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.1282812220  0.1134888366  0.1152122331  0.1413502110  0.0971883425  0.0924499230  0.1155541562  0.1221662469  0.1353303590  0.1258503401  0.0000000000  4.2055482864  2.3339076042  0             1.5323295593 
0.2628880815  0.6536719593  0.2567888215  0.2689873418  0.7496469380  0.7416538264  0.6297229219  0.6020151134  0.6173783726  0.6173469388  3.0226700252  2.4560661205  2.5991368294  300           0.1664130664 
0.4933436953  0.7672670963  0.4814131294  0.5052742616  0.8342534343  0.8294812532  0.7534634761  0.7367758186  0.7403866582  0.7355442177  6.0453400504  2.1455815188  2.5991368294  600           0.1900286039 
0.5443659537  0.7895822358  0.5286053256  0.5601265823  0.8527410451  0.8541345660  0.7925062972  0.7544080605  0.7680050988  0.7602040816  9.0680100756  2.0219149375  2.5991368294  900           0.1884089430 
0.5460797758  0.8049376354  0.5309781176  0.5611814346  0.8631403261  0.8638931690  0.8198992443  0.7745591940  0.8009347780  0.7763605442  12.090680100  1.8967505344  2.5991368294  1200          0.1869806623 
0.5384335565  0.8204052783  0.5199050883  0.5569620253  0.8736679933  0.8731381613  0.8324937028  0.7947103275  0.8151688974  0.7933673469  15.113350125  1.8265176177  2.5991368294  1500          0.1840809512 
0.5356639087  0.8285324639  0.5249143158  0.5464135021  0.8858646810  0.8803287108  0.8551637280  0.8136020151  0.8332271086  0.7916666667  18.136020151  1.7397256533  2.5991368294  1800          0.1849983509 
0.5418603665  0.8349877460  0.5309781176  0.5527426160  0.8934394659  0.8818695429  0.8778337531  0.8161209068  0.8478861270  0.8069727891  21.158690176  1.6533030375  2.5991368294  2100          0.1898981468 
0.5464742678  0.8498589574  0.5391510678  0.5537974684  0.8978045962  0.8895737031  0.8875944584  0.8224181360  0.8621202464  0.8375850340  24.181360201  1.5659367732  2.5991368294  2400          0.1849370249 
0.5483199117  0.8556780567  0.5417875033  0.5548523207  0.9044806779  0.8936825886  0.8960957179  0.8425692695  0.8748672190  0.8307823129  27.204030226  1.5345246327  2.5991368294  2700          0.1840460261 
0.5538573997  0.8626794588  0.5454785131  0.5622362869  0.9084606496  0.9003595275  0.9112090680  0.8526448363  0.8778415126  0.8350340136  30.226700251  1.4752233640  2.5991368294  3000          0.1902681502 
0.5567580350  0.8699274121  0.5470603744  0.5664556962  0.9168057517  0.9111453518  0.9127833753  0.8602015113  0.8806033567  0.8384353741  33.249370277  1.4162299621  2.5991368294  3300          0.1889215183 
0.5634821971  0.8693926474  0.5510150277  0.5759493671  0.9197586340  0.9111453518  0.9209697733  0.8526448363  0.8937752284  0.8443877551  36.272040302  1.3893898753  2.5991368294  3600          0.1908599567 
0.5667780196  0.8763341782  0.5554969681  0.5780590717  0.9223263577  0.9101181305  0.9294710327  0.8727959698  0.8990864670  0.8460884354  39.294710327  1.1999586191  5.3942589760  3900          0.2061709960 
0.5637455626  0.8744837136  0.5536514632  0.5738396624  0.9250224676  0.9096045198  0.9301007557  0.8677581864  0.9080093478  0.8460884354  42.317380352  0.9656606531  5.3942589760  4200          0.2187760472 
0.5624276229  0.8799237754  0.5489058793  0.5759493671  0.9293875979  0.9183359014  0.9351385390  0.8727959698  0.9088591460  0.8486394558  45.340050377  0.9435607779  5.3942589760  4500          0.2210810248 
0.5604497400  0.8846804376  0.5491695228  0.5717299578  0.9296443703  0.9152542373  0.9363979849  0.8790931990  0.9107711918  0.8596938776  48.362720403  0.9331292427  5.3942589760  4800          0.2216552114 
0.5586039570  0.8916442985  0.5475876615  0.5696202532  0.9305430736  0.9209039548  0.9389168766  0.8841309824  0.9175695772  0.8698979592  50.377833753  0.9168753034  5.3942589760  5000          0.2256455183 
