浏览代码

增加验证结果日志

zhy 1 月之前
父节点
当前提交
34976bf861
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      tests/verify_tool_accuracy_test.py

+ 1 - 0
tests/verify_tool_accuracy_test.py

@@ -71,6 +71,7 @@ if __name__ == '__main__':
         print(*onnx_files, sep='\n')
         print(*onnx_files, sep='\n')
         for onnx_file in onnx_files:
         for onnx_file in onnx_files:
             verify_result = verify_tool.label_verification(onnx_file)
             verify_result = verify_tool.label_verification(onnx_file)
+            print(f"onnx_file: {onnx_file}, verify_result: {verify_result}")
             total += 1
             total += 1
             if str(verify_result) == args.except_result:
             if str(verify_result) == args.except_result:
                 correct += 1
                 correct += 1