소스 검색

增加模型验证结果日志

zhy 1 개월 전
부모
커밋
a3fddefa7f
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      tests/verify_tool_accuracy_test.py

+ 1 - 0
tests/verify_tool_accuracy_test.py

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