ivilson / Yolov7net

Yolo Detector for .Net 8
83 stars 25 forks source link

Predict “One or more errors occurred,(Index was outside the bounds of the array)” #25

Closed javaCR7 closed 2 months ago

javaCR7 commented 7 months ago

image

javaCR7 commented 7 months ago

image

iwaitu commented 2 months ago

If the onnx file is you custom train weight file ,you should setup the labels before your prediction. like this :

yolo.SetupLabels(string[] labels);