Skip to content

Yolo8 module not working on clean install #1

@xnorpx

Description

@xnorpx

Area of Concern

  • Server
  • [ x] Behaviour of one or more Modules [provide name(s), e.g. ObjectDetectionYolo]
  • [ x] Installer
  • Runtime [e.g. Python3.7, .NET]
  • [ x] Module packages [e.g. PyTorch)
  • Something else

Describe the bug
Clean install of 2.6.5, with only Yolo8

Module cannot be started due to:

12:31:40:Started Object Detection (YOLOv8) module
12:31:49:detect_adapter.py: Traceback (most recent call last):
12:31:49:detect_adapter.py: Unable to load OpenCV or numpy modules. Only using PIL.
12:31:49:detect_adapter.py:   File "C:\Program Files\CodeProject\AI\modules\ObjectDetectionYOLOv8\detect_adapter.py", line 16, in 
12:31:49:detect_adapter.py:     from detect import do_detection
12:31:49:detect_adapter.py:   File "C:\Program Files\CodeProject\AI\modules\ObjectDetectionYOLOv8\detect.py", line 11, in 
12:31:49:detect_adapter.py:     from ultralytics import YOLO
12:31:49:detect_adapter.py: ModuleNotFoundError: No module named 'ultralytics'
12:31:50:Module ObjectDetectionYOLOv8 has shutdown
12:31:50:detect_adapter.py: has exited

Expected behavior
Correct modules installed?

Screenshots
If applicable, add screenshots to help explain your problem.

Your System (please complete the following information):

  • CodeProject.AI Server version: 2.6.5
  • OS: Windows 11
  • System RAM 16
  • GPU (if available) [e.g. GeForce GTX 1050
  • GPU RAM 2 GB

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions