generate_directories_5.py 347 B

123456789
  1. def generate_dataframe_ds(dataset_type):
  2. if dataset_type == str(1):
  3. new_path = Path('E:/Memoire/ProstateX/generated/train/dataframes/')
  4. new_path.mkdir(parents = True, exist_ok = True)
  5. else:
  6. new_path = Path('E:/Memoire/ProstateX/generated/test/dataframes/')
  7. new_path.mkdir(parents = True, exist_ok = True)