CommunityToolkit / CommunityToolkit/Labs-IntelligentAPIs

Unknown model file format version with Yolo Model Object Detection

Abierto
#3 3 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
C#
Estrellas
21
Forks
0
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

"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

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
csharp, machine-learning
Área
computer-vision, machine-learning
Tipo de issue
Error
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Estancado
Claridad
Necesita aclaración
Aptitud para principiantes
25/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.