MCPcopy Create free account
hub / github.com/OpenPTrack/open_ptrack_v2 / main

Function main

rtpose_wrapper/tools/extra/summarize.py:128–137  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

126 return table
127
128def main():
129 parser = argparse.ArgumentParser(description="Print a concise summary of net computation.")
130 parser.add_argument('filename', help='net prototxt file to summarize')
131 parser.add_argument('-w', '--max-width', help='maximum field width',
132 type=int, default=30)
133 args = parser.parse_args()
134
135 net = read_net(args.filename)
136 table = summarize_net(net)
137 print_table(table, max_width=args.max_width)
138
139if __name__ == '__main__':
140 main()

Callers 1

summarize.pyFile · 0.70

Calls 3

read_netFunction · 0.85
summarize_netFunction · 0.85
print_tableFunction · 0.85

Tested by

no test coverage detected