Skip to content

Commit

Permalink
more intuitive train function
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinMenden committed Dec 21, 2020
1 parent 0e6fe62 commit fe12c05
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 5 additions & 3 deletions scaden/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,11 @@ def cli():
type=click.Path(exists=True),
required=True,
metavar='<training data>')
@click.option('--train_datasets',
default='',
help='Datasets used for training. Uses all by default.')
@click.option(
'--train_datasets',
default='',
help=
'Comma-separated list of datasets used for training. Uses all by default.')
@click.option('--model_dir', default="./", help='Path to store the model in')
@click.option('--batch_size',
default=128,
Expand Down
2 changes: 1 addition & 1 deletion scaden/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def training(data_path,
if train_datasets == '':
train_datasets = []
else:
train_datasets = train_datasets.split()
train_datasets = train_datasets.split(',')
print(f"Training on: {train_datasets}")

# Training of M256 model
Expand Down

0 comments on commit fe12c05

Please sign in to comment.