Skip to content

Commit

Permalink
solving #10:use string for arugment input, instead of pathlib
Browse files Browse the repository at this point in the history
  • Loading branch information
mimbres committed Jul 12, 2021
1 parent 1843f0d commit ccca0e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions run.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,11 @@ def train(checkpoint_name, config, max_epoch):
type=click.STRING,
help="Name of the model configuration file located in 'config/'." +
" Default is 'default'")
@click.option('--source', '-s', default=None, type=pathlib.Path, required=False,
@click.option('--source', '-s', default=None, type=click.STRING, required=False,
help="Custom source root directory. The source must be 16-bit "
"8 Khz mono WAV. This is only useful when constructing a database"
" without synthesizing queries.")
@click.option('--output', '-o', default=None, type=pathlib.Path, required=False,
@click.option('--output', '-o', default=None, type=click.STRING, required=False,
help="Root directory where the generated embeddings (uncompressed)" +
" will be stored. Default is OUTPUT_ROOT_DIR/CHECKPOINT_NAME " +
"defined in config.")
Expand Down

0 comments on commit ccca0e1

Please sign in to comment.