diff --git a/utils/config.py b/utils/config.py index 7b7c02b..f2f4d40 100644 --- a/utils/config.py +++ b/utils/config.py @@ -12,7 +12,7 @@ from .logger import log -ROOT_PATH = Path(__name__).parent.absolute() +ROOT_PATH = Path(__file__).parent.parent.absolute() DATA_PATH = ROOT_PATH / "data" """数据保存目录"""