You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
👋 Hello @sav0l, thank you for your interest in Ultralytics YOLOv8 🚀! We recommend a visit to the Docs for new users where you can find many Python and CLI usage examples and where many of the most common questions may already be answered.
If this is a custom training ❓ Question, please provide as much information as possible, including dataset image examples and training logs, and verify you are following our Tips for Best Training Results.
Join the vibrant Ultralytics Discord 🎧 community for real-time conversations and collaborations. This platform offers a perfect space to inquire, showcase your work, and connect with fellow Ultralytics users.
YOLOv8 may be run in any of the following up-to-date verified environments (with all dependencies including CUDA/CUDNN, Python and PyTorch preinstalled):
If this badge is green, all Ultralytics CI tests are currently passing. CI tests verify correct operation of all YOLOv8 Modes and Tasks on macOS, Windows, and Ubuntu every 24 hours and on every commit.
Hello! Thanks for pointing out the missing type hint for PIL.Image.Image in the predict method. It's great to hear that you're willing to help by submitting a PR! 🚀
Here's a quick example of how you might update the method signature to include the type hint:
Feel free to make the necessary changes and submit a PR. If you need any guidance on how to proceed with the PR, please let us know. We appreciate your contribution to improving YOLOv8!
Search before asking
YOLOv8 Component
No response
Bug
the PIL.Image.Image type hint is not defined in the predict method of the model class model
Environment
not required
Minimal Reproducible Example
not required
Additional
No response
Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: