Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docopt #38

Merged
merged 29 commits into from
Jan 7, 2019
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
formatting
  • Loading branch information
jtatusko committed Dec 31, 2018
commit 1f6d83f73c3bc1c64462f1504685ab5924bb3507
9 changes: 6 additions & 3 deletions adept/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
render_atari Visualize an agent playing an Atari game.
replay_gen_sc2 Generate SC2 replay files of an agent playing SC2.

See 'adept.app help <command>' for more information on a specific command.
See 'adept.app <command> --help' for more information on a specific command.
"""
from docopt import docopt
from adept.globals import VERSION
Expand All @@ -44,8 +44,11 @@


def parse_args():
args = docopt(__doc__, version='adept version ' + VERSION,
options_first=True)
args = docopt(
__doc__,
version='adept version ' + VERSION,
options_first=True
)

print(args)

Expand Down
2 changes: 2 additions & 0 deletions adept/scripts/local.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@
--net4d <net4d> Network to use for 4d input [default: Identity]
--netjunc <junction> Network junction to merge inputs [default: TODO]
--netbody <body> Network to use on merged inputs [default: LSTM]

--gpu-id <id> CUDA device ID of GPU [default: 0]

--tag <tag> Name your run [default: None]
--logdir <path> Path to logging directory [default: /tmp/adept_logs/]
"""
Expand Down