MCPcopy Create free account
hub / github.com/OpenGVLab/HumanBench / init_msg_client

Method init_msg_client

PATH/core/solvers/solver.py:106–111  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

104 self.randomseed_pool = rng.randint(999999, size=config.max_iter)
105
106 def init_msg_client(self):
107 with open('server.txt') as f:
108 line = f.read().strip()
109 ip, port = line.split()
110 port = int(port)
111 self.msg_client = MsgClient(ip, port)
112
113 def alert(self, msg):
114 if self.C.rank == 0:

Callers 1

alertMethod · 0.95

Calls 1

MsgClientClass · 0.90

Tested by

no test coverage detected