Skip to content

Apple MPS inference with detect.py #9596

@lightonthefloor

Description

@lightonthefloor

Search before asking

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

YOLOv5 Component

Detection

Bug

When I run the command: python detect.py --source 0 --device mps, there is no detections. But when I run by using cpu, it has.

Environment

  • Yolo v5-6.2
  • macOS 12.6
  • conda 4.14
  • python 3.10.4

Minimal Reproducible Example

No response

Additional

No response

Are you willing to submit a PR?

  • Yes I'd like to help by submitting a PR!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions