Release NVIDIA WakeWord Trainer v27

This commit is contained in:
MasterPhooey
2026-08-10 07:06:44 -05:00
parent 68c4227cb7
commit 13f229e451
14 changed files with 572 additions and 262 deletions

View File

@@ -5,7 +5,7 @@ PROGPATH=$(realpath "$0")
PROGDIR=$(dirname "${PROGPATH}")
CLIDIR="${PROGDIR}/cli"
KNOWN_ARGS=( samples batch-size training-steps data-dir cleanup-work-dir language tts-mode tts-voice-count )
KNOWN_ARGS=( samples batch-size training-steps data-dir cleanup-work-dir language english-accent tts-mode tts-voice-count )
source "${CLIDIR}/shell.functions"
WAKE_WORD=${POSITIONAL_ARGS[0]}
@@ -19,6 +19,7 @@ if [ "${HELP}" == "true" ] || [ -z "${WAKE_WORD}" ] ; then
Usage: train_wake_word [ --samples=<samples> ] [ --batch-size=<batch_size> ]
[ --training-steps=<steps> ] [ --cleanup-work-dir ]
[ --language=<lang> ]
[ --english-accent=<accent> ]
[ --tts-mode=<modern|hybrid|piper> ]
[ --tts-voice-count=<voices> ]
<wake_word> [ <wake_word_title> ]
@@ -41,6 +42,8 @@ Options:
--language: Language for TTS voice selection (e.g. "en", "nl").
Default: ${DEFAULT_LANGUAGE}
--english-accent: English accent emphasis. Default: ${DEFAULT_ENGLISH_ACCENT}
--tts-mode: TTS source: modern (OmniVoice plus Qwen3/MOSS where
supported), hybrid (modern plus Piper), or piper.
Default: ${DEFAULT_TTS_MODE}
@@ -124,6 +127,7 @@ export GRPC_VERBOSITY=ERROR
--samples=${SAMPLES} \
--batch-size=${BATCH_SIZE} \
--language="${LANGUAGE}" \
--english-accent="${ENGLISH_ACCENT}" \
--tts-mode="${TTS_MODE}" \
--tts-voice-count="${TTS_VOICE_COUNT}" \
--data-dir="${DATA_DIR}" "${WAKE_WORD}"