PaddlePaddle / PaddleNLP

👑 Easy-to-use and powerful NLP and LLM library with 🤗 Awesome model zoo, supporting wide-range of NLP tasks from research to industrial applications, including 🗂Text Classification, 🔍 Neural Search, ❓ Question Answering, ℹ️ Information Extraction, 📄 Document Intelligence, 💌 Sentiment Analysis etc.
https://paddlenlp.readthedocs.io
Apache License 2.0
12.11k stars 2.94k forks source link

[Bug]: uie-x gradio demo does not show any results #6645

Open ywangwxd opened 1 year ago

ywangwxd commented 1 year ago

软件环境

I am running the gradio demo of UIE-X on a local Ubuntu Linux system.
The source code of the demo was cloned from huggingface.

paddle-bfloat               0.1.7
paddle2onnx                 1.0.6
paddlefsl                   1.1.0
paddlenlp                   2.5.2
paddleocr                   2.7.0.0
paddlepaddle-gpu            2.5.1.post117

重复问题

错误描述

Everything looks fine, but after I submit an image, there is no result shown. The progress indicator looks fine, it shows it is running. Is there any debug option so that I can get more information?

稳定复现步骤 & 代码

It is easy to reproduce the bug, just copy gradio demo code and run it on a local machine.

w5688414 commented 6 months ago

here are a list of suggestions: 1.use python pdb to debug to see what's happened 2.provide us with minimal reproduce code for faster locate the problem of uie-x