Skip to content

Commit

Permalink
Update train.py
Browse files Browse the repository at this point in the history
  • Loading branch information
aasharma90 authored Jul 13, 2019
1 parent 7ccd3e7 commit 9155c32
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions train.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def get_arguments():
parser = argparse.ArgumentParser()

parser.add_argument("--model_dir", type=str, required=True, default=None,
help="Location at which to save model logs and checkpoints.")
help="Location at which to save the model, logs and checkpoints.")
parser.add_argument("--load_model", type=str, required=False, default=None,
help="Location from which any pre-trained model needs to be loaded.")
parser.add_argument("--train_dir", type=str, required=True, default=None,
Expand All @@ -47,7 +47,7 @@ def get_arguments():
parser.add_argument("--epoch_start", type=int, default=0,
help="Epoch to start training the model from.")
parser.add_argument("--learning_rate", type=float, default=2e-5,
help="Learning rate for encoder.")
help="Learning rate for the model.")
parser.add_argument('--skip_validation', action='store_true',
help='Whether to skip validation in the training process?')
parser.add_argument('--gpu_id', type=int, default=3,
Expand Down

0 comments on commit 9155c32

Please sign in to comment.