Comments (3)
👋 Hello @Googlikhail, thank you for raising an issue about Ultralytics HUB 🚀! Please visit our HUB Docs to learn more:
- Quickstart. Start training and deploying YOLO models with HUB in seconds.
- Datasets: Preparing and Uploading. Learn how to prepare and upload your datasets to HUB in YOLO format.
- Projects: Creating and Managing. Group your models into projects for improved organization.
- Models: Training and Exporting. Train YOLOv5 and YOLOv8 models on your custom datasets and export them to various formats for deployment.
- Integrations. Explore different integration options for your trained models, such as TensorFlow, ONNX, OpenVINO, CoreML, and PaddlePaddle.
- Ultralytics HUB App. Learn about the Ultralytics App for iOS and Android, which allows you to run models directly on your mobile device.
- Inference API. Understand how to use the Inference API for running your trained models in the cloud to generate predictions.
If this is a 🐛 Bug Report, please provide screenshots and steps to reproduce your problem to help us get started working on a fix.
If this is a ❓ Question, please provide as much information as possible, including dataset, model, environment details etc. so that we might provide the most helpful response.
We try to respond to all issues as promptly as possible. Thank you for your patience!
from hub.
@Googlikhail hello! 👋
It looks like your question revolves around the correct way to pre-process an image in C# for use with a YOLO model. From your code snippet and description of the issue, it seems like the image scaling and formatting might not be correctly matched with what the model expects. Here are a few things to consider:
-
Image Size and Aspect Ratio: Ensure that the image dimensions you're resizing to match the input size expected by the YOLO model without altering the aspect ratio in a way that distorts the image.
-
Normalization: YOLO models typically expect pixel values to be normalized. If your model expects pixel values in the range [0, 1] or [-1, 1], you'll need to apply this normalization after converting the image to pixels but before passing it to the model.
-
Color Ordering: Ensure the color channels of your input images match what the model was trained with. YOLO models usually work with RGB images, but sometimes image loading libraries default to BGR.
-
Debugging Pre-Processing: To debug if preprocessing is the issue, you might compare the input and output of your preprocessing steps with those from a known good implementation (e.g., in Python) on the same image to spot differences.
Since your case involves C#, aligning your preprocessing steps with these considerations might require specific adjustments based on the libraries (Emgu.CV and Microsoft.ML.Transforms.Onnx) you're using.
Consider revisiting step 3, related to the extraction and normalization of pixel values, ensuring that any necessary normalization is applied correctly according to your model's training.
Unfortunately, without diving deeper into the specifics of the ONNX model you are using and the exact preprocessing steps it was trained with, these suggestions are somewhat general. For more detailed guidance on preprocessing requirements for YOLO models and other specifics, the Ultralytics HUB Docs might offer additional insights: https://docs.ultralytics.com/hub.
Hope this helps! If you have more questions or need further clarification, feel free to ask.
from hub.
👋 Hello there! We wanted to give you a friendly reminder that this issue has not had any recent activity and may be closed soon, but don't worry - you can always reopen it if needed. If you still have any questions or concerns, please feel free to let us know how we can help.
For additional resources and information, please see the links below:
- Docs: https://docs.ultralytics.com
- HUB: https://hub.ultralytics.com
- Community: https://community.ultralytics.com
Feel free to inform us of any other issues you discover or feature requests that come to mind in the future. Pull Requests (PRs) are also always welcomed!
Thank you for your contributions to YOLO 🚀 and Vision AI ⭐
from hub.
Related Issues (20)
- Can't see the output result HOT 2
- Not able to export the model for Android or iOS and also not able to test by uploading any image or capture with camera HOT 14
- Can not get my storage back HOT 7
- Nguyen9789 HOT 2
- OpenVino + C# HOT 4
- Yolov8 segmentation model preview HOT 14
- Model Uploading HOT 4
- Dataset upload HOT 3
- Private Project not loading on Android Mobile Phone HOT 12
- HUB not working correctly with Multi-GPU custom agent setup HOT 7
- How to download my dataset? HOT 1
- pose estimation accuracy HOT 2
- Yolov10 HOT 2
- Pague HUB Pro y no puedo entrenar mi modelo HOT 2
- Model fails to be exported in Tflite int8 or edge TPU types HOT 3
- FYDP-3 HOT 2
- Train and predict multiple classes detecting for single object YOLO8 HOT 2
- Inquiry About Live Video Feed Deployment on Ultralytics Hub HOT 10
- on upload : No response from the server. HOT 8
- INTEGRATIONGUNDETECTION HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hub.