MCPcopy Create free account
hub / github.com/OpenGVLab/UniFormerV2 / parse_ip

Function parse_ip

tools/run_net_multi_node.py:17–22  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

15
16
17def parse_ip(s):
18 s = s.split("-")
19 s = [y for x in s for y in x.split("[") if y]
20 s = [y for x in s for y in x.split(",") if y ]
21
22 return ".".join(s[2:6])
23
24
25def main():

Callers 1

mainFunction · 0.85

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected