Browse Source

fix image_feature inference typo (#2728)

cuicheng01 10 months ago
parent
commit
5a6c6e63d8
1 changed files with 1 additions and 1 deletions
  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")