ultralytics / ultralytics

Ultralytics YOLO11 πŸš€
https://docs.ultralytics.com
GNU Affero General Public License v3.0
30.95k stars 5.97k forks source link

About the use of the torch vision model #16904

Open rabiakasikci opened 2 days ago

rabiakasikci commented 2 days ago

Search before asking

Question

When I try to use models such as s3d in Torch vision model, I get RuntimeError: input image (T: 1 H: 7 W: 7) smaller than kernel size (kT: 2 kH: 7 kW: 7) error. Why is this happening and how should I fix it ?

Additional

No response

UltralyticsAssistant commented 2 days ago

πŸ‘‹ Hello @rabiakasikci, thank you for reaching out to Ultralytics πŸš€! We appreciate your question regarding the Torch vision model.

If this is a πŸ› Bug Report, please provide a minimum reproducible example to better assist our debugging efforts.

For questions like this one, where you're encountering a RuntimeError, it's helpful to know more about the input dimensions and any specific model or layer configurations you're using. Please provide those details if possible.

While our Ultralytics engineers will be here to assist you soon, I also recommend checking out our Docs for additional insights. There you can find guides on Python and CLI usage that may relate to your issue.

Join the Ultralytics community for more immediate support. Whether it’s a chat on Discord 🎧, discussions on Discourse, or exploring threads on our Subreddit, there's a platform to suit your preferences.

Upgrade

Make sure you've upgraded to the latest ultralytics package and meet all requirements in a Python>=3.8 environment with PyTorch>=1.8:

pip install -U ultralytics

Environments

YOLO can run in any of these updated verified environments:

Status

Ultralytics CI

If this badge is green, all Ultralytics CI tests are currently passing.

An Ultralytics engineer will assist you further shortly. Thanks for your patience 🌟!