Code Monkey home page Code Monkey logo

Comments (2)

UltralyticsAssistant avatar UltralyticsAssistant commented on July 18, 2024

@vipin-prabhakaran hello! Thanks for reaching out with your question. 🌟

When you're seeing a difference in accuracy between the model in the preview feature of Ultralytics HUB and the TensorFlow Lite model with FP16 & INT8 optimizations, it typically stems from the precision reduction inherent to these optimizations. Both FP16 (floating-point 16-bit) and INT8 (integer 8-bit) quantizations reduce the model size and computation requirements, making them highly beneficial for mobile devices like Android.

However, this benefit comes at a potential cost to accuracy and performance, as the model's weights are approximated to fit into a smaller, less precise numerical format. This is likely why you're observing a discrepancy in detection accuracy compared to the preview feature, which uses the full precision model.

To mitigate this issue, you might want to:

  1. Experiment with only one type of optimization at a time to see which one impacts your accuracy the least.
  2. Consider using more robust data for training, which can sometimes help in retaining accuracy post-optimization.

For specific instructions on how to optimize models while aiming to maintain high accuracy, please refer to our documentation at https://docs.ultralytics.com/hub.

Your journey to optimize models for mobile deployment is crucial, and although some trial and error might be inevitable, the gains in making your models portable and efficient are immense. Keep up the good work! 🚀

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.