Skip to content

Commit 60d213f

Browse files
authored
Updated missing checkpoint path error message
1 parent 2c81b04 commit 60d213f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

native_client/generate_scorer_package.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ create_package(absl::optional<string> checkpoint_path,
5151
}
5252

5353
if (!force_bytes_output_mode.value() && !checkpoint_path.has_value()) {
54-
cerr << "No --alphabet file specified, not using bytes output mode, can't continue.\n";
54+
cerr << "No --checkpoint file specified, not using bytes output mode, can't continue.\nCheckpoint path must contains an alphabet.\nStart by creating an alphabet for your models using coqui_stt_training.util.check_characters if needed.\n\n python -m coqui_stt_training.util.check_characters \\\n --csv-files ... \\\n --alphabet-format | grep -v '^#' | sort -n > models/alphabet.txt\n\nThis will create an alphabet models/alphabet.txt.\nNow rerun this script by giving models/ as the checkpoint path.\n\n generate_scorer_package \\\n --checkpoint models/ \\\n ...\n";
5555
return 1;
5656
}
5757

0 commit comments

Comments
 (0)