GithubHelp home page GithubHelp logo

C# about hub HOT 3 CLOSED

Googlikhail avatar Googlikhail commented on June 10, 2024
C#

from hub.

Comments (3)

github-actions avatar github-actions commented on June 10, 2024

👋 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.
    • iOS. Learn about YOLO CoreML models accelerated on Apple's Neural Engine on iPhones and iPads.
    • Android. Explore TFLite acceleration on mobile devices.
  • 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.

pderrenger avatar pderrenger commented on June 10, 2024

@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:

  1. 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.

  2. 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.

  3. 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.

  4. 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.

github-actions avatar github-actions commented on June 10, 2024

👋 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:

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.