From c19555e5e6cee7ee20b2022c34fff37b7ef8faf4 Mon Sep 17 00:00:00 2001 From: tsukumi Date: Sat, 19 Oct 2024 02:37:34 +0900 Subject: [PATCH] =?UTF-8?q?Update:=20=E3=82=AA=E3=83=97=E3=82=B7=E3=83=A7?= =?UTF-8?q?=E3=83=B3=E3=81=A7=E9=9F=B3=E5=A3=B0=E5=90=88=E6=88=90=E3=83=A2?= =?UTF-8?q?=E3=83=87=E3=83=AB=E5=AD=A6=E7=BF=92=E6=99=82=E3=81=AE=E3=82=A8?= =?UTF-8?q?=E3=83=9D=E3=83=83=E3=82=AF=E6=95=B0=E3=83=BB=E3=82=B9=E3=83=86?= =?UTF-8?q?=E3=83=83=E3=83=97=E6=95=B0=E3=82=92=20AIVM=20=E3=83=9E?= =?UTF-8?q?=E3=83=8B=E3=83=95=E3=82=A7=E3=82=B9=E3=83=88=E3=81=AB=E6=A0=BC?= =?UTF-8?q?=E7=B4=8D=E3=81=A7=E3=81=8D=E3=82=8B=E3=82=88=E3=81=86=E3=81=AB?= =?UTF-8?q?=E3=81=97=E3=81=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Readme.md | 4 ++++ aivmlib/schemas/aivm_manifest.py | 6 ++++++ 2 files changed, 10 insertions(+) diff --git a/Readme.md b/Readme.md index aafa8f8..17fe45b 100644 --- a/Readme.md +++ b/Readme.md @@ -196,6 +196,10 @@ class AivmManifest(BaseModel): terms_of_use: str = '' # 音声合成モデルのアーキテクチャ (音声合成技術の種類) model_architecture: ModelArchitecture + # 音声合成モデル学習時のエポック数 (省略時は None になる) + training_epochs: Annotated[int, Field(ge=0)] | None = None + # 音声合成モデル学習時のステップ数 (省略時は None になる) + training_steps: Annotated[int, Field(ge=0)] | None = None # 音声合成モデルを一意に識別する UUID uuid: UUID # 音声合成モデルのバージョン (SemVer 2.0 準拠 / ex: 1.0.0) diff --git a/aivmlib/schemas/aivm_manifest.py b/aivmlib/schemas/aivm_manifest.py index d401f29..bda4685 100644 --- a/aivmlib/schemas/aivm_manifest.py +++ b/aivmlib/schemas/aivm_manifest.py @@ -42,6 +42,10 @@ class AivmManifest(BaseModel): terms_of_use: str = '' # 音声合成モデルのアーキテクチャ (音声合成技術の種類) model_architecture: ModelArchitecture + # 音声合成モデル学習時のエポック数 (省略時は None になる) + training_epochs: Annotated[int, Field(ge=0)] | None = None + # 音声合成モデル学習時のステップ数 (省略時は None になる) + training_steps: Annotated[int, Field(ge=0)] | None = None # 音声合成モデルを一意に識別する UUID uuid: UUID # 音声合成モデルのバージョン (SemVer 2.0 準拠 / ex: 1.0.0) @@ -98,6 +102,8 @@ class AivmManifestVoiceSample(BaseModel): description = '', terms_of_use = '', model_architecture = ModelArchitecture.StyleBertVITS2JPExtra, + training_epochs = None, + training_steps = None, uuid = UUID('00000000-0000-0000-0000-000000000000'), version = '1.0.0', speakers = [