mikel-brostrom/boxmot

AttributeError: 'Segment' object has no attribute 'detect'

Closed this issue · 2 comments

Search before asking

  • I have searched the Yolo Tracking issues and found no similar bug report.

Question

I am trying to run on a custom model trained on yolov8 segmentation but this error came

Found out have to modify a line in the segment class from ultralytics/modules/nn/head.py from x=self.detect(self,x) -> x=super().forward(x)

anyone with the same issue can take note