CommunityToolkit / CommunityToolkit/Labs-IntelligentAPIs

Unknown model file format version with Yolo Model Object Detection

未关闭
#3 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
C#
星标
21
派生
0
PR 合并指标
30 天内没有已合并 PR

描述

"The parameter is incorrect.\r\n\r\nFailed to load model with error: Unknown model file format version."

```
at CommunityToolkit.Labs.Intelligent.ObjectDetection.YOLOObjectDetector.d__9.MoveNext()
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at CommunityToolkit.Labs.Intelligent.ObjectDetection.YOLOObjectDetector.d__10.MoveNext()
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at CommunityToolkit.Labs.Intelligent.ObjectDetection.YOLOObjectDetector.d__8.MoveNext()
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at CommunityToolkit.Labs.Intelligent.ObjectDetection.YOLOObjectDetector.d__6.MoveNext()
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at IntelligentLabsTest.ResultsPage.d__4.MoveNext() in H:\code\Labs-IntelligentAPIs\IntelligentAPIsTester\ResultsPage.xaml.cs:line 74
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.b__7_0(Object state)
at System.Threading.WinRTSynchronizationContextBase.Invoker.InvokeCore()
```

Happens for me in main and with NuGet package.

VS 16.9.8
Win 10 21H1 19043

贡献指南

这个仓库没有索引到贡献指南

调研方向

从 YOLOObjectDetector.InitModelAsync 开始,然后根据堆栈跟踪,通过 EvaluateFrame 和 DetectObjects 跟踪调用路径;ResultsPage.xaml.cs 第 74 行是报告中的调用方。使用主构建和 NuGet 包重现故障,确定模型格式被拒绝的原因,并在模型加载成功且对象检测能够在没有此错误的情况下继续进行时,认为问题已完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
csharp, machine-learning
领域
computer-vision, machine-learning
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。