base_config.py 546 B

1234567891011121314151617181920212223242526
  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. run_env = "jupyter"
  17. # java_home
  18. java_home = "/usr/local/jdk1.8"
  19. # 表格合并相同列名的列
  20. merge_table_column = True