Code Monkey home page Code Monkey logo

Comments (3)

github-actions avatar github-actions commented on July 18, 2024

πŸ‘‹ Hello @jamesleech89, 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.

UltralyticsAssistant avatar UltralyticsAssistant commented on July 18, 2024

@jamesleech89 hello! It sounds like you're experiencing discrepancies between your model's predictions in TensorFlow Lite format compared to its performance via the Ultralytics API and preview tab. This can happen due to several reasons:

  1. Quantization: If your TensorFlow Lite model is quantized, it might introduce slight precision losses, affecting the model's predictions. This is a common trade-off for the reduced model size and faster inference times on edge devices.

  2. Preprocessing and Postprocessing: Ensure that the image preprocessing (resizing, normalization) and postprocessing (applying confidence thresholds and non-maximum suppression) steps are consistent across all platforms. Differences in these steps can lead to varied results.

  3. Model Version: Double-check that the TensorFlow Lite model is exported from the exact same model version and weights as the one used in the Ultralytics preview tab and API.

  4. Framework Differences: Sometimes, subtle differences in how frameworks handle operations can lead to discrepancies. TensorFlow Lite might handle certain operations differently than PyTorch, which Ultralytics models are originally implemented in.

For a detailed guide on exporting models and ensuring consistency across different platforms, please refer to the Ultralytics HUB Docs. If the issue persists, consider providing more details about the preprocessing and postprocessing steps, along with any specific settings used during the TensorFlow Lite model export. This will help in diagnosing the issue more accurately. 😊

from hub.

github-actions avatar github-actions commented on July 18, 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.