base_config.py 416 B

1234567891011121314151617181920
  1. # -*- coding:utf-8 -*-
  2. """
  3. @author: yq
  4. @time: 2022/10/24
  5. @desc:
  6. """
  7. import os
  8. class BaseConfig:
  9. # 图片缓存位置
  10. image_path = os.path.join(".", "cache", "image")
  11. os.makedirs(image_path, exist_ok=True)
  12. # 模型训练中间结果
  13. train_path = os.path.join(".", "cache", "train")
  14. os.makedirs(train_path, exist_ok=True)
  15. # 表格合并相同列名的列
  16. merge_table_column = True