X-AnyLabeling icon indicating copy to clipboard operation
X-AnyLabeling copied to clipboard

Error throwing when use custom yolov8 segment model.

Open doskid opened this issue 1 year ago • 3 comments

Hello,

I'm attempting to utilize a custom YOLOv8 segmentation model for auto-labeling, but encountered an error in the program: "Error in predict_shapes: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()."

Could you please advise on how to resolve this issue? Thank you.

Here is my YAML file:

type: yolov8_seg
      name: best_segment3.onnx
      display_name: trolley_detect_segment2
      model_path: D:\pycharm project\yoloDemo\best_segment3.onnx
      nms_threshold: 0.45
      confidence_threshold: 0.25
      classes:
        - trolley

doskid avatar Apr 12 '24 07:04 doskid

Hello @doskid, could you please share with me the version of X-AnyLabeling that you are currently utilizing?

CVHub520 avatar Apr 12 '24 09:04 CVHub520

Hello @doskid, could you please share with me the version of X-AnyLabeling that you are currently utilizing?

Sure, I'm using version release v2.3.5.

doskid avatar Apr 12 '24 14:04 doskid

We are facing same issue!

jpointchoi avatar Apr 22 '24 06:04 jpointchoi

As a note, ensure that you are using the most current version of the X-AnyLabeling repo to leverage the latest enhancements and bug fixes. This often helps in resolving unexpected hiccups.

CVHub520 avatar Aug 08 '24 15:08 CVHub520