AttributeError: 'Segment' object has no attribute 'detect'
Closed this issue · 2 comments
AloysiusChua0822 commented
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
AloysiusChua0822 commented
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)
AloysiusChua0822 commented
anyone with the same issue can take note