Browse Source

fix image_feature inference typo (#2728)

cuicheng01 10 tháng trước cách đây
mục cha
commit
5a6c6e63d8
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      paddlex/inference/models_new/image_feature/predictor.py

+ 1 - 1
paddlex/inference/models_new/image_feature/predictor.py

@@ -117,7 +117,7 @@ class ImageFeaturePredictor(BasicPredictor):
         return {
             "input_path": batch_data,
             "input_img": batch_raw_imgs,
-            "features": features,
+            "feature": features,
         }
 
     @register("ResizeImage")