CommunityToolkit / CommunityToolkit/Labs-IntelligentAPIs
Unknown model file format version with Yolo Model Object Detection
- Ngôn ngữ chính
- C#
- Star
- 21
- Fork
- 0
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
"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
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Hướng nghiên cứu
Bắt đầu tại YOLOObjectDetector.InitModelAsync, sau đó lần theo đường dẫn gọi qua EvaluateFrame và DetectObjects từ stack trace; ResultsPage.xaml.cs dòng 74 là hàm gọi được báo cáo. Tái hiện lỗi với bản build chính và gói NuGet, xác định lý do định dạng model bị từ chối, và coi vấn đề là đã hoàn tất khi model được tải và việc phát hiện đối tượng tiếp tục mà không có lỗi này.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- csharp, machine-learning
- Lĩnh vực
- computer-vision, machine-learning
- Loại issue
- Lỗi
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 25/100