Yolo-NAS-Quantized / README.md
qaihm-bot's picture
Upload README.md with huggingface_hub
5c1b282 verified
metadata
library_name: pytorch
license: other
tags:
  - real_time
  - quantized
  - android
pipeline_tag: object-detection

Yolo-NAS-Quantized: Optimized for Mobile Deployment

Quantized real-time object detection optimized for mobile and edge

YoloNAS is a machine learning model that predicts bounding boxes and classes of objects in an image. This model is post-training quantized to int8 using samples from the COCO dataset.

This model is an implementation of Yolo-NAS-Quantized found here.

More details on model performance across various devices, can be found here.

Model Details

  • Model Type: Object detection
  • Model Stats:
    • Model checkpoint: YoloNAS Small
    • Input resolution: 640x640
    • Number of parameters: 12.2M
    • Model size: 12.1 MB
    • Precision: w8a8 (8-bit weights, 8-bit activations)
Model Device Chipset Target Runtime Inference Time (ms) Peak Memory Range (MB) Precision Primary Compute Unit Target Model
Yolo-NAS-Quantized Samsung Galaxy S23 Snapdragon® 8 Gen 2 TFLITE 3.587 ms 0 - 23 MB INT8 NPU --
Yolo-NAS-Quantized Samsung Galaxy S23 Snapdragon® 8 Gen 2 QNN 3.487 ms 1 - 3 MB INT8 NPU --
Yolo-NAS-Quantized Samsung Galaxy S23 Snapdragon® 8 Gen 2 ONNX 16.196 ms 1 - 62 MB INT8 NPU --
Yolo-NAS-Quantized Samsung Galaxy S24 Snapdragon® 8 Gen 3 TFLITE 2.389 ms 0 - 48 MB INT8 NPU --
Yolo-NAS-Quantized Samsung Galaxy S24 Snapdragon® 8 Gen 3 QNN 2.409 ms 1 - 20 MB INT8 NPU --
Yolo-NAS-Quantized Samsung Galaxy S24 Snapdragon® 8 Gen 3 ONNX 12.8 ms 4 - 190 MB INT8 NPU --
Yolo-NAS-Quantized Snapdragon 8 Elite QRD Snapdragon® 8 Elite TFLITE 1.831 ms 0 - 37 MB INT8 NPU --
Yolo-NAS-Quantized Snapdragon 8 Elite QRD Snapdragon® 8 Elite QNN 2.212 ms 1 - 36 MB INT8 NPU --
Yolo-NAS-Quantized Snapdragon 8 Elite QRD Snapdragon® 8 Elite ONNX 10.914 ms 7 - 182 MB INT8 NPU --
Yolo-NAS-Quantized SA7255P ADP SA7255P TFLITE 32.217 ms 0 - 33 MB INT8 NPU --
Yolo-NAS-Quantized SA7255P ADP SA7255P QNN 31.979 ms 1 - 11 MB INT8 NPU --
Yolo-NAS-Quantized SA8255 (Proxy) SA8255P Proxy TFLITE 3.555 ms 0 - 23 MB INT8 NPU --
Yolo-NAS-Quantized SA8255 (Proxy) SA8255P Proxy QNN 3.485 ms 1 - 3 MB INT8 NPU --
Yolo-NAS-Quantized SA8295P ADP SA8295P TFLITE 5.351 ms 0 - 35 MB INT8 NPU --
Yolo-NAS-Quantized SA8295P ADP SA8295P QNN 5.264 ms 1 - 19 MB INT8 NPU --
Yolo-NAS-Quantized SA8650 (Proxy) SA8650P Proxy TFLITE 3.538 ms 0 - 19 MB INT8 NPU --
Yolo-NAS-Quantized SA8650 (Proxy) SA8650P Proxy QNN 3.488 ms 1 - 4 MB INT8 NPU --
Yolo-NAS-Quantized SA8775P ADP SA8775P TFLITE 4.992 ms 0 - 33 MB INT8 NPU --
Yolo-NAS-Quantized SA8775P ADP SA8775P QNN 4.83 ms 1 - 11 MB INT8 NPU --
Yolo-NAS-Quantized RB3 Gen 2 (Proxy) QCS6490 Proxy TFLITE 11.03 ms 0 - 46 MB INT8 NPU --
Yolo-NAS-Quantized RB3 Gen 2 (Proxy) QCS6490 Proxy QNN 15.09 ms 1 - 15 MB INT8 NPU --
Yolo-NAS-Quantized QCS8275 (Proxy) QCS8275 Proxy TFLITE 32.217 ms 0 - 33 MB INT8 NPU --
Yolo-NAS-Quantized QCS8275 (Proxy) QCS8275 Proxy QNN 31.979 ms 1 - 11 MB INT8 NPU --
Yolo-NAS-Quantized QCS8550 (Proxy) QCS8550 Proxy TFLITE 3.568 ms 0 - 20 MB INT8 NPU --
Yolo-NAS-Quantized QCS8550 (Proxy) QCS8550 Proxy QNN 3.488 ms 1 - 3 MB INT8 NPU --
Yolo-NAS-Quantized QCS9075 (Proxy) QCS9075 Proxy TFLITE 4.992 ms 0 - 33 MB INT8 NPU --
Yolo-NAS-Quantized QCS9075 (Proxy) QCS9075 Proxy QNN 4.83 ms 1 - 11 MB INT8 NPU --
Yolo-NAS-Quantized QCS8450 (Proxy) QCS8450 Proxy TFLITE 4.267 ms 0 - 50 MB INT8 NPU --
Yolo-NAS-Quantized QCS8450 (Proxy) QCS8450 Proxy QNN 4.705 ms 1 - 43 MB INT8 NPU --
Yolo-NAS-Quantized Snapdragon X Elite CRD Snapdragon® X Elite QNN 3.818 ms 1 - 1 MB INT8 NPU --
Yolo-NAS-Quantized Snapdragon X Elite CRD Snapdragon® X Elite ONNX 16.824 ms 14 - 14 MB INT8 NPU --

License

  • The license for the original implementation of Yolo-NAS-Quantized can be found here.
  • The license for the compiled assets for on-device deployment can be found here

References

Community

Usage and Limitations

Model may not be used for or in connection with any of the following applications:

  • Accessing essential private and public services and benefits;
  • Administration of justice and democratic processes;
  • Assessing or recognizing the emotional state of a person;
  • Biometric and biometrics-based systems, including categorization of persons based on sensitive characteristics;
  • Education and vocational training;
  • Employment and workers management;
  • Exploitation of the vulnerabilities of persons resulting in harmful behavior;
  • General purpose social scoring;
  • Law enforcement;
  • Management and operation of critical infrastructure;
  • Migration, asylum and border control management;
  • Predictive policing;
  • Real-time remote biometric identification in public spaces;
  • Recommender systems of social media platforms;
  • Scraping of facial images (from the internet or otherwise); and/or
  • Subliminal manipulation