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: [3]
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/2e1a634cd03f0633ea8f39a73c20bc33
	save_linear_probed_clip: False
	save_model_every_checkpoint: False
	seed: 1713123713
	skip_model_save: False
	steps: 5001
	sweep: True
	task: domain_generalization
	test_envs: [3]
	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.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 augment transform
using augment transform
using augment transform
using normal 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.0248649970  0.0403822694  0.0482467704  0.0369198312  0.0337655668  0.0313302517  0.0626574307  0.0528967254  0.0233694498  0.0263605442  0.0000000000  4.8727898598  2.3339076042  0             1.5703988075 
0.3270639038  0.7282648880  0.7993672555  0.7985232068  0.7586339710  0.7565485362  0.6350755668  0.6297229219  0.3275971957  0.3265306122  3.0226700252  2.4665732872  2.5991368294  300           0.1589860543 
0.4053773037  0.8251793957  0.8900606380  0.8850210970  0.8446527154  0.8335901387  0.7729848866  0.7569269521  0.4034416826  0.4073129252  6.0453400504  2.0256921570  2.5991368294  600           0.1777263562 
0.4292860067  0.8507188860  0.9156340627  0.9040084388  0.8577481063  0.8572162301  0.8132871537  0.7909319899  0.4257488846  0.4328231293  9.0680100756  1.8635279417  2.5991368294  900           0.1811584282 
0.4404434015  0.8687311786  0.9351436857  0.9166666667  0.8704583387  0.8608115049  0.8454030227  0.8287153652  0.4361589123  0.4447278912  12.090680100  1.7195124424  2.5991368294  1200          0.1861062320 
0.4494749459  0.8769694036  0.9496440812  0.9208860759  0.8830401849  0.8787878788  0.8586272040  0.8312342569  0.4465689399  0.4523809524  15.113350125  1.6064975174  2.5991368294  1500          0.1809652893 
0.4552124385  0.8835784858  0.9538623781  0.9345991561  0.8917704455  0.8823831536  0.8775188917  0.8337531486  0.4537922243  0.4566326531  18.136020151  1.5149173144  2.5991368294  1800          0.1879285447 
0.4614818679  0.8895490797  0.9609807540  0.9377637131  0.8993452305  0.8895737031  0.8938916877  0.8413098237  0.4595283620  0.4634353741  21.158690176  1.4436659122  2.5991368294  2100          0.1923545527 
0.4658378964  0.8882357898  0.9641444767  0.9367088608  0.9071767878  0.8967642527  0.9102644836  0.8312342569  0.4656893988  0.4659863946  24.181360201  1.4087619054  2.5991368294  2400          0.1989945952 
0.4659441212  0.9048856309  0.9686264171  0.9483122363  0.9094877391  0.8998459168  0.9137279597  0.8664987406  0.4659018483  0.4659863946  27.204030226  1.3881325698  2.5991368294  2700          0.1915870627 
0.4670069109  0.9032135467  0.9717901397  0.9472573840  0.9162922070  0.9034411916  0.9285264484  0.8589420655  0.4663267474  0.4676870748  30.226700251  1.3618731459  2.5991368294  3000          0.1912646691 
0.4687075912  0.9090967197  0.9741629317  0.9409282700  0.9202721787  0.9060092450  0.9256926952  0.8803526448  0.4663267474  0.4710884354  33.249370277  1.3327938004  2.5991368294  3300          0.1923040462 
0.4692387150  0.9163322441  0.9738992882  0.9535864979  0.9233534472  0.9049820236  0.9338790932  0.8904282116  0.4673889951  0.4710884354  36.272040302  1.3122686521  2.5991368294  3600          0.1930775166 
0.4683883749  0.9158442309  0.9767993673  0.9546413502  0.9278469637  0.9049820236  0.9373425693  0.8879093199  0.4673889951  0.4693877551  39.294710327  1.1410907882  5.3942589760  3900          0.2060270476 
0.4697703808  0.9235438631  0.9775902979  0.9546413502  0.9284888946  0.9142270159  0.9467884131  0.9017632242  0.4667516465  0.4727891156  42.317380352  0.9364159171  5.3942589760  4200          0.2224987022 
0.4707269457  0.9200049270  0.9789085157  0.9535864979  0.9340095006  0.9147406266  0.9474181360  0.8916876574  0.4669640960  0.4744897959  45.340050377  0.9148640492  5.3942589760  4500          0.2207124154 
0.4700895971  0.9227298301  0.9812813077  0.9556962025  0.9346514315  0.9157678480  0.9527707809  0.8967254408  0.4656893988  0.4744897959  48.362720403  0.9115795793  5.3942589760  4800          0.2230785322 
0.4698771476  0.9194821060  0.9802267335  0.9525316456  0.9406855822  0.9142270159  0.9534005038  0.8916876574  0.4652644997  0.4744897959  50.377833753  0.9019023362  5.3942589760  5000          0.2209447396 
