CommunityToolkit / CommunityToolkit/Labs-IntelligentAPIs

Unknown model file format version with Yolo Model Object Detection

オープン
#3 コメント 3 件 リアクション 0 件 担当者 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

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

Start at YOLOObjectDetector.InitModelAsync, then follow the call path through EvaluateFrame and DetectObjects from the stack trace; ResultsPage.xaml.cs line 74 is the reported caller. Reproduce the failure with the main build and NuGet package, identify why the model format is rejected, and consider the issue done when the model loads and object detection proceeds without this error.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
csharp, machine-learning
領域
computer-vision, machine-learning
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。