pytorch/serve

Handle invalid input intelligently !

Open

#2,459 创建于 2023年7月12日

在 GitHub 查看
 (7 评论) (0 反应) (0 负责人)Java (790 fork)batch import
debugginggood first issuetriaged

仓库指标

Star
 (3,844 star)
PR 合并指标
 (30 天内没有已合并 PR)

描述

🚀 The feature

Given a custom service that expects JSON as input, If the input is invalid JSON such as { "image": "I missed a quote} it will return { "code": 500, "type": "InternalServerException", "message": "Worker died." } and reload model. Is something can do to verify the accuracy of input to avoid such direct returns and model reload when it cannot be modified input?

Motivation, pitch

Is something can do to verify the accuracy of input to avoid such direct returns and model reload when it cannot be modified input?

Alternatives

No response

Additional context

No response

贡献者指南