CommunityToolkit / CommunityToolkit/Labs-IntelligentAPIs

Unknown model file format version with Yolo Model Object Detection

Ouverte
#3 3 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
C#
Étoiles
21
Forks
0
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

"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

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
csharp, machine-learning
Domaine
computer-vision, machine-learning
Type d'issue
Bug
Difficulté
4/5
Temps estimé
3-5 jours
Activité
À l'abandon
Clarté
À clarifier
Accessibilité débutants
25/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.