Skip to content

Commit

Permalink
Updated missing checkpoint path error message
Browse files Browse the repository at this point in the history
  • Loading branch information
wasertech authored Jan 7, 2023
1 parent 2c81b04 commit 60d213f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion native_client/generate_scorer_package.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ create_package(absl::optional<string> checkpoint_path,
}

if (!force_bytes_output_mode.value() && !checkpoint_path.has_value()) {
cerr << "No --alphabet file specified, not using bytes output mode, can't continue.\n";
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";
return 1;
}

Expand Down

0 comments on commit 60d213f

Please sign in to comment.