PaddleX icon indicating copy to clipboard operation
PaddleX copied to clipboard

版面区域检测 识别无有效结果

Open realeve opened this issue 6 months ago • 1 comments

Checklist:

描述问题

根据 https://paddlepaddle.github.io/PaddleX/latest/module_usage/tutorials/ocr_modules/layout_detection.html#_3 提供的版面区域检测模型的demo,识别后无结果,使用的图片为提供的示例图片。

from paddlex import create_model

model_name = "PP-DocLayout-L"
model = create_model(model_name=model_name)
output = model.predict("layout.jpg", batch_size=1, layout_nms=True)

for res in output:
    res.print()
    res.save_to_img(save_path="./output/")
    res.save_to_json(save_path="./output/res.json")

Image

复现

  1. 您是否已经正常运行我们提供的教程

  2. 您是否在教程的基础上修改代码内容?还请您提供运行的代码

环境

  1. 请提供您使用的PaddlePaddle和PaddleX的版本号

paddlepaddle-gpu 3.0.0 paddlex 3.0.0rc1

  1. 请提供您使用的操作系统信息,如Linux/Windows/MacOS

wibdows

  1. 请问您使用的Python版本是?

3.10.0

  1. 请问您使用的CUDA/cuDNN的版本号是?

Cuda compilation tools, release 11.8, V11.8.89 Build cuda_11.8.r11.8/compiler.31833905_0

realeve avatar May 19 '25 06:05 realeve

我们在 window 上测试一下

leo-q8 avatar May 21 '25 03:05 leo-q8

The issue has no response for a long time and will be closed. You can reopen or new another issue if are still confused.


From Bot

TingquanGao avatar Jun 21 '25 12:06 TingquanGao