Clean and fix docs

This commit is contained in:
litagin02
2024-03-11 17:05:42 +09:00
parent dada0af2b6
commit 44851a6219
6 changed files with 13 additions and 97 deletions

View File

@@ -215,13 +215,13 @@ def get_logger(
def get_steps(model_path: Union[str, Path]) -> Optional[int]:
"""
モデルのパスからイテレーション番号を取得する
モデルのパスからイテレーション回数を取得する
Args:
model_path (Union[str, Path]): モデルのパス
Returns:
Optional[int]: イテレーション番号
Optional[int]: イテレーション回数
"""
matches = re.findall(r"\d+", model_path) # type: ignore