Browse Source

del batch_size

zhangyubo0722 1 year ago
parent
commit
ce600451b2
100 changed files with 172 additions and 100 deletions
  1. 2 1
      paddlex/configs/anomaly_detection/STFPM.yaml
  2. 1 1
      paddlex/configs/doc_text_orientation/PP-LCNet_x1_0_doc_ori.yaml
  3. 1 1
      paddlex/configs/face_detection/PicoDet_LCNet_x2_5_face.yaml
  4. 2 1
      paddlex/configs/formula_recognition/LaTeX_OCR_rec.yaml
  5. 1 1
      paddlex/configs/general_recognition/PP-ShiTuV2_rec.yaml
  6. 1 1
      paddlex/configs/general_recognition/PP-ShiTuV2_rec_CLIP_vit_base.yaml
  7. 1 1
      paddlex/configs/general_recognition/PP-ShiTuV2_rec_CLIP_vit_large.yaml
  8. 2 1
      paddlex/configs/human_detection/PP-YOLOE-L_human.yaml
  9. 2 1
      paddlex/configs/human_detection/PP-YOLOE-S_human.yaml
  10. 2 1
      paddlex/configs/image_classification/CLIP_vit_base_patch16_224.yaml
  11. 2 1
      paddlex/configs/image_classification/CLIP_vit_large_patch14_224.yaml
  12. 2 1
      paddlex/configs/image_classification/ConvNeXt_base_224.yaml
  13. 2 1
      paddlex/configs/image_classification/ConvNeXt_base_384.yaml
  14. 2 1
      paddlex/configs/image_classification/ConvNeXt_large_224.yaml
  15. 2 1
      paddlex/configs/image_classification/ConvNeXt_large_384.yaml
  16. 2 1
      paddlex/configs/image_classification/ConvNeXt_small.yaml
  17. 2 1
      paddlex/configs/image_classification/ConvNeXt_tiny.yaml
  18. 1 1
      paddlex/configs/image_classification/FasterNet-L.yaml
  19. 1 1
      paddlex/configs/image_classification/FasterNet-M.yaml
  20. 1 1
      paddlex/configs/image_classification/FasterNet-S.yaml
  21. 1 1
      paddlex/configs/image_classification/FasterNet-T0.yaml
  22. 1 1
      paddlex/configs/image_classification/FasterNet-T1.yaml
  23. 1 1
      paddlex/configs/image_classification/FasterNet-T2.yaml
  24. 2 1
      paddlex/configs/image_classification/MobileNetV1_x0_25.yaml
  25. 2 1
      paddlex/configs/image_classification/MobileNetV1_x0_5.yaml
  26. 2 1
      paddlex/configs/image_classification/MobileNetV1_x0_75.yaml
  27. 2 1
      paddlex/configs/image_classification/MobileNetV1_x1_0.yaml
  28. 2 1
      paddlex/configs/image_classification/MobileNetV2_x0_25.yaml
  29. 2 1
      paddlex/configs/image_classification/MobileNetV2_x0_5.yaml
  30. 2 1
      paddlex/configs/image_classification/MobileNetV2_x1_0.yaml
  31. 2 1
      paddlex/configs/image_classification/MobileNetV2_x1_5.yaml
  32. 2 1
      paddlex/configs/image_classification/MobileNetV2_x2_0.yaml
  33. 2 1
      paddlex/configs/image_classification/MobileNetV3_large_x0_35.yaml
  34. 2 1
      paddlex/configs/image_classification/MobileNetV3_large_x0_5.yaml
  35. 2 1
      paddlex/configs/image_classification/MobileNetV3_large_x0_75.yaml
  36. 2 1
      paddlex/configs/image_classification/MobileNetV3_large_x1_0.yaml
  37. 2 1
      paddlex/configs/image_classification/MobileNetV3_large_x1_25.yaml
  38. 2 1
      paddlex/configs/image_classification/MobileNetV3_small_x0_35.yaml
  39. 2 1
      paddlex/configs/image_classification/MobileNetV3_small_x0_5.yaml
  40. 2 1
      paddlex/configs/image_classification/MobileNetV3_small_x0_75.yaml
  41. 2 1
      paddlex/configs/image_classification/MobileNetV3_small_x1_0.yaml
  42. 2 1
      paddlex/configs/image_classification/MobileNetV3_small_x1_25.yaml
  43. 1 1
      paddlex/configs/image_classification/MobileNetV4_conv_large.yaml
  44. 1 1
      paddlex/configs/image_classification/MobileNetV4_conv_medium.yaml
  45. 1 1
      paddlex/configs/image_classification/MobileNetV4_conv_small.yaml
  46. 1 1
      paddlex/configs/image_classification/MobileNetV4_hybrid_large.yaml
  47. 1 1
      paddlex/configs/image_classification/MobileNetV4_hybrid_medium.yaml
  48. 2 1
      paddlex/configs/image_classification/PP-HGNetV2-B0.yaml
  49. 2 1
      paddlex/configs/image_classification/PP-HGNetV2-B1.yaml
  50. 2 1
      paddlex/configs/image_classification/PP-HGNetV2-B2.yaml
  51. 2 1
      paddlex/configs/image_classification/PP-HGNetV2-B3.yaml
  52. 2 1
      paddlex/configs/image_classification/PP-HGNetV2-B4.yaml
  53. 2 1
      paddlex/configs/image_classification/PP-HGNetV2-B5.yaml
  54. 2 1
      paddlex/configs/image_classification/PP-HGNetV2-B6.yaml
  55. 2 1
      paddlex/configs/image_classification/PP-HGNet_base.yaml
  56. 2 1
      paddlex/configs/image_classification/PP-HGNet_small.yaml
  57. 2 1
      paddlex/configs/image_classification/PP-HGNet_tiny.yaml
  58. 2 1
      paddlex/configs/image_classification/PP-LCNetV2_base.yaml
  59. 2 1
      paddlex/configs/image_classification/PP-LCNetV2_large.yaml
  60. 2 1
      paddlex/configs/image_classification/PP-LCNetV2_small.yaml
  61. 2 1
      paddlex/configs/image_classification/PP-LCNet_x0_25.yaml
  62. 2 1
      paddlex/configs/image_classification/PP-LCNet_x0_35.yaml
  63. 2 1
      paddlex/configs/image_classification/PP-LCNet_x0_5.yaml
  64. 2 1
      paddlex/configs/image_classification/PP-LCNet_x0_75.yaml
  65. 2 1
      paddlex/configs/image_classification/PP-LCNet_x1_0.yaml
  66. 2 1
      paddlex/configs/image_classification/PP-LCNet_x1_5.yaml
  67. 2 1
      paddlex/configs/image_classification/PP-LCNet_x2_0.yaml
  68. 2 1
      paddlex/configs/image_classification/PP-LCNet_x2_5.yaml
  69. 2 1
      paddlex/configs/image_classification/ResNet101.yaml
  70. 2 1
      paddlex/configs/image_classification/ResNet101_vd.yaml
  71. 2 1
      paddlex/configs/image_classification/ResNet152.yaml
  72. 2 1
      paddlex/configs/image_classification/ResNet152_vd.yaml
  73. 2 1
      paddlex/configs/image_classification/ResNet18.yaml
  74. 2 1
      paddlex/configs/image_classification/ResNet18_vd.yaml
  75. 2 1
      paddlex/configs/image_classification/ResNet200_vd.yaml
  76. 2 1
      paddlex/configs/image_classification/ResNet34.yaml
  77. 2 1
      paddlex/configs/image_classification/ResNet34_vd.yaml
  78. 2 1
      paddlex/configs/image_classification/ResNet50.yaml
  79. 2 1
      paddlex/configs/image_classification/ResNet50_vd.yaml
  80. 1 1
      paddlex/configs/image_classification/StarNet-S1.yaml
  81. 1 1
      paddlex/configs/image_classification/StarNet-S2.yaml
  82. 1 1
      paddlex/configs/image_classification/StarNet-S3.yaml
  83. 1 1
      paddlex/configs/image_classification/StarNet-S4.yaml
  84. 2 1
      paddlex/configs/image_classification/SwinTransformer_base_patch4_window12_384.yaml
  85. 2 1
      paddlex/configs/image_classification/SwinTransformer_base_patch4_window7_224.yaml
  86. 2 1
      paddlex/configs/image_classification/SwinTransformer_large_patch4_window12_384.yaml
  87. 2 1
      paddlex/configs/image_classification/SwinTransformer_large_patch4_window7_224.yaml
  88. 2 1
      paddlex/configs/image_classification/SwinTransformer_small_patch4_window7_224.yaml
  89. 2 1
      paddlex/configs/image_classification/SwinTransformer_tiny_patch4_window7_224.yaml
  90. 2 1
      paddlex/configs/image_unwarping/UVDoc.yaml
  91. 1 1
      paddlex/configs/instance_segmentation/Cascade-MaskRCNN-ResNet50-FPN.yaml
  92. 1 1
      paddlex/configs/instance_segmentation/Cascade-MaskRCNN-ResNet50-vd-SSLDv2-FPN.yaml
  93. 2 1
      paddlex/configs/instance_segmentation/Mask-RT-DETR-H.yaml
  94. 2 1
      paddlex/configs/instance_segmentation/Mask-RT-DETR-L.yaml
  95. 1 1
      paddlex/configs/instance_segmentation/Mask-RT-DETR-M.yaml
  96. 1 1
      paddlex/configs/instance_segmentation/Mask-RT-DETR-S.yaml
  97. 1 1
      paddlex/configs/instance_segmentation/Mask-RT-DETR-X.yaml
  98. 1 1
      paddlex/configs/instance_segmentation/MaskRCNN-ResNeXt101-vd-FPN.yaml
  99. 1 1
      paddlex/configs/instance_segmentation/MaskRCNN-ResNet101-FPN.yaml
  100. 1 1
      paddlex/configs/instance_segmentation/MaskRCNN-ResNet101-vd-FPN.yaml

