Unknown model file format version with Yolo Model Object Detection
還沒有人認領這個 Issue。
評估
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 新手友好度
- 25/100
- Issue 類型
- 缺陷
- 描述清晰度
- 需要釐清
- 活躍度
- 停滯
- 技術堆疊
- csharp, machine-learning
研究方向
從 YOLOObjectDetector.InitModelAsync 開始,然後根據堆疊追蹤,透過 EvaluateFrame 和 DetectObjects 追蹤呼叫路徑;ResultsPage.xaml.cs 第 74 行是報告中的呼叫端。使用主要組建和 NuGet 套件重現失敗,找出模型格式遭拒的原因,並在模型載入且物件偵測能夠在沒有此錯誤的情況下繼續進行時,視問題為完成。
由索引模型根據 Issue 內容生成。
描述
"The parameter is incorrect.\r\n\r\nFailed to load model with error: Unknown model file format version."
at CommunityToolkit.Labs.Intelligent.ObjectDetection.YOLOObjectDetector.<InitModelAsync>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.<EvaluateFrame>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.<DetectObjects>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.<DetectObjects>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.<OnNavigatedTo>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.<ThrowAsync>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
- 主要語言
- C#
- 星號
- 21
- 分支
- 0
- PR 合併指標
- 30 天內沒有已合併 PR
環境準備
這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
CommunityToolkit/Labs-IntelligentAPIs 的其他 Issue
-
難度 5/5 一週以上 新手友好度 25/100
-
Publish WinUI packages可能重新可做 @amruthasrini 於 1862 天前認領,目前沒有進行中的 PR。 未關閉
CommunityToolkit/Labs-IntelligentAPIs#13 · 已指派 1 人 ·
-
[Spec]: Helper functions for pre and post processing可能重新可做 @amruthasrini 於 1862 天前認領,目前沒有進行中的 PR。 未關閉
CommunityToolkit/Labs-IntelligentAPIs#11 · 已指派 1 人 ·
-
Porting to WinUI3 Desktop?可能重新可做 @amruthasrini 於 1932 天前認領,目前沒有進行中的 PR。 未關閉
CommunityToolkit/Labs-IntelligentAPIs#7 · 1 個 reaction · 已指派 1 人 ·
查看 CommunityToolkit/Labs-IntelligentAPIs 的全部 Issue
相似的 Issue
-
area: core bug help wanted ready
難度 2/5 1-3 小時 新手友好度 62/100
維護者通常 1 天內回覆
-
area: remote bug
難度 2/5 1-3 小時 新手友好度 68/100
維護者通常 1 天內回覆
-
📅 Sprint 4 Module-Tools Setup Submit:None 🦔 Size Tiny
難度 2/5 1-3 小時 新手友好度 70/100
CodeYourFuture/Module-Tools#712 ·
-
:watch: Not Triaged dotnet-fundamentals/svc
難度 1/5 1 小時以內 新手友好度 88/100
維護者通常 1 天內回覆
-
A: Mapping P3: Standard T: New Feature
難度 2/5 1-3 小時 新手友好度 68/100
space-wizards/space-station-14#46878 · 2 則留言 ·
維護者通常 1 天內回覆