소스 검색

add python deploy

will-jl944 4 년 전
부모
커밋
5d58390375
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      paddlex/deploy.py

+ 1 - 1
paddlex/deploy.py

@@ -232,7 +232,7 @@ class Predictor(object):
             net_outputs,
             topk,
             ori_shape=preprocessed_input.get('ori_shape', None),
-            transforms=transforms.transforms)
+            transforms=transforms)
         self.timer.postprocess_time_s.end()
 
         return results