微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

HttpExtensionErrorResponse- "message": "Image must be 416x416" - Yolov3 边缘模块

如何解决HttpExtensionErrorResponse- "message": "Image must be 416x416" - Yolov3 边缘模块

我使用 Yolov3 镜像来部署边缘模块。 图片https://github.com/Azure/live-video-analytics/tree/master/utilities/video-analysis/yolov3-onnx 容器创建选项:{}

边缘模块正在运行

enter image description here

按照https://docs.microsoft.com/en-us/azure/media-services/live-video-analytics-edge/use-your-model-quickstart?pivots=programming-language-python创建了GraphTopology。

我在尝试进行推理时收到的以下回复

[IoTHubMonitor] [5:25:31 PM] Message received from [testingdevice/lvaEdge]:
{
  "body": {
    "code": "400","target": "http://yolov3/score","details": [
      {
        "code": "HttpExtensionErrorResponse","message": "Image must be 416x416"
      }
    ],"protocol": "http"
  },"properties": {
    "topic": "/subscriptions/f47e2355-0c1c-48a5-8b99-c13706803ce5/resourceGroups/LiveVideoAnalytics-demoApp/providers/microsoft.media/mediaservices/mediaserviceslva","subject": "/graphInstances/Sample-Graph-1/processors/httpExtension","eventType": "Microsoft.Media.Graph.Diagnostics.ProtocolError","eventTime": "2021-05-03T11:55:31.738Z","dataVersion": "1.0"
  },"systemProperties": {
    "iothub-connection-device-id": "testingdevice","iothub-connection-module-id": "lvaEdge","iothub-connection-auth-method": "{\"scope\":\"module\",\"type\":\"sas\",\"issuer\":\"iothub\",\"acceptingIpFilterRule\":null}","iothub-connection-auth-generation-id": "637543244075620591","iothub-enqueuedtime": 1620042931788,"iothub-message-source": "Telemetry","messageId": "6de28097-b9a4-4f28-b439-7c665074771d","contentType": "application/json","contentEncoding": "utf-8"
  }

你能帮我修复它吗,我想我应该做一些预处理来以预期的格式调整图像大小。非常感谢任何帮助。

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。