Windows-Machine-Learning icon indicating copy to clipboard operation
Windows-Machine-Learning copied to clipboard

incorrect initialize model

Open olexsahka opened this issue 4 years ago • 1 comments

I'm submitting a Regression

Current behavior:

Im trying use this sample for objecr detection(https://github.com/microsoft/Windows-Machine-Learning/tree/master/Samples/Tutorial%20Samples/YOLOv4ObjectDetection), but when i inintializing your model(yolov4.onnx),appear this error in Evaluate frame func: System.NullReferenceException: "Object reference not set to an instance of an object." _binding was null.

image

this error manifested after initializing model. i think model wasn't correct initialized

Expected behavior

Minimal reproduction of the problem with instructions

Environment

Onnx version: image

Windows Build Number:19041

App min and target version:19041

OS Version (Server, IoT Core, Desktop, etc): Desktop W10

Thanks in advance

olexsahka avatar Jul 01 '21 14:07 olexsahka

I have the same problem too, any solutions?

jerryshih1106 avatar Jul 16 '21 09:07 jerryshih1106

This issue should now be resolved as the sample has been changed to use the Microsoft.AI.MachineLearning NuGet package.

nums11 avatar Jan 23 '23 19:01 nums11