Skip To Main Content
Support Knowledge Base

Encountered ops.scale_segments Issue When Running 230-yolov8-Optimization Notebook Sample

Content Type: Troubleshooting   |   Article ID: 000095902   |   Last Reviewed: 11/16/2023

Description

  • Ran the 230-yolov8-optimization sample application.

  • Encountered error: AttributeError: module 'ultralytics.yolo.utils.ops' has no attribute 'scale_segments'

Resolution

  • Ensure set up and installed the requirements properly according to your OS/env.
  • Install the library version mentioned in the guide.
  • Access the library from the correct path, for example:

    grep scale_segments ~/Desktop/opevino_env/lib/python3.8/site-packages/ultralytics/yolo/utils/ops.py

Related Products

This article applies to 1 products.