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: 0
	output_dir: sweep/ablation3/outputs/c02610304b080d17eed3356f8003c375
	save_linear_probed_clip: False
	save_model_every_checkpoint: False
	seed: 328916664
	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.0110252005  0.0074287674  0.0092687951  0.0041237113  0.0117411226  0.0103092784  0.0121058559  0.0112739572  0.0088927137  0.0068886338  0.0000000000  8.3234186172  2.3353104591  0             1.5775649548 
0.5263459333  0.8194209801  0.9145211123  0.7711340206  0.5349369989  0.5177548683  0.9180743243  0.8444193912  0.9036144578  0.8427095293  4.9433573635  4.1851808536  2.5970582962  300           0.3080166888 
0.5505441005  0.8690773942  0.9783728115  0.8350515464  0.5684421535  0.5326460481  0.9704391892  0.9019165727  0.9601262192  0.8702640643  9.8867147271  1.8656240141  2.5970582962  600           0.2981989352 
0.5591351658  0.8738479584  0.9907312049  0.8391752577  0.5730240550  0.5452462772  0.9822635135  0.9098083427  0.9741824441  0.8725602755  14.830072090  1.4233081770  2.5970582962  900           0.2984095327 
0.5627147764  0.8696530318  0.9927909372  0.8288659794  0.5813287514  0.5441008018  0.9862049550  0.9086809470  0.9822145726  0.8714121699  19.773429454  1.2636474601  2.5970582962  1200          0.3060886010 
0.5652920959  0.8815169972  0.9969104016  0.8474226804  0.5841924399  0.5463917526  0.9898648649  0.9188275085  0.9893861159  0.8783008037  24.716786817  1.1750326943  2.5970582962  1500          0.2900288320 
0.5657216492  0.8819916242  0.9948506694  0.8453608247  0.5873424971  0.5441008018  0.9912725225  0.9165727170  0.9919678715  0.8840413318  29.660144181  1.1084298684  2.5970582962  1800          0.3058848365 
0.5734536080  0.8799802739  0.9969104016  0.8371134021  0.5890607102  0.5578465063  0.9921171171  0.9210822999  0.9934021801  0.8817451206  34.603501544  1.0470917195  2.5970582962  2100          0.3032930390 
0.5737399768  0.8791734503  0.9958805355  0.8371134021  0.5907789233  0.5567010309  0.9949324324  0.9278466742  0.9931153184  0.8725602755  39.546858908  1.0139934220  2.5970582962  2400          0.2958027720 
0.5713058416  0.8826007909  0.9958805355  0.8494845361  0.5904925544  0.5521191294  0.9946509009  0.9165727170  0.9959839357  0.8817451206  44.490216271  0.9876248062  2.5970582962  2700          0.2992641950 
0.5718785793  0.8797469057  0.9948506694  0.8329896907  0.5904925544  0.5532646048  0.9960585586  0.9222096956  0.9956970740  0.8840413318  49.433573635  0.9554658089  2.5970582962  3000          0.3016411765 
0.5717353949  0.8829558796  0.9958805355  0.8494845361  0.5902061856  0.5532646048  0.9957770270  0.9210822999  0.9962707975  0.8783008037  54.376930999  0.9298360298  2.5970582962  3300          0.3132183886 
0.5727376859  0.8770887025  0.9948506694  0.8329896907  0.5922107675  0.5532646048  0.9966216216  0.9188275085  0.9977051061  0.8794489093  59.320288362  0.9040624998  2.5970582962  3600          0.2953096000 
0.5717353949  0.8835177106  0.9963954686  0.8432989691  0.5913516609  0.5521191294  0.9966216216  0.9301014656  0.9974182444  0.8771526980  64.263645726  0.8408671854  5.3944554329  3900          0.3097071624 
0.5733104235  0.8798745421  0.9963954686  0.8391752577  0.5922107675  0.5544100802  0.9952139640  0.9255918828  0.9977051061  0.8748564868  69.207003089  0.7236333658  5.3944554329  4200          0.2921478295 
0.5714490261  0.8828925551  0.9969104016  0.8412371134  0.5930698740  0.5498281787  0.9971846847  0.9199549042  0.9965576592  0.8874856487  74.150360453  0.6840064764  5.3944554329  4500          0.2985293500 
0.5714490261  0.8804065778  0.9969104016  0.8350515464  0.5942153494  0.5486827033  0.9963400901  0.9267192785  0.9968445209  0.8794489093  79.093717816  0.6516019960  5.3944554329  4800          0.2982294655 
0.5717353949  0.8833900742  0.9963954686  0.8371134021  0.5947880871  0.5486827033  0.9963400901  0.9267192785  0.9968445209  0.8863375431  82.389289392  0.6331873381  5.3944554329  5000          0.3058931601 
