1
0

update for change of exp2 and add exp3

This commit is contained in:
2025-11-30 16:24:32 +08:00
parent af890d899e
commit 48fcdfcc80
17 changed files with 859 additions and 124 deletions

12
exp3/modified/settings.py Normal file
View File

@@ -0,0 +1,12 @@
from pathlib import Path
BATCH_SIZE: int = 16
"""训练的batch size"""
def get_saved_model_path() -> Path:
"""
获取训练完毕的模型进行保存的路径。
:return: 模型参数保存的路径。
"""
return Path(__file__).resolve().parent.parent / 'models' / 'rnn.pth'