ソースを参照

Fix table related configs (#4038)

* Update paddlepaddle_install.md

* Update paddlepaddle_install_en.md

* table_pipe_v2 for pdx3.0

* Fix bug

* fix configs

---------

Co-authored-by: Bobholamovic <bob1998425@hotmail.com>
Liu Jiaxuan 6 ヶ月 前
コミット
2dd9dc8a64

+ 3 - 2
paddlex/repo_apis/PaddleOCR_api/configs/SLANeXt_wired.yaml

@@ -21,6 +21,7 @@ Global:
   infer_mode: false
   use_sync_bn: true
   save_res_path: output/infer
+  d2s_train_image_shape: [3, 512, 512]
 
 Optimizer:
   name: AdamW
@@ -93,7 +94,7 @@ Train:
         out_box_format: xyxyxyxy
     - ResizeTableImage:
         max_len: 512
-        resize_bboxes: true
+        resize_bboxes: True
     - NormalizeImage:
         scale: 1./255.
         mean:
@@ -145,7 +146,7 @@ Eval:
         out_box_format: xyxyxyxy
     - ResizeTableImage:
         max_len: 512
-        resize_bboxes: true
+        resize_bboxes: True
     - NormalizeImage:
         scale: 1./255.
         mean:

+ 1 - 0
paddlex/repo_apis/PaddleOCR_api/configs/SLANeXt_wireless.yaml

@@ -21,6 +21,7 @@ Global:
   infer_mode: false
   use_sync_bn: true
   save_res_path: output/infer
+  d2s_train_image_shape: [3, 512, 512]
 
 Optimizer:
   name: AdamW

+ 2 - 0
paddlex/repo_apis/PaddleOCR_api/configs/SLANet_plus.yaml

@@ -89,6 +89,7 @@ Train:
           out_box_format: *box_format
       - ResizeTableImage:
           max_len: 488
+          resize_bboxes: True
       - NormalizeImage:
           scale: 1./255.
           mean: [0.485, 0.456, 0.406]
@@ -125,6 +126,7 @@ Eval:
           out_box_format: *box_format
       - ResizeTableImage:
           max_len: 488
+          resize_bboxes: True
       - NormalizeImage:
           scale: 1./255.
           mean: [0.485, 0.456, 0.406]