(dataset_dir)
Removes temporary files used to create the dataset.

  Args:
    dataset_dir: The directory where the temporary files are stored.
Removes temporary files used to create the dataset.
Removes temporary files used to create the dataset .
def _clean_up_temporary_files(dataset_dir):
  """Removes temporary files used to create the dataset.

  Args:
    dataset_dir: The directory where the temporary files are stored.
  """
  filename = _DATA_URL.split('/')[-1]
  filepath = os.path.join(dataset_dir, filename)
  tf.gfile.Remove(filepath)

  tmp_dir = os.path.join(dataset_dir, 'flower_photos')
  tf.gfile.DeleteRecursively(tmp_dir)
def _clean_up_temporary_files ( dataset_dir ) : filename = _DATA_URL . split ( '/' ) [ - 1 ] filepath = os . path . join ( dataset_dir , filename ) tf . gfile . Remove ( filepath ) tmp_dir = os . path . join ( dataset_dir , 'flower_photos' ) tf . gfile . DeleteRecursively ( tmp_dir )