guojin-yan / OpenVINO-CSharp-API

OpenVINO wrapper for .NET.
Apache License 2.0
146 stars 38 forks source link

YoloV8 Segment OpenCvSharp.OpenCVException: 'r == Range::all() || (0 <= r.start && r.start < r.end && r.end <= m.size[i])' #32

Open Mininggamer opened 4 months ago

Mininggamer commented 4 months ago

Problem in process_result function of yolov8 seg. Seem reshape_mask only 160x160 but my1 is bigger than 160. What should i do to fix that?

image

guojin-yan commented 4 months ago

Please check if there are any parameters set to 640 and change them all to 160