def get_feat_size(featurizer_type):
  """Get expected feature size for `featurizer_type`

  :param featurizer_type: featurizer type
  :type featurizer_type: str
  :return: feature size
  :rtype: int
  """
  if featurizer_type == "dlib":
    return 128
  elif featurizer_type == "sbpycaffe" or featurizer_type == "sbcmdline":
    return 4096
  else:
    raise ValueError("[{}:error] Unknown 'featurizer' {}.".format("get_feat_size", featurizer_type))