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: VLCS
	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/64c92d72f95558719510cbce8083e1bf
	save_linear_probed_clip: False
	save_model_every_checkpoint: False
	seed: 1274034050
	skip_model_save: False
	steps: 5001
	sweep: True
	task: domain_generalization
	test_envs: [1]
	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 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.3593796387  0.1930934049  0.1245583039  0.0812720848  0.3552941176  0.3634651601  0.2650418888  0.2713414634  0.2506479082  0.2266666667  0.0000000000  4.8376379013  2.3337798119  0             1.4643702507 
0.6366199177  0.8992565005  1.0000000000  0.9964664311  0.6385882353  0.6346516008  0.8945163747  0.8094512195  0.9374305813  0.8918518519  8.4805653710  1.3119187389  2.5977830887  300           0.1612397695 
0.6530944940  0.9054870518  1.0000000000  1.0000000000  0.6545882353  0.6516007533  0.9341203351  0.8216463415  0.9585338763  0.8948148148  16.961130742  0.8198526231  2.5977830887  600           0.1799350786 
0.6533306743  0.9087822458  1.0000000000  0.9964664311  0.6512941176  0.6553672316  0.9508758568  0.8246951220  0.9737134395  0.9051851852  25.441696113  0.7053838703  2.5977830887  900           0.1844717367 
0.6516831724  0.9054584459  1.0000000000  1.0000000000  0.6498823529  0.6534839925  0.9702970297  0.8185975610  0.9811181044  0.8977777778  33.922261484  0.6328622354  2.5977830887  1200          0.1804578853 
0.6465049293  0.9085644381  1.0000000000  1.0000000000  0.6470588235  0.6459510358  0.9771515613  0.8338414634  0.9855609034  0.8918518519  42.402826855  0.5971643473  2.5977830887  1500          0.1810779579 
0.6469759607  0.9069828362  1.0000000000  1.0000000000  0.6461176471  0.6478342750  0.9855293222  0.8231707317  0.9863013699  0.8977777778  50.883392226  0.5886954484  2.5977830887  1800          0.1841476059 
0.6469759607  0.9095520924  1.0000000000  1.0000000000  0.6461176471  0.6478342750  0.9885757807  0.8338414634  0.9914846353  0.8948148148  59.363957597  0.5989160998  2.5977830887  2100          0.1831950553 
0.6472112548  0.9110049681  1.0000000000  1.0000000000  0.6465882353  0.6478342750  0.9904798172  0.8307926829  0.9925953351  0.9022222222  67.844522968  0.5635664639  2.5977830887  2400          0.1801097075 
0.6460343411  0.9047601139  1.0000000000  0.9964664311  0.6461176471  0.6459510358  0.9916222391  0.8170731707  0.9940762680  0.9007407407  76.325088339  0.5512439173  2.5977830887  2700          0.1827732221 
0.6436809568  0.9094948808  1.0000000000  1.0000000000  0.6432941176  0.6440677966  0.9950495050  0.8277439024  0.9970381340  0.9007407407  84.805653710  0.5573977360  2.5977830887  3000          0.1837796259 
0.6432103686  0.9049217100  1.0000000000  1.0000000000  0.6423529412  0.6440677966  0.9942878903  0.8140243902  0.9951869678  0.9007407407  93.286219081  0.5659496616  2.5977830887  3300          0.1874379945 
0.6420330118  0.9069685333  1.0000000000  1.0000000000  0.6437647059  0.6403013183  0.9946686976  0.8216463415  0.9966679008  0.8992592593  101.76678445  0.5427344514  2.5977830887  3600          0.1855403837 
0.6417981608  0.9064890090  1.0000000000  1.0000000000  0.6414117647  0.6421845574  0.9965727342  0.8231707317  0.9974083673  0.8962962963  110.24734982  0.4407345592  5.3947153091  3900          0.1997385001 
0.6413275725  0.9019015354  1.0000000000  1.0000000000  0.6404705882  0.6421845574  0.9984767708  0.8079268293  0.9981488338  0.8977777778  118.72791519  0.3039187587  5.3947153091  4200          0.2132514191 
0.6403863960  0.9054584459  1.0000000000  1.0000000000  0.6385882353  0.6421845574  0.9958111196  0.8185975610  0.9970381340  0.8977777778  127.20848056  0.2929621025  5.3947153091  4500          0.2140048385 
0.6399153647  0.9085358323  1.0000000000  1.0000000000  0.6395294118  0.6403013183  0.9969535415  0.8307926829  0.9970381340  0.8948148148  135.68904593  0.2844818610  5.3947153091  4800          0.2139884059 
0.6403859529  0.9074337546  1.0000000000  1.0000000000  0.6404705882  0.6403013183  0.9969535415  0.8185975610  0.9977786005  0.9037037037  141.34275618  0.2787606831  5.3947153091  5000          0.2166111875 
