def validate_args(args_d):
    """
  Validate that the user has passed in required arguments
  """
    if not args_d or not args_d.get('input_glob'):
        raise Exception(
            """Please provide an input_glob argument to get_embeddings
      e.g. get_embeddings({input_glob: "cropped/data/*.jpg"})"""
            )
