Closed outman closed 4 months ago
img: bytes 是否与输入图片是bytes类型有关呢?
img: bytes 是否与输入图片是bytes类型有关呢?
我看了源码写入 bytes 是没问题的,不在 docker 的镜像里直接在操作系统为 aliyun os 3 的主机上也没问题。目前只是发现在基于 debian 的 python 镜像里出现了这个问题。不知道是不是有操作系统不兼容相关的问题。
目前的报错信息是一个外部错误,Task handler raised error: WorkerLostError('Worker exited prematurely: signal 4 (SIGILL) Job: 0.')可以从这方面考虑一下
看一下是不是和cpu指令集相关
Duplicate of #11597
请提供下述完整信息以便快速定位问题/Please provide the following information to quickly locate the problem
系统环境/System Environment:Docker 基础镜像 python:3.11.9-bullseye
版本号/Version:Paddle: PaddleOCR: 问题相关组件/Related components:
运行指令/Command Code: 通过 http 请求,之后 celery 异步执行,主要是通过 docker 方式将 paddle 也打包在镜像内,在收到请求执行 OCR 的时候发生了错误。