+ 2 - 1
paddlex/configs/anomaly_detection/STFPM.yaml

@@ -30,11 +30,12 @@ Evaluate:
   log_interval: 10
 
 Predict:
+  batch_size: 1
   model_dir: "output/best_model/inference"
   input_path: "https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/uad_grid.png"
   kernel_option:
     run_mode: paddle
-    batch_size: 1
+
   
 Export:
   weight_path: https://bj.bcebos.com/paddleseg/dygraph/mvtec_ad/stfpm/model.pdparams

+ 1 - 1
paddlex/configs/doc_text_orientation/PP-LCNet_x1_0_doc_ori.yaml

@@ -34,8 +34,8 @@ Export:
   weight_path: https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/legendary_models/PPLCNet_x1_0_docori_pretrained.pdparams
 
 Predict:
+  batch_size: 1
   model_dir: "output/best_model/inference"
   input_path: "https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/img_rot180_demo.jpg"
   kernel_option:
     run_mode: paddle
-    batch_size: 1

+ 1 - 1
paddlex/configs/face_detection/PicoDet_LCNet_x2_5_face.yaml

@@ -33,8 +33,8 @@ Export:
   weight_path: https://paddledet.bj.bcebos.com/models/PicoDet_LCNet_x2_5_face_pretrain.pdparams
 
 Predict:
+  batch_size: 1
   model_dir: "output/best_model/inference"
   input_path: "https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/face_detection.png"
   kernel_option:
     run_mode: paddle
-    batch_size: 1

+ 2 - 1
paddlex/configs/formula_recognition/LaTeX_OCR_rec.yaml

@@ -33,8 +33,9 @@ Export:
   weight_path: https://paddle-model-ecology.bj.bcebos.com/pretrained/rec_latex_ocr_trained.pdparams
 
 Predict:
+  batch_size: 1
   model_dir: "output/best_accuracy/inference"
   input_path: "https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/general_formula_rec_001.png"
-  batch_size: 1
+
   kernel_option:
     run_mode: paddle

+ 1 - 1
paddlex/configs/general_recognition/PP-ShiTuV2_rec.yaml

@@ -35,8 +35,8 @@ Export:
   weight_path: https://paddleclas.bj.bcebos.com/models/PP-ShiTu/PP-ShiTuV2_rec_pretrained.pdparams
 
 Predict:
+  batch_size: 1
   model_dir: "output/best_model/inference"
   input_path: "https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/general_image_recognition_001.jpg"
   kernel_option:
     run_mode: paddle
-    batch_size: 1

+ 1 - 1
paddlex/configs/general_recognition/PP-ShiTuV2_rec_CLIP_vit_base.yaml

@@ -35,8 +35,8 @@ Export:
   weight_path: https://paddleclas.bj.bcebos.com/models/PP-ShiTu/PP-ShiTuV2_rec_CLIP_vit_base_pretrained.pdparams
 
 Predict:
+  batch_size: 1
   model_dir: "output/best_model/inference"
   input_path: "https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/general_image_recognition_001.jpg"
   kernel_option:
     run_mode: paddle
-    batch_size: 1

+ 1 - 1
paddlex/configs/general_recognition/PP-ShiTuV2_rec_CLIP_vit_large.yaml

@@ -34,8 +34,8 @@ Evaluate:
 Export:
   weight_path: https://paddleclas.bj.bcebos.com/models/PP-ShiTu/PP-ShiTuV2_rec_CLIP_vit_large_pretrained.pdparams 
 Predict:
+  batch_size: 1
   model_dir: "output/best_model/inference"
   input_path: "https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/general_image_recognition_001.jpg"
   kernel_option:
     run_mode: paddle
-    batch_size: 1

+ 2 - 1
paddlex/configs/human_detection/PP-YOLOE-L_human.yaml

@@ -30,11 +30,12 @@ Evaluate:
   log_interval: 10
 
 Predict:
+  batch_size: 1
   model_dir: "output/best_model/inference"
   input_path: "https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/human_detection.jpg"
   kernel_option:
     run_mode: paddle
-    batch_size: 1
+
 
 
 Export:

+ 2 - 1
paddlex/configs/human_detection/PP-YOLOE-S_human.yaml

