소스 검색

Update converter.py

fix bug
channings 5 년 전
부모
커밋
1693f02c1f
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      paddlex/converter.py

+ 1 - 1
paddlex/converter.py

@@ -33,7 +33,7 @@ class MultiClassNMS4OpenVINO():
         background = node.attr('background_label')
         normalized = node.attr('normalized')
         if normalized == False:
-            logging.warn(
+            logging.warning(
                         "The parameter normalized of multiclass_nms OP of Paddle is False, which has diff with ONNX." \
                         " Please set normalized=True in multiclass_nms of Paddle, see doc Q1 in" \
                         " https://github.com/PaddlePaddle/paddle2onnx/blob/develop/FAQ.md")