MCPcopy Index your code
hub / github.com/lazyprogrammer/machine_learning_examples / get_args

Function get_args

rl3/a2c/play.py:12–16  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

10
11
12def get_args():
13 # Get some basic command line arguements
14 parser = argparse.ArgumentParser()
15 parser.add_argument('-e', '--env', help='environment ID', default='BreakoutNoFrameskip-v4')
16 return parser.parse_args()
17
18
19def get_agent(env, nsteps=5, nstack=1, total_timesteps=int(80e6),

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected