ultralytics / ultralytics

Ultralytics YOLO11 🚀
https://docs.ultralytics.com
GNU Affero General Public License v3.0
29.35k stars 5.77k forks source link

Core ML exports, python 3.12 support #16459

Open ambitious-octopus opened 1 week ago

ambitious-octopus commented 1 week ago

Search before asking

Description

coreml export does not work with python 3.12.

Use case

No response

Additional

No response

Are you willing to submit a PR?

UltralyticsAssistant commented 1 week ago

👋 Hello @ambitious-octopus, thank you for your interest in Ultralytics 🚀! We're here to help. This is an automated response, and an Ultralytics engineer will also assist you soon.

We recommend checking out our comprehensive Docs where new users can find many Python and CLI usage examples, which may already address some common questions.

As this appears to be a 🐛 Bug Report related to Core ML export compatibility with Python 3.12, please provide a minimum reproducible example if possible, to help us investigate further.

To ensure your environment is set up correctly, please upgrade to the latest ultralytics package and confirm you have all requirements installed in a Python>=3.8 environment, with PyTorch>=1.8:

pip install -U ultralytics

For collaboration and support from the Ultralytics community, you can join us on Discord 🎧, engage in detailed discussions on Discourse, or explore threads on our Subreddit.

Environments

YOLOv8 can be utilized in any up-to-date, verified environment:

Status

Ultralytics CI

If the CI badge is green, all Ultralytics CI tests are passing. They verify the proper operation of all YOLOv8 Modes and Tasks across various platforms every 24 hours and on every commit.