提交 7737d044 编写于 作者: W wanghaoshuang

Fix sa nas client.

上级 1225fd50
......@@ -66,10 +66,11 @@ class SANAS(object):
if server_ip == None or server_ip == "":
server_ip = self._get_host_ip()
# create controller server
if self._is_server:
factory = SearchSpaceFactory()
self._search_space = factory.get_search_space(configs)
# create controller server
if self._is_server:
init_tokens = self._search_space.init_tokens()
range_table = self._search_space.range_table()
range_table = (len(range_table) * [0], range_table)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册