ppocrv6 ">=" not supported between instance of 'list' and float
Author: vapelouisliu-cyberCreated Sep 3, 2026Updated Sep 3, 2026
Search before asking
- I have searched the PaddleOCR Docs and found no similar bug report.
- I have searched the PaddleOCR Issues and found no similar bug report.
- I have searched the PaddleOCR Discussions and found no similar bug report.
Bug (问题描述)
I’m currently using FastAPI + PP-OCRv6 on the server side. PP-OCRv6 is initialized as a single global instance, and all API requests use this shared instance to perform OCR. I’m now encountering the error shown in the title. This bug tends to occur when there are more than 5 concurrent requests.
♂️ Environment (运行环境)
os EulerOS 2.0 SP9X86_64
python 3.12.11
paddleocr 3.7.0
paddleocr-gpu 3.3.1
paddlex 3.7.2
cuda 11.4
dirver version 470.57.01
Minimal Reproducible Example (最小可复现问题的Demo)
I can't gvie you
Source: PaddlePaddle/PaddleOCR