will-jl944 4 жил өмнө
parent
commit
5d58390375

+ 1 - 1
paddlex/deploy.py

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