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

Function read_net

rtpose_wrapper/tools/extra/summarize.py:22–26  ·  view source on GitHub ↗
(filename)

Source from the content-addressed store, hash-verified

20DISCONNECTED_COLOR = '41'
21
22def read_net(filename):
23 net = caffe_pb2.NetParameter()
24 with open(filename) as f:
25 protobuf.text_format.Parse(f.read(), net)
26 return net
27
28def format_param(param):
29 out = []

Callers 1

mainFunction · 0.85

Calls 1

ParseMethod · 0.80

Tested by

no test coverage detected