浏览代码

增加日志

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

+ 1 - 0
tests/verify_tool_accuracy_test.py

@@ -98,6 +98,7 @@ if __name__ == '__main__':
             # 打印模型层数信息
             total_layers, count = get_onnx_layer_info(onnx_file)
             print(f"ONNX模型层数统计({onnx_file}):")
+            print(f"过滤主要层:\"Conv\", \"BatchNormalization\", \"Gemm\", \"Relu\", \"MaxPool\", \"AveragePool\", \"Add\"")
             print(f"模型层数: {count}, 所有算子节点: {total_layers}")
 
             # verify_result = verify_tool.label_verification(onnx_file)