def get_mean_by_model(model_name):
model_name = model_name.lower()
if 'dpn' in model_name:
return IMAGENET_DPN_STD
elif 'ception' in model_name or ('nasnet' in model_name and 'mnasnet' not in model_name):
return IMAGENET_INCEPTION_MEAN
else:
return IMAGENET_DEFAULT_MEAN
https://github.com/rwightman/pytorch-image-models/blob/master/timm/data/config.py#L82 in function:
expected IMAGENET_DPN_MEAN?