def _get_default_image_size(model):
  """Provide default image size for each model."""
  image_size = (224, 224)
  if model in ["inception", "xception", "inceptionresnet"]:
    image_size = (299, 299)
  elif model in ["nasnetlarge"]:
    image_size = (331, 331)
  return image_size