Skip to content

Commit

Permalink
Update default parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
araffin committed Sep 19, 2018
1 parent 086e58e commit af176cd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions train.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@

if __name__ == '__main__':
parser = argparse.ArgumentParser(description='State Representation Learning with PyTorch')
parser.add_argument('--epochs', type=int, default=50, metavar='N',
help='number of epochs to train (default: 50)')
parser.add_argument('--epochs', type=int, default=30, metavar='N',
help='number of epochs to train (default: 30)')
parser.add_argument('--seed', type=int, default=1, metavar='S',
help='random seed (default: 1)')
parser.add_argument('--state-dim', type=int, default=2, help='state dimension (default: 2)')
parser.add_argument('-bs', '--batch-size', type=int, default=256, help='batch_size (default: 256)')
parser.add_argument('-bs', '--batch-size', type=int, default=32, help='batch_size (default: 32)')
parser.add_argument('--val-size', type=float, default=0.2, help='Validation set size in percentage (default: 0.2)')
parser.add_argument('--training-set-size', type=int, default=-1,
help='Limit size (number of samples) of the training set (default: -1)')
Expand All @@ -52,7 +52,7 @@
help='Enable use of multiple camera')
parser.add_argument('--balanced-sampling', action='store_true', default=False,
help='Force balanced sampling for episode independent prior instead of uniform')
parser.add_argument('--losses', nargs='+', default=["priors"], **parseLossArguments(
parser.add_argument('--losses', nargs='+', default=["inverse"], **parseLossArguments(
choices=["forward", "inverse", "reward", "priors", "episode-prior", "reward-prior", "triplet",
"autoencoder", "vae", "perceptual", "dae", "random"],
help='The wanted losses. One may also want to specify a weight and dimension '
Expand Down

0 comments on commit af176cd

Please sign in to comment.