Closed Ian-Work-AI closed 4 days ago
👋 Hello @Ian-Work-AI, thank you for reaching out and for your interest in Ultralytics 🚀! We recommend taking a look at the Docs where you’ll find helpful guidance, including examples for both Python and CLI, as well as insights into inference and other common tasks.
If this is a 🐛 Bug Report, please provide a minimum reproducible example (MRE) that includes all necessary steps, such as your exact setup and model configuration. This will help us replicate the issue and investigate it further.
If this is a ❓ Question, please provide more information about your setup, such as:
ultralytics
package and any relevant dependencies you are using.To ensure you’re running the most stable version, please upgrade to the latest ultralytics
package and dependencies. Use the following command in your Python>=3.8 environment with PyTorch>=1.8:
pip install -U ultralytics
YOLO models can be tested in several verified environments. We recommend exploring these options if applicable:
You may also find solutions or connect with others who’ve tackled similar tasks in our community:
If this badge is green, all Ultralytics CI tests are passing. CI tests validate YOLO functionality across various platforms every 24 hours and upon every commit.
This is an automated response to guide you effectively 🛠️. An Ultralytics engineer will take a closer look and assist you further soon. Thank you for your patience! 😊
It's not exactly the same padding as what Ultralytics uses.
I have solved this problem. Thank you for your answer.
@Ian-Work-AI i'm glad to hear you solved the issue – many thanks to the YOLO community and the Ultralytics team for their continuous contributions.
Search before asking
Question
I write a TensorRT inference code. The output shape obtained from TensorRT inference using the YOLO11n pre-training weight is 705600. During preprocessing, I apply padding before performing resizing.
In postprocessing, I process the tensor as follows. However, the results I obtain are different from those using Ultralytics.
Why is this happening?
Additional
No response