generate_directories_6.py 330 B

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