Initial01LingXu

Results comments of Initial01LingXu

> 合理。 min-max normalization 是不需要求平均值的。 (x-sigma)/mu 这种是 z-score 标准化。 z-score 标准化公式应该是(x-mu)/sigma,要用z-score 标准化公式分母也应改为sigma公式,而不是简单的最大值减最小值。

很好找到了创建data目录以及其下方文件的所在代码,在`astrbot/core/__init__.py` 里面存放了立即执行的代码,切换至懒加载应该会影响一大批代码,并且重构困难; 我的龟龟,为啥要在`__init__.py`里写这种代码?考虑直接`except click.Abort:`里面删除下data文件夹得了 ```python # 初始化数据存储文件夹 os.makedirs(get_astrbot_data_path(), exist_ok=True) DEMO_MODE = os.getenv("DEMO_MODE", "False").strip().lower() in ("true", "1", "t") astrbot_config = AstrBotConfig() t2i_base_url = astrbot_config.get("t2i_endpoint", "https://t2i.soulter.top/text2img") html_renderer = HtmlRenderer(t2i_base_url) logger = LogManager.GetLogger(log_name="astrbot")...

> 诸位,请看文件夹`/astrbot/core/__init__.py` > > import os > > from astrbot.core.config import AstrBotConfig > from astrbot.core.config.default import DB_PATH > from astrbot.core.db.sqlite import SQLiteDatabase > from astrbot.core.file_token_service import FileTokenService > from astrbot.core.utils.pip_installer...