YOLOv8+track

file “/mnt/bytetrack/yolov8/ultralytics/utils/init.py”, line 241, in getattr raise attributeerror(f"‘{name}’ object has no attribute ‘{attr}’. see valid attributes below.\n{self.doc}") attributeerror: ‘results’ object has no attribute ‘ploy’. see valid attributes below.
How should this problem be solved?

As the error message states

which means that somewhere you attempted to access an attribute named ploy from the ultralytics.engine.results.Results object, but it doesn’t exist. I’m guessing you meant to access or use plot instead. See all available arguments for the predict mode in the docs: Model Prediction with Ultralytics YOLO - Ultralytics YOLO Docs