@@ -30,11 +30,12 @@ Evaluate:
   log_interval: 10
 
 Predict:
+  batch_size: 1
   model_dir: "output/best_model/inference"
   input_path: "https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/human_detection.jpg"
   kernel_option:
     run_mode: paddle
-    batch_size: 1
+
 
 
 Export:

+ 2 - 1
paddlex/configs/image_classification/CLIP_vit_base_patch16_224.yaml

@@ -34,8 +34,9 @@ Export:
   weight_path: https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/foundation_models/CLIP_vit_base_patch16_224_ft_in1k_pretrained.pdparams 
 
 Predict:
+  batch_size: 1
   model_dir: "output/best_model/inference"
   input_path: "https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/general_image_classification_001.jpg"
-  batch_size: 1
+
   kernel_option:
     run_mode: paddle

+ 2 - 1
paddlex/configs/image_classification/CLIP_vit_large_patch14_224.yaml

@@ -34,8 +34,9 @@ Export:
   weight_path: https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/foundation_models/CLIP_vit_large_patch14_224_ft_in1k_pretrained.pdparams
 
 Predict:
+  batch_size: 1
   model_dir: "output/best_model/inference"
   input_path: "https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/general_image_classification_001.jpg"
-  batch_size: 1
+
   kernel_option:
     run_mode: paddle

+ 2 - 1
paddlex/configs/image_classification/ConvNeXt_base_224.yaml

@@ -34,8 +34,9 @@ Export:
   weight_path: https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/ConvNeXt_base_224_pretrained.pdparams
 
 Predict:
+  batch_size: 1
   model_dir: "output/best_model/inference"
   input_path: "https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/general_image_classification_001.jpg"
-  batch_size: 1
+
   kernel_option:
     run_mode: paddle

+ 2 - 1
paddlex/configs/image_classification/ConvNeXt_base_384.yaml

@@ -34,8 +34,9 @@ Export:
   weight_path: https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/ConvNeXt_base_384_pretrained.pdparams
 
 Predict:
+  batch_size: 1
   model_dir: "output/best_model/inference"
   input_path: "https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/general_image_classification_001.jpg"
-  batch_size: 1
+
   kernel_option:
     run_mode: paddle

+ 2 - 1
paddlex/configs/image_classification/ConvNeXt_large_224.yaml

@@ -34,8 +34,9 @@ Export:
   weight_path: https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/ConvNeXt_large_224_pretrained.pdparams
 
 Predict:
+  batch_size: 1
   model_dir: "output/best_model/inference"
   input_path: "https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/general_image_classification_001.jpg"
-  batch_size: 1
+
   kernel_option:
     run_mode: paddle

+ 2 - 1
paddlex/configs/image_classification/ConvNeXt_large_384.yaml

@@ -34,8 +34,9 @@ Export:
   weight_path: https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/ConvNeXt_large_384_pretrained.pdparams
 
 Predict:
+  batch_size: 1
   model_dir: "output/best_model/inference"
   input_path: "https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/general_image_classification_001.jpg"
-  batch_size: 1
+
   kernel_option:
     run_mode: paddle

+ 2 - 1
paddlex/configs/image_classification/ConvNeXt_small.yaml

@@ -34,8 +34,9 @@ Export:
   weight_path: https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/ConvNeXt_small_pretrained.pdparams
 
 Predict:
+  batch_size: 1
   model_dir: "output/best_model/inference"
   input_path: "https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/general_image_classification_001.jpg"
-  batch_size: 1
+
   kernel_option:
     run_mode: paddle

+ 2 - 1
paddlex/configs/image_classification/ConvNeXt_tiny.yaml

@@ -34,8 +34,9 @@ Export:
   weight_path: https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/ConvNeXt_tiny_pretrained.pdparams
 
 Predict:
+  batch_size: 1
   model_dir: "output/best_model/inference"
   input_path: "https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/general_image_classification_001.jpg"
-  batch_size: 1
+
   kernel_option:
     run_mode: paddle

+ 1 - 1
paddlex/configs/image_classification/FasterNet-L.yaml

@@ -33,8 +33,8 @@ Export:
   weight_path: https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/legendary_models/FasterNet_L_pretrained.pdparams
 
 Predict:
+  batch_size: 1
   model_dir: "output/best_model/inference"
   input_path: "https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/general_image_classification_001.jpg"
   kernel_option:
     run_mode: paddle
-    batch_size: 1

+ 1 - 1
paddlex/configs/image_classification/FasterNet-M.yaml

@@ -33,8 +33,8 @@ Export:
   weight_path: https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/legendary_models/FasterNet_M_pretrained.pdparams
 
 Predict:
+  batch_size: 1
   model_dir: "output/best_model/inference"
   input_path: "https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/general_image_classification_001.jpg"
   kernel_option:
     run_mode: paddle
-    batch_size: 1

+ 1 - 1
paddlex/configs/image_classification/FasterNet-S.yaml

@@ -33,8 +33,8 @@ Export:
   weight_path: https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/legendary_models/FasterNet_S_pretrained.pdparams
 
 Predict:
+  batch_size: 1
   model_dir: "output/best_model/inference"
   input_path: "https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/general_image_classification_001.jpg"
   kernel_option:
     run_mode: paddle
-    batch_size: 1

+ 1 - 1
paddlex/configs/image_classification/FasterNet-T0.yaml

@@ -33,8 +33,8 @@ Export:
   weight_path: https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/legendary_models/FasterNet_T0_pretrained.pdparams
 
 Predict:
+  batch_size: 1
   model_dir: "output/best_model/inference"
   input_path: "https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/general_image_classification_001.jpg"
   kernel_option:
     run_mode: paddle
-    batch_size: 1

+ 1 - 1
paddlex/configs/image_classification/FasterNet-T1.yaml

@@ -33,8 +33,8 @@ Export:
   weight_path: https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/legendary_models/FasterNet_T1_pretrained.pdparams
 
 Predict:
+  batch_size: 1
   model_dir: "output/best_model/inference"
   input_path: "https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/general_image_classification_001.jpg"
   kernel_option:
     run_mode: paddle
-    batch_size: 1

+ 1 - 1
paddlex/configs/image_classification/FasterNet-T2.yaml

@@ -33,8 +33,8 @@ Export:
   weight_path: https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/legendary_models/FasterNet_T2_pretrained.pdparams
 
 Predict:
+  batch_size: 1
   model_dir: "output/best_model/inference"
   input_path: "https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/general_image_classification_001.jpg"
   kernel_option:
     run_mode: paddle
-    batch_size: 1

+ 2 - 1
paddlex/configs/image_classification/MobileNetV1_x0_25.yaml

@@ -34,8 +34,9 @@ Export:
   weight_path: https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/legendary_models/MobileNetV1_x0_25_pretrained.pdparams
 
 Predict:
+  batch_size: 1
   model_dir: "output/best_model/inference"
   input_path: "https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/general_image_classification_001.jpg"
-  batch_size: 1
+
   kernel_option:
     run_mode: paddle

