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

Function main

dm_control/manipulation/explore.py:44–57  ·  view source on GitHub ↗
(argv)

Source from the content-addressed store, hash-verified

42
43
44def main(argv):
45 del argv
46 environment_name = FLAGS.environment_name
47
48 all_names = list(manipulation.ALL)
49
50 if environment_name is None:
51 print('\n '.join(['Available environments:'] + all_names))
52 environment_name = prompt_environment_name(
53 'Please select an environment name: ', all_names)
54
55 loader = functools.partial(
56 manipulation.load, environment_name=environment_name)
57 viewer.launch(loader)
58
59
60if __name__ == '__main__':

Callers

nothing calls this directly

Calls 2

launchMethod · 0.80
prompt_environment_nameFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…