Skip to content

Commit

Permalink
v3 beta.6
Browse files Browse the repository at this point in the history
  • Loading branch information
GiviMAD committed Sep 1, 2023
1 parent a32bcc2 commit 0bd2d5a
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 22 deletions.
39 changes: 19 additions & 20 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
[package]
name = "rustpotter-cli"
version = "3.0.0-beta.5"
version = "3.0.0-beta.6"
edition = "2021"
license = "Apache-2.0"
description = "CLI for Rustpotter, an open source wakeword spotter forged in rust."
authors = ["Miguel Álvarez Díez <miguelwork92@gmail.com>"]
repository = "https://github.com/GiviMAD/rustpotter"
exclude = ["tools/**",".github",".gitignore"]
[dependencies]
rustpotter = { version = "3.0.0-beta.5", features = ["debug", "audio", "record"] }
rustpotter = { version = "3.0.0-beta.6", features = ["debug", "audio", "record"] }
ctrlc = "3.2.2"
clap = { version = "4.1.6", features = ["derive"] }
hound = "3.4.0"
Expand Down
4 changes: 4 additions & 0 deletions src/cli/train.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ pub struct TrainCommand {
#[clap(short = 'e', long, default_value_t = 1000)]
/// Number of backward and forward cycles to run
epochs: usize,
#[clap(long, default_value_t = 1)]
/// Number of epochs for testing the model and print the progress.
test_epochs: usize,
#[clap(short = 'c', long, default_value_t = 16)]
/// Number of extracted mel-frequency cepstral coefficients
mfcc_size: u16,
Expand All @@ -43,6 +46,7 @@ pub fn train(command: TrainCommand) -> Result<(), String> {
command.test_dir,
command.learning_rate,
command.epochs,
command.test_epochs,
command.mfcc_size,
model,
)
Expand Down

0 comments on commit 0bd2d5a

Please sign in to comment.