+ 2 - 1
paddlex/configs/image_classification/MobileNetV1_x0_5.yaml

@@ -34,8 +34,9 @@ Export:
   weight_path: https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/legendary_models/MobileNetV1_x0_5_pretrained.pdparams
 
 Predict:
+  batch_size: 1
   model_dir: "output/best_model/inference"
   input_path: "https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/general_image_classification_001.jpg"
-  batch_size: 1
+
   kernel_option:
     run_mode: paddle

+ 2 - 1
paddlex/configs/image_classification/MobileNetV1_x0_75.yaml

@@ -34,8 +34,9 @@ Export:
   weight_path: https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/legendary_models/MobileNetV1_x0_75_pretrained.pdparams
 
 Predict:
+  batch_size: 1
   model_dir: "output/best_model/inference"
   input_path: "https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/general_image_classification_001.jpg"
-  batch_size: 1
+
   kernel_option:
     run_mode: paddle

+ 2 - 1
paddlex/configs/image_classification/MobileNetV1_x1_0.yaml

@@ -34,8 +34,9 @@ Export:
   weight_path: https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/legendary_models/MobileNetV1_pretrained.pdparams
 
 Predict:
+  batch_size: 1
   model_dir: "output/best_model/inference"
   input_path: "https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/general_image_classification_001.jpg"
-  batch_size: 1
+
   kernel_option:
     run_mode: paddle

+ 2 - 1
paddlex/configs/image_classification/MobileNetV2_x0_25.yaml

@@ -34,8 +34,9 @@ Export:
   weight_path: https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/MobileNetV2_x0_25_pretrained.pdparams
 
 Predict:
+  batch_size: 1
   model_dir: "output/best_model/inference"
   input_path: "https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/general_image_classification_001.jpg"
-  batch_size: 1
+
   kernel_option:
     run_mode: paddle

+ 2 - 1
paddlex/configs/image_classification/MobileNetV2_x0_5.yaml

@@ -34,8 +34,9 @@ Export:
   weight_path: https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/MobileNetV2_x0_5_pretrained.pdparams
 
 Predict:
+  batch_size: 1
   model_dir: "output/best_model/inference"
   input_path: "https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/general_image_classification_001.jpg"
-  batch_size: 1
+
   kernel_option:
     run_mode: paddle

+ 2 - 1
paddlex/configs/image_classification/MobileNetV2_x1_0.yaml

@@ -34,8 +34,9 @@ Export:
   weight_path: https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/MobileNetV2_pretrained.pdparams
 
 Predict:
+  batch_size: 1
   model_dir: "output/best_model/inference"
   input_path: "https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/general_image_classification_001.jpg"
-  batch_size: 1
+
   kernel_option:
     run_mode: paddle

+ 2 - 1
paddlex/configs/image_classification/MobileNetV2_x1_5.yaml

@@ -34,8 +34,9 @@ Export:
   weight_path: https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/MobileNetV2_x1_5_pretrained.pdparams
 
 Predict:
+  batch_size: 1
   model_dir: "output/best_model/inference"
   input_path: "https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/general_image_classification_001.jpg"
-  batch_size: 1
+
   kernel_option:
     run_mode: paddle

+ 2 - 1
paddlex/configs/image_classification/MobileNetV2_x2_0.yaml

@@ -34,8 +34,9 @@ Export:
   weight_path: https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/MobileNetV2_x2_0_pretrained.pdparams
 
 Predict:
+  batch_size: 1
   model_dir: "output/best_model/inference"
   input_path: "https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/general_image_classification_001.jpg"
-  batch_size: 1
+
   kernel_option:
     run_mode: paddle

+ 2 - 1
paddlex/configs/image_classification/MobileNetV3_large_x0_35.yaml

@@ -34,8 +34,9 @@ Export:
   weight_path: https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/legendary_models/MobileNetV3_large_x0_35_pretrained.pdparams
 
 Predict:
+  batch_size: 1
   model_dir: "output/best_model/inference"
   input_path: "https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/general_image_classification_001.jpg"
-  batch_size: 1
+
   kernel_option:
     run_mode: paddle

+ 2 - 1
paddlex/configs/image_classification/MobileNetV3_large_x0_5.yaml

@@ -34,8 +34,9 @@ Export:
   weight_path: https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/legendary_models/MobileNetV3_large_x0_5_pretrained.pdparams
 
 Predict:
+  batch_size: 1
   model_dir: "output/best_model/inference"
   input_path: "https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/general_image_classification_001.jpg"
-  batch_size: 1
+
   kernel_option:
     run_mode: paddle

+ 2 - 1
paddlex/configs/image_classification/MobileNetV3_large_x0_75.yaml

@@ -34,8 +34,9 @@ Export:
   weight_path: https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/legendary_models/MobileNetV3_large_x0_75_pretrained.pdparams
 
 Predict:
+  batch_size: 1
   model_dir: "output/best_model/inference"
   input_path: "https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/general_image_classification_001.jpg"
-  batch_size: 1
+
   kernel_option:
     run_mode: paddle

+ 2 - 1
paddlex/configs/image_classification/MobileNetV3_large_x1_0.yaml

@@ -34,8 +34,9 @@ Export:
   weight_path: https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/legendary_models/MobileNetV3_large_x1_0_pretrained.pdparams
 
 Predict:
+  batch_size: 1
   model_dir: "output/best_model/inference"
   input_path: "https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/general_image_classification_001.jpg"
-  batch_size: 1
+
   kernel_option:
     run_mode: paddle

+ 2 - 1
paddlex/configs/image_classification/MobileNetV3_large_x1_25.yaml

@@ -34,8 +34,9 @@ Export:
   weight_path: https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/legendary_models/MobileNetV3_large_x1_25_pretrained.pdparams
 
 Predict:
+  batch_size: 1
   model_dir: "output/best_model/inference"
   input_path: "https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/general_image_classification_001.jpg"
-  batch_size: 1
+
   kernel_option:
     run_mode: paddle

+ 2 - 1
paddlex/configs/image_classification/MobileNetV3_small_x0_35.yaml

@@ -34,8 +34,9 @@ Export:
   weight_path: https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/legendary_models/MobileNetV3_small_x0_35_pretrained.pdparams
 
 Predict:
+  batch_size: 1
   model_dir: "output/best_model/inference"
   input_path: "https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/general_image_classification_001.jpg"
-  batch_size: 1
+
   kernel_option:
     run_mode: paddle

+ 2 - 1
paddlex/configs/image_classification/MobileNetV3_small_x0_5.yaml

@@ -34,8 +34,9 @@ Export:
   weight_path: https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/legendary_models/MobileNetV3_small_x0_5_pretrained.pdparams
 
 Predict:
+  batch_size: 1
   model_dir: "output/best_model/inference"
   input_path: "https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/general_image_classification_001.jpg"
-  batch_size: 1
+
   kernel_option:
     run_mode: paddle

+ 2 - 1
paddlex/configs/image_classification/MobileNetV3_small_x0_75.yaml

@@ -34,8 +34,9 @@ Export:
   weight_path: https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/legendary_models/MobileNetV3_small_x0_75_pretrained.pdparams
 
 Predict:
