(dataset_dir, filename=LABELS_FILENAME)
return tf.gfile.Exists(os.path.join(dataset_dir, filename))
Specifies whether or not the dataset directory contains a label map file.

  Args:
    dataset_dir: The directory in which the labels file is found.
    filename: The filename where the class names are written.

  Returns:
    `True` if the labels file exists and `False` otherwise.
Specifies whether or not the dataset directory contains a label map file.
Specifies whether or not the dataset directory contains a label map file .
def has_labels(dataset_dir, filename=LABELS_FILENAME):
  """Specifies whether or not the dataset directory contains a label map file.

  Args:
    dataset_dir: The directory in which the labels file is found.
    filename: The filename where the class names are written.

  Returns:
    `True` if the labels file exists and `False` otherwise.
  """
  return tf.gfile.Exists(os.path.join(dataset_dir, filename))
def has_labels ( dataset_dir , filename = LABELS_FILENAME ) : return tf . gfile . Exists ( os . path . join ( dataset_dir , filename ) )