提交 9f7f6a40 编写于 作者: C chengmo

for merge

......@@ -97,7 +97,7 @@ def parse_args():
# for infer
model_g.add_arg("child_nums", int, 2, "child node of ancestor node")
model_g.add_arg("topK", int, 2, "best recall result nums")
model_g.add_arg("topK", int, 1, "best recall result nums")
model_g = ArgumentGroup(
parser, "path", "files path of data & model.")
......
......@@ -104,7 +104,7 @@ class TdmInferNet(object):
)
for layer_idx in range(self.first_layer_idx, self.max_layers):
if layer_idx == 0:
if layer_idx == self.first_layer_idx:
current_layer_node_num = len(self.first_layer_node)
else:
current_layer_node_num = current_layer_node.shape[1] * \
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册