feat: add expressive offline Russian book TTS

This commit is contained in:
Курнат Андрей
2026-07-21 21:28:48 +03:00
parent 28312e3fbc
commit cf82ab61eb
47 changed files with 127843 additions and 124 deletions
+8
View File
@@ -7,6 +7,7 @@ param(
[Parameter(Mandatory = $true)]
[string] $PythonExe,
[string] $CacheDir,
[string] $CheckpointPath,
[int] $BatchSize = 4,
[int] $NumWorkers = 2,
[int] $MaxEpochs = 2000,
@@ -61,6 +62,13 @@ $fitArgs = @(
if ($SmokeTest) {
$fitArgs += @('--trainer.fast_dev_run', 'true', '--trainer.num_sanity_val_steps', '0')
}
if ($CheckpointPath) {
$checkpointToResume = [IO.Path]::GetFullPath($CheckpointPath)
if (-not (Test-Path -LiteralPath $checkpointToResume -PathType Leaf)) {
throw "Resume checkpoint not found: $checkpointToResume"
}
$fitArgs += @('--ckpt_path', $checkpointToResume)
}
& $python @fitArgs
if ($LASTEXITCODE -ne 0) {