ultralytics / ultralytics

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

gradient #17553

Open YuShuTong666 opened 1 day ago

YuShuTong666 commented 1 day ago

Search before asking

Question

How can I backward the pred.obb.conf and get the gradient of the input imgs using DetectionPredictor?

Additional

No response

UltralyticsAssistant commented 1 day ago

👋 Hello @YuShuTong666, thank you for your interest in Ultralytics 🚀! This is an automated response to let you know that an Ultralytics engineer will also assist soon.

We recommend checking out the Docs for detailed usage instructions and concepts. You can find many examples for both Python and CLI usage, which may already address similar queries.

If this is specifically a 🐛 Bug Report, please ensure to provide a minimum reproducible example so we can better assist in debugging the issue.

For custom training or usage ❓ Questions like yours, please provide more context if possible, such as dataset image examples or specific challenges faced during the backward process, and double-check you are adhering to our Tips for Best Training Results.

Additionally, you might want to join our community for more interactive discussions:

Upgrade

Make sure you are using the latest ultralytics package and that it's installed with all requirements in a Python>=3.8 environment with PyTorch>=1.8:

pip install -U ultralytics

Environment Options

You can run YOLO in verified environments where all dependencies are preinstalled, ensuring smooth operation:

Status

Ultralytics CI

If the badge above is green, all Ultralytics CI tests are passing, ensuring that all YOLO Modes and Tasks are functioning correctly across various platforms.

Y-T-G commented 1 day ago

https://github.com/ultralytics/ultralytics/issues/10071#issuecomment-2440038234