MCPcopy Create free account
hub / github.com/google-deepmind/dm_control / main

Function main

dm_control/locomotion/soccer/explore.py:39–51  ·  view source on GitHub ↗
(argv)

Source from the content-addressed store, hash-verified

37
38
39def main(argv):
40 if len(argv) > 1:
41 raise app.UsageError("Too many command-line arguments.")
42
43 viewer.launch(
44 environment_loader=functools.partial(
45 soccer.load,
46 team_size=2,
47 walker_type=soccer.WalkerType[FLAGS.walker_type],
48 disable_walker_contacts=FLAGS.disable_walker_contacts,
49 enable_field_box=FLAGS.enable_field_box,
50 keep_aspect_ratio=True,
51 terminate_on_goal=FLAGS.terminate_on_goal))
52
53
54if __name__ == "__main__":

Callers

nothing calls this directly

Calls 1

launchMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…