提交 33653657 编写于 作者: C ceci3

update

上级 fa15665c
......@@ -122,6 +122,11 @@ class SANAS(object):
self._controller_client = ControllerClient(
server_ip, server_port, key=self._key)
if is_server and load_checkpoint != None:
checkpoint_path = os.path.join(load_checkpoint, 'sanas.checkpoints')
scene = json.load(checkpoint_path)
self._iter = scene['_iter']
else:
self._iter = 0
def _get_host_ip(self):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册