+  batch_size: 1
   model_dir: "output/best_model/inference"
   input_path: "https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/general_image_classification_001.jpg"
-  batch_size: 1
+
   kernel_option:
     run_mode: paddle

+ 2 - 1
paddlex/configs/image_classification/MobileNetV3_small_x1_0.yaml

@@ -34,8 +34,9 @@ Export:
   weight_path: https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/legendary_models/MobileNetV3_small_x1_0_pretrained.pdparams
 
 Predict:
+  batch_size: 1
   model_dir: "output/best_model/inference"
   input_path: "https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/general_image_classification_001.jpg"
-  batch_size: 1
+
   kernel_option:
     run_mode: paddle

+ 2 - 1
paddlex/configs/image_classification/MobileNetV3_small_x1_25.yaml

@@ -34,8 +34,9 @@ Export:
   weight_path: https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/legendary_models/MobileNetV3_small_x1_25_pretrained.pdparams
 
 Predict:
+  batch_size: 1
   model_dir: "output/best_model/inference"
   input_path: "https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/general_image_classification_001.jpg"
-  batch_size: 1
+
   kernel_option:
     run_mode: paddle

+ 1 - 1
paddlex/configs/image_classification/MobileNetV4_conv_large.yaml

@@ -34,8 +34,8 @@ Export:
   weight_path: https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/legendary_models/MobileNetV4_conv_large_pretrained.pdparams
 
 Predict:
+  batch_size: 1
   model_dir: "output/best_model/inference"
   input_path: "https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/general_image_classification_001.jpg"
   kernel_option:
     run_mode: paddle
-    batch_size: 1

+ 1 - 1
paddlex/configs/image_classification/MobileNetV4_conv_medium.yaml

@@ -34,8 +34,8 @@ Export:
   weight_path: https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/legendary_models/MobileNetV4_conv_medium_pretrained.pdparams
 
 Predict:
+  batch_size: 1
   model_dir: "output/best_model/inference"
   input_path: "https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/general_image_classification_001.jpg"
   kernel_option:
     run_mode: paddle
-    batch_size: 1

+ 1 - 1
paddlex/configs/image_classification/MobileNetV4_conv_small.yaml

@@ -34,8 +34,8 @@ Export:
   weight_path: https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/legendary_models/MobileNetV4_conv_small_pretrained.pdparams
 
 Predict:
+  batch_size: 1
   model_dir: "output/best_model/inference"
   input_path: "https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/general_image_classification_001.jpg"
   kernel_option:
     run_mode: paddle
-    batch_size: 1

+ 1 - 1
paddlex/configs/image_classification/MobileNetV4_hybrid_large.yaml

@@ -34,8 +34,8 @@ Export:
   weight_path: https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/legendary_models/MobileNetV4_hybrid_large_pretrained.pdparams
 
 Predict:
+  batch_size: 1
   model_dir: "output/best_model/inference"
   input_path: "https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/general_image_classification_001.jpg"
   kernel_option:
     run_mode: paddle
-    batch_size: 1

+ 1 - 1
paddlex/configs/image_classification/MobileNetV4_hybrid_medium.yaml

@@ -34,8 +34,8 @@ Export:
   weight_path: https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/legendary_models/MobileNetV4_hybrid_medium_pretrained.pdparams
 
 Predict:
+  batch_size: 1
   model_dir: "output/best_model/inference"
   input_path: "https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/general_image_classification_001.jpg"
   kernel_option:
     run_mode: paddle
-    batch_size: 1

+ 2 - 1
paddlex/configs/image_classification/PP-HGNetV2-B0.yaml

@@ -34,8 +34,9 @@ Export:
   weight_path: https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/legendary_models/PPHGNetV2_B0_ssld_pretrained.pdparams
 
 Predict:
+  batch_size: 1
   model_dir: "output/best_model/inference"
   input_path: "https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/general_image_classification_001.jpg"
-  batch_size: 1
+
   kernel_option:
     run_mode: paddle

+ 2 - 1
paddlex/configs/image_classification/PP-HGNetV2-B1.yaml

@@ -34,8 +34,9 @@ Export:
   weight_path: https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/legendary_models/PPHGNetV2_B1_ssld_pretrained.pdparams
 
 Predict:
+  batch_size: 1
   model_dir: "output/best_model/inference"
   input_path: "https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/general_image_classification_001.jpg"
-  batch_size: 1
+
   kernel_option:
     run_mode: paddle

+ 2 - 1
paddlex/configs/image_classification/PP-HGNetV2-B2.yaml

@@ -34,8 +34,9 @@ Export:
   weight_path: https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/legendary_models/PPHGNetV2_B2_ssld_pretrained.pdparams
 
 Predict:
+  batch_size: 1
   model_dir: "output/best_model/inference"
   input_path: "https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/general_image_classification_001.jpg"
-  batch_size: 1
+
   kernel_option:
     run_mode: paddle

+ 2 - 1
paddlex/configs/image_classification/PP-HGNetV2-B3.yaml

@@ -34,8 +34,9 @@ Export:
   weight_path: https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/legendary_models/PPHGNetV2_B3_ssld_pretrained.pdparams
 
 Predict:
+  batch_size: 1
   model_dir: "output/best_model/inference"
   input_path: "https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/general_image_classification_001.jpg"
-  batch_size: 1
+
   kernel_option:
     run_mode: paddle

+ 2 - 1
paddlex/configs/image_classification/PP-HGNetV2-B4.yaml

@@ -34,8 +34,9 @@ Export:
   weight_path: https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/legendary_models/PPHGNetV2_B4_ssld_pretrained.pdparams
 
 Predict:
+  batch_size: 1
   model_dir: "output/best_model/inference"
   input_path: "https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/general_image_classification_001.jpg"
-  batch_size: 1
+
   kernel_option:
     run_mode: paddle

+ 2 - 1
paddlex/configs/image_classification/PP-HGNetV2-B5.yaml

@@ -34,8 +34,9 @@ Export:
   weight_path: https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/legendary_models/PPHGNetV2_B5_ssld_pretrained.pdparams
 
 Predict:
+  batch_size: 1
   model_dir: "output/best_model/inference"
   input_path: "https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/general_image_classification_001.jpg"
-  batch_size: 1
+
   kernel_option:
     run_mode: paddle

+ 2 - 1
paddlex/configs/image_classification/PP-HGNetV2-B6.yaml

@@ -34,8 +34,9 @@ Export:
   weight_path: https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/legendary_models/PPHGNetV2_B6_ssld_pretrained.pdparams
 
 Predict:
+  batch_size: 1
   model_dir: "output/best_model/inference"
   input_path: "https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/general_image_classification_001.jpg"
-  batch_size: 1
+
   kernel_option:
     run_mode: paddle

+ 2 - 1
paddlex/configs/image_classification/PP-HGNet_base.yaml

@@ -34,8 +34,9 @@ Export:
   weight_path: https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/legendary_models/PPHGNet_base_ssld_pretrained.pdparams
 
 Predict:
+  batch_size: 1
   model_dir: "output/best_model/inference"
   input_path: "https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/general_image_classification_001.jpg"
-  batch_size: 1
+
   kernel_option:
     run_mode: paddle

+ 2 - 1
paddlex/configs/image_classification/PP-HGNet_small.yaml

@@ -34,8 +34,9 @@ Export:
   weight_path: https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/legendary_models/PPHGNet_small_pretrained.pdparams
 
 Predict:
+  batch_size: 1
   model_dir: "output/best_model/inference"
   input_path: "https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/general_image_classification_001.jpg"
-  batch_size: 1
+
   kernel_option:
     run_mode: paddle

+ 2 - 1
paddlex/configs/image_classification/PP-HGNet_tiny.yaml

@@ -34,8 +34,9 @@ Export:
   weight_path: https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/legendary_models/PPHGNet_tiny_pretrained.pdparams
 
 Predict:
+  batch_size: 1
   model_dir: "output/best_model/inference"
   input_path: "https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/general_image_classification_001.jpg"
-  batch_size: 1
+
   kernel_option:
     run_mode: paddle

+ 2 - 1
paddlex/configs/image_classification/PP-LCNetV2_base.yaml

@@ -34,8 +34,9 @@ Export:
   weight_path: https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/legendary_models/PPLCNetV2_base_pretrained.pdparams
 
 Predict:
+  batch_size: 1
   model_dir: "output/best_model/inference"
   input_path: "https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/general_image_classification_001.jpg"
-  batch_size: 1
+
   kernel_option:
     run_mode: paddle

+ 2 - 1
paddlex/configs/image_classification/PP-LCNetV2_large.yaml

@@ -34,8 +34,9 @@ Export:
   weight_path: https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/legendary_models/PPLCNetV2_large_pretrained.pdparams
 
 Predict:
+  batch_size: 1
   model_dir: "output/best_model/inference"
   input_path: "https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/general_image_classification_001.jpg"
-  batch_size: 1
+
   kernel_option:
     run_mode: paddle

+ 2 - 1
paddlex/configs/image_classification/PP-LCNetV2_small.yaml

@@ -34,8 +34,9 @@ Export:
   weight_path: https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/legendary_models/PPLCNetV2_small_pretrained.pdparams
 
 Predict:
+  batch_size: 1
   model_dir: "output/best_model/inference"
   input_path: "https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/general_image_classification_001.jpg"
-  batch_size: 1
+
   kernel_option:
     run_mode: paddle

+ 2 - 1
paddlex/configs/image_classification/PP-LCNet_x0_25.yaml

@@ -34,8 +34,9 @@ Export:
   weight_path: https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/legendary_models/PPLCNet_x0_25_pretrained.pdparams
 
 Predict:
+  batch_size: 1
   model_dir: "output/best_model/inference"
   input_path: "https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/general_image_classification_001.jpg"
-  batch_size: 1
+
   kernel_option:
     run_mode: paddle

+ 2 - 1
paddlex/configs/image_classification/PP-LCNet_x0_35.yaml

@@ -34,8 +34,9 @@ Export:
   weight_path: https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/legendary_models/PPLCNet_x0_35_pretrained.pdparams
 
 Predict:
+  batch_size: 1
   model_dir: "output/best_model/inference"
   input_path: "https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/general_image_classification_001.jpg"
-  batch_size: 1
+
   kernel_option:
     run_mode: paddle

+ 2 - 1
paddlex/configs/image_classification/PP-LCNet_x0_5.yaml

@@ -34,8 +34,9 @@ Export:
   weight_path: https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/legendary_models/PPLCNet_x0_5_pretrained.pdparams
 
 Predict:
+  batch_size: 1
   model_dir: "output/best_model/inference"
   input_path: "https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/general_image_classification_001.jpg"
-  batch_size: 1
+
   kernel_option:
     run_mode: paddle

+ 2 - 1
paddlex/configs/image_classification/PP-LCNet_x0_75.yaml

@@ -34,8 +34,9 @@ Export:
   weight_path: https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/legendary_models/PPLCNet_x0_75_pretrained.pdparams
 
 Predict:
+  batch_size: 1
   model_dir: "output/best_model/inference"
   input_path: "https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/general_image_classification_001.jpg"
-  batch_size: 1
+
   kernel_option:
     run_mode: paddle

+ 2 - 1
paddlex/configs/image_classification/PP-LCNet_x1_0.yaml

@@ -34,8 +34,9 @@ Export:
   weight_path: https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/legendary_models/PPLCNet_x1_0_pretrained.pdparams
 
 Predict:
+  batch_size: 1
   model_dir: "output/best_model/inference"
   input_path: "https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/general_image_classification_001.jpg"
-  batch_size: 1
+
   kernel_option:
     run_mode: paddle

+ 2 - 1
paddlex/configs/image_classification/PP-LCNet_x1_5.yaml

@@ -34,8 +34,9 @@ Export:
   weight_path: https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/legendary_models/PPLCNet_x1_5_pretrained.pdparams
 
 Predict:
+  batch_size: 1
   model_dir: "output/best_model/inference"
   input_path: "https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/general_image_classification_001.jpg"
-  batch_size: 1
+
   kernel_option:
     run_mode: paddle

+ 2 - 1
paddlex/configs/image_classification/PP-LCNet_x2_0.yaml

@@ -34,8 +34,9 @@ Export:
   weight_path: https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/legendary_models/PPLCNet_x2_0_pretrained.pdparams
 
 Predict:
+  batch_size: 1
   model_dir: "output/best_model/inference"
   input_path: "https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/general_image_classification_001.jpg"
-  batch_size: 1
+
   kernel_option:
     run_mode: paddle

+ 2 - 1
paddlex/configs/image_classification/PP-LCNet_x2_5.yaml

@@ -34,8 +34,9 @@ Export:
   weight_path: https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/legendary_models/PPLCNet_x2_5_pretrained.pdparams
 
 Predict:
+  batch_size: 1
   model_dir: "output/best_model/inference"
   input_path: "https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/general_image_classification_001.jpg"
-  batch_size: 1
+
   kernel_option:
     run_mode: paddle

+ 2 - 1
paddlex/configs/image_classification/ResNet101.yaml

@@ -34,8 +34,9 @@ Export:
   weight_path: https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/legendary_models/ResNet101_pretrained.pdparams
 
 Predict:
+  batch_size: 1
   model_dir: "output/best_model/inference"
   input_path: "https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/general_image_classification_001.jpg"
-  batch_size: 1
+
   kernel_option:
     run_mode: paddle

+ 2 - 1
paddlex/configs/image_classification/ResNet101_vd.yaml

@@ -34,8 +34,9 @@ Export:
   weight_path: https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/legendary_models/ResNet101_vd_pretrained.pdparams
 
 Predict:
+  batch_size: 1
   model_dir: "output/best_model/inference"
   input_path: "https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/general_image_classification_001.jpg"
-  batch_size: 1
+
   kernel_option:
     run_mode: paddle

+ 2 - 1
paddlex/configs/image_classification/ResNet152.yaml

@@ -34,8 +34,9 @@ Export:
   weight_path: https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/legendary_models/ResNet152_pretrained.pdparams
 
 Predict:
+  batch_size: 1
   model_dir: "output/best_model/inference"
   input_path: "https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/general_image_classification_001.jpg"
-  batch_size: 1
+
   kernel_option:
     run_mode: paddle

+ 2 - 1
paddlex/configs/image_classification/ResNet152_vd.yaml

@@ -34,8 +34,9 @@ Export:
   weight_path: https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/legendary_models/ResNet152_vd_pretrained.pdparams
 
 Predict:
+  batch_size: 1
   model_dir: "output/best_model/inference"
   input_path: "https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/general_image_classification_001.jpg"
-  batch_size: 1
+
   kernel_option:
     run_mode: paddle

+ 2 - 1
paddlex/configs/image_classification/ResNet18.yaml

@@ -34,8 +34,9 @@ Export:
   weight_path: https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/legendary_models/ResNet18_pretrained.pdparams
 
 Predict:
+  batch_size: 1
   model_dir: "output/best_model/inference"
   input_path: "https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/general_image_classification_001.jpg"
-  batch_size: 1
+
   kernel_option:
     run_mode: paddle

+ 2 - 1
paddlex/configs/image_classification/ResNet18_vd.yaml

@@ -34,8 +34,9 @@ Export:
   weight_path: https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/legendary_models/ResNet18_vd_pretrained.pdparams
 
 Predict:
+  batch_size: 1
   model_dir: "output/best_model/inference"
   input_path: "https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/general_image_classification_001.jpg"
-  batch_size: 1
+
   kernel_option:
     run_mode: paddle

+ 2 - 1
paddlex/configs/image_classification/ResNet200_vd.yaml

@@ -34,8 +34,9 @@ Export:
   weight_path: https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/legendary_models/ResNet200_vd_pretrained.pdparams
 
 Predict:
+  batch_size: 1
   model_dir: "output/best_model/inference"
   input_path: "https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/general_image_classification_001.jpg"
-  batch_size: 1
+
   kernel_option:
     run_mode: paddle

+ 2 - 1
paddlex/configs/image_classification/ResNet34.yaml

@@ -34,8 +34,9 @@ Export:
   weight_path: https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/legendary_models/ResNet34_pretrained.pdparams
 
 Predict:
+  batch_size: 1
   model_dir: "output/best_model/inference"
   input_path: "https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/general_image_classification_001.jpg"
-  batch_size: 1
+
   kernel_option:
     run_mode: paddle

+ 2 - 1
paddlex/configs/image_classification/ResNet34_vd.yaml

@@ -34,8 +34,9 @@ Export:
   weight_path: https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/legendary_models/ResNet34_vd_pretrained.pdparams
 
 Predict:
+  batch_size: 1
   model_dir: "output/best_model/inference"
   input_path: "https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/general_image_classification_001.jpg"
-  batch_size: 1
+
   kernel_option:
     run_mode: paddle

+ 2 - 1
paddlex/configs/image_classification/ResNet50.yaml

@@ -34,8 +34,9 @@ Export:
   weight_path: https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/legendary_models/ResNet50_pretrained.pdparams
 
 Predict:
+  batch_size: 1
   model_dir: "output/best_model/inference"
   input_path: "https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/general_image_classification_001.jpg"
-  batch_size: 1
+
   kernel_option:
     run_mode: paddle

+ 2 - 1
paddlex/configs/image_classification/ResNet50_vd.yaml

@@ -34,8 +34,9 @@ Export:
   weight_path: https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/legendary_models/ResNet50_vd_pretrained.pdparams
 
 Predict:
+  batch_size: 1
   model_dir: "output/best_model/inference"
   input_path: "https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/general_image_classification_001.jpg"
-  batch_size: 1
+
   kernel_option:
     run_mode: paddle

+ 1 - 1
paddlex/configs/image_classification/StarNet-S1.yaml

@@ -34,8 +34,8 @@ Export:
   weight_path: https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/legendary_models/StarNet_S1_pretrained.pdparams
 
 Predict:
+  batch_size: 1
   model_dir: "output/best_model/inference"
   input_path: "https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/general_image_classification_001.jpg"
   kernel_option:
     run_mode: paddle
-    batch_size: 1

+ 1 - 1
paddlex/configs/image_classification/StarNet-S2.yaml

@@ -34,8 +34,8 @@ Export:
   weight_path: https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/legendary_models/StarNet_S2_pretrained.pdparams
 
 Predict:
+  batch_size: 1
   model_dir: "output/best_model/inference"
   input_path: "https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/general_image_classification_001.jpg"
   kernel_option:
     run_mode: paddle
-    batch_size: 1

+ 1 - 1
paddlex/configs/image_classification/StarNet-S3.yaml

@@ -34,8 +34,8 @@ Export:
   weight_path: https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/legendary_models/StarNet_S3_pretrained.pdparams
 
 Predict:
+  batch_size: 1
   model_dir: "output/best_model/inference"
   input_path: "https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/general_image_classification_001.jpg"
   kernel_option:
     run_mode: paddle
-    batch_size: 1

+ 1 - 1
paddlex/configs/image_classification/StarNet-S4.yaml

@@ -34,8 +34,8 @@ Export:
   weight_path: https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/legendary_models/StarNet_S4_pretrained.pdparams
 
 Predict:
+  batch_size: 1
   model_dir: "output/best_model/inference"
   input_path: "https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/general_image_classification_001.jpg"
   kernel_option:
     run_mode: paddle
-    batch_size: 1

+ 2 - 1
paddlex/configs/image_classification/SwinTransformer_base_patch4_window12_384.yaml

@@ -34,8 +34,9 @@ Export:
   weight_path: https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/legendary_models/SwinTransformer_base_patch4_window12_384_pretrained.pdparams
 
 Predict:
+  batch_size: 1
   model_dir: "output/best_model/inference"
   input_path: "https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/general_image_classification_001.jpg"
-  batch_size: 1
+
   kernel_option:
     run_mode: paddle

+ 2 - 1
paddlex/configs/image_classification/SwinTransformer_base_patch4_window7_224.yaml

@@ -34,8 +34,9 @@ Export:
   weight_path: https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/legendary_models/SwinTransformer_base_patch4_window7_224_pretrained.pdparams
 
 Predict:
+  batch_size: 1
   model_dir: "output/best_model/inference"
   input_path: "https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/general_image_classification_001.jpg"
-  batch_size: 1
+
   kernel_option:
     run_mode: paddle

+ 2 - 1
paddlex/configs/image_classification/SwinTransformer_large_patch4_window12_384.yaml

@@ -34,8 +34,9 @@ Export:
   weight_path: https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/legendary_models/SwinTransformer_large_patch4_window12_384_22kto1k_pretrained.pdparams
 
 Predict:
+  batch_size: 1
   model_dir: "output/best_model/inference"
   input_path: "https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/general_image_classification_001.jpg"
-  batch_size: 1
+
   kernel_option:
     run_mode: paddle

+ 2 - 1
paddlex/configs/image_classification/SwinTransformer_large_patch4_window7_224.yaml

@@ -34,8 +34,9 @@ Export:
   weight_path: https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/legendary_models/SwinTransformer_large_patch4_window7_224_22kto1k_pretrained.pdparams
 
 Predict:
+  batch_size: 1
   model_dir: "output/best_model/inference"
   input_path: "https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/general_image_classification_001.jpg"
-  batch_size: 1
+
   kernel_option:
     run_mode: paddle

+ 2 - 1
paddlex/configs/image_classification/SwinTransformer_small_patch4_window7_224.yaml

@@ -34,8 +34,9 @@ Export:
   weight_path: https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/legendary_models/SwinTransformer_small_patch4_window7_224_pretrained.pdparams
 
 Predict:
+  batch_size: 1
   model_dir: "output/best_model/inference"
   input_path: "https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/general_image_classification_001.jpg"
-  batch_size: 1
+
   kernel_option:
     run_mode: paddle

+ 2 - 1
paddlex/configs/image_classification/SwinTransformer_tiny_patch4_window7_224.yaml

@@ -34,8 +34,9 @@ Export:
   weight_path: https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/legendary_models/SwinTransformer_tiny_patch4_window7_224_pretrained.pdparams
 
 Predict:
+  batch_size: 1
   model_dir: "output/best_model/inference"
   input_path: "https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/general_image_classification_001.jpg"
-  batch_size: 1
+
   kernel_option:
     run_mode: paddle

+ 2 - 1
paddlex/configs/image_unwarping/UVDoc.yaml

@@ -5,8 +5,9 @@ Global:
   output: "output"
 
 Predict:
+  batch_size: 1
   model_dir: "output/best_accuracy"
   input_path: "https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/doc_test.jpg"
-  batch_size: 1
+
   kernel_option:
     run_mode: paddle

+ 1 - 1
paddlex/configs/instance_segmentation/Cascade-MaskRCNN-ResNet50-FPN.yaml

@@ -33,8 +33,8 @@ Export:
   weight_path: https://paddledet.bj.bcebos.com/models/cascade_mask_rcnn_r50_fpn_1x_coco.pdparams
 
 Predict:
+  batch_size: 1
   model_dir: "output/best_model/inference"
   input_path: "https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/general_instance_segmentation_004.png"
   kernel_option:
     run_mode: paddle
-    batch_size: 1

+ 1 - 1
paddlex/configs/instance_segmentation/Cascade-MaskRCNN-ResNet50-vd-SSLDv2-FPN.yaml

@@ -33,8 +33,8 @@ Export:
   weight_path: https://paddledet.bj.bcebos.com/models/cascade_mask_rcnn_r50_vd_fpn_ssld_1x_coco.pdparams
 
 Predict:
+  batch_size: 1
   model_dir: "output/best_model/inference"
   input_path: "https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/general_instance_segmentation_004.png"
   kernel_option:
     run_mode: paddle
-    batch_size: 1

+ 2 - 1
paddlex/configs/instance_segmentation/Mask-RT-DETR-H.yaml

@@ -33,8 +33,9 @@ Export:
   weight_path: https://paddlex.bj.bcebos.com/models/mask_rtdetr_hgnetv2_h_6x_coco.pdparams
 
 Predict:
+  batch_size: 1
   model_dir: "output/best_model/inference"
   input_path: "https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/general_instance_segmentation_004.png"
-  batch_size: 1
+
   kernel_option:
     run_mode: paddle

+ 2 - 1
paddlex/configs/instance_segmentation/Mask-RT-DETR-L.yaml

@@ -33,8 +33,9 @@ Export:
   weight_path: https://paddlex.bj.bcebos.com/models/mask_rtdetr_hgnetv2_l_6x_coco.pdparams
 
 Predict:
+  batch_size: 1
   model_dir: "output/best_model/inference"
   input_path: "https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/general_instance_segmentation_004.png"
-  batch_size: 1
+
   kernel_option:
     run_mode: paddle

+ 1 - 1
paddlex/configs/instance_segmentation/Mask-RT-DETR-M.yaml

@@ -33,8 +33,8 @@ Export:
   weight_path: https://paddledet.bj.bcebos.com/models/mask_rtdetr_hgnetv2_m_6x_coco.pdparams
 
 Predict:
+  batch_size: 1
   model_dir: "output/best_model/inference"
   input_path: "https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/general_instance_segmentation_004.png"
   kernel_option:
     run_mode: paddle
-    batch_size: 1

+ 1 - 1
paddlex/configs/instance_segmentation/Mask-RT-DETR-S.yaml

@@ -33,8 +33,8 @@ Export:
   weight_path: https://paddledet.bj.bcebos.com/models/mask_rtdetr_hgnetv2_s_6x_coco.pdparams
 
 Predict:
+  batch_size: 1
   model_dir: "output/best_model/inference"
   input_path: "https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/general_instance_segmentation_004.png"
   kernel_option:
     run_mode: paddle
-    batch_size: 1

+ 1 - 1
paddlex/configs/instance_segmentation/Mask-RT-DETR-X.yaml

@@ -33,8 +33,8 @@ Export:
   weight_path: https://paddledet.bj.bcebos.com/models/mask_rtdetr_hgnetv2_x_6x_coco.pdparams
 
 Predict:
+  batch_size: 1
   model_dir: "output/best_model/inference"
   input_path: "https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/general_instance_segmentation_004.png"
   kernel_option:
     run_mode: paddle
-    batch_size: 1

+ 1 - 1
paddlex/configs/instance_segmentation/MaskRCNN-ResNeXt101-vd-FPN.yaml

@@ -32,8 +32,8 @@ Evaluate:
 Export:
   weight_path: https://paddledet.bj.bcebos.com/models/mask_rcnn_x101_vd_64x4d_fpn_1x_coco.pdparams
 Predict:
+  batch_size: 1
   model_dir: "output/best_model/inference"
   input_path: "https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/general_instance_segmentation_004.png"
   kernel_option:
     run_mode: paddle
-    batch_size: 1

+ 1 - 1
paddlex/configs/instance_segmentation/MaskRCNN-ResNet101-FPN.yaml

@@ -33,8 +33,8 @@ Export:
   weight_path: https://paddledet.bj.bcebos.com/models/mask_rcnn_r101_fpn_1x_coco.pdparams
 
 Predict:
+  batch_size: 1
   model_dir: "output/best_model/inference"
   input_path: "https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/general_instance_segmentation_004.png"
   kernel_option:
     run_mode: paddle
-    batch_size: 1

+ 1 - 1
paddlex/configs/instance_segmentation/MaskRCNN-ResNet101-vd-FPN.yaml

@@ -33,8 +33,8 @@ Export:
   weight_path: https://paddledet.bj.bcebos.com/models/mask_rcnn_r101_vd_fpn_1x_coco.pdparams
   
 Predict:
+  batch_size: 1
   model_dir: "output/best_model/inference"
   input_path: "https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/general_instance_segmentation_004.png"
   kernel_option:
     run_mode: paddle
-    batch_size: 1

Some files were not shown because too many files changed in this diff