qaihm-bot commited on
Commit
cc63836
·
verified ·
1 Parent(s): b95c21a

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +30 -30
README.md CHANGED
@@ -29,51 +29,50 @@ More details on model performance across various devices, can be found
29
  - **Model Type:** Object detection
30
  - **Model Stats:**
31
  - Model checkpoint: YoloV7 Tiny
32
- - Input resolution: 720p (720x1280)
33
  - Number of parameters: 6.39M
34
  - Model size: 24.4 MB
35
 
36
  | Model | Device | Chipset | Target Runtime | Inference Time (ms) | Peak Memory Range (MB) | Precision | Primary Compute Unit | Target Model
37
  |---|---|---|---|---|---|---|---|---|
38
- | Yolo-v7 | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 | TFLITE | 15.342 ms | 1 - 18 MB | FP16 | NPU | [Yolo-v7.tflite](https://huggingface.co/qualcomm/Yolo-v7/blob/main/Yolo-v7.tflite) |
39
- | Yolo-v7 | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 | QNN | 10.624 ms | 5 - 21 MB | FP16 | NPU | [Yolo-v7.so](https://huggingface.co/qualcomm/Yolo-v7/blob/main/Yolo-v7.so) |
40
- | Yolo-v7 | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 | ONNX | 12.598 ms | 2 - 59 MB | FP16 | NPU | [Yolo-v7.onnx](https://huggingface.co/qualcomm/Yolo-v7/blob/main/Yolo-v7.onnx) |
41
- | Yolo-v7 | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 | TFLITE | 10.284 ms | 1 - 47 MB | FP16 | NPU | [Yolo-v7.tflite](https://huggingface.co/qualcomm/Yolo-v7/blob/main/Yolo-v7.tflite) |
42
- | Yolo-v7 | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 | QNN | 7.113 ms | 5 - 78 MB | FP16 | NPU | [Yolo-v7.so](https://huggingface.co/qualcomm/Yolo-v7/blob/main/Yolo-v7.so) |
43
- | Yolo-v7 | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 | ONNX | 8.167 ms | 5 - 71 MB | FP16 | NPU | [Yolo-v7.onnx](https://huggingface.co/qualcomm/Yolo-v7/blob/main/Yolo-v7.onnx) |
44
- | Yolo-v7 | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite | TFLITE | 8.806 ms | 1 - 45 MB | FP16 | NPU | [Yolo-v7.tflite](https://huggingface.co/qualcomm/Yolo-v7/blob/main/Yolo-v7.tflite) |
45
- | Yolo-v7 | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite | QNN | 7.315 ms | 5 - 72 MB | FP16 | NPU | Use Export Script |
46
- | Yolo-v7 | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite | ONNX | 8.501 ms | 5 - 62 MB | FP16 | NPU | [Yolo-v7.onnx](https://huggingface.co/qualcomm/Yolo-v7/blob/main/Yolo-v7.onnx) |
47
- | Yolo-v7 | QCS8550 (Proxy) | QCS8550 Proxy | TFLITE | 15.372 ms | 1 - 19 MB | FP16 | NPU | [Yolo-v7.tflite](https://huggingface.co/qualcomm/Yolo-v7/blob/main/Yolo-v7.tflite) |
48
- | Yolo-v7 | QCS8550 (Proxy) | QCS8550 Proxy | QNN | 10.44 ms | 5 - 8 MB | FP16 | NPU | Use Export Script |
49
- | Yolo-v7 | SA7255P ADP | SA7255P | TFLITE | 107.998 ms | 1 - 40 MB | FP16 | NPU | [Yolo-v7.tflite](https://huggingface.co/qualcomm/Yolo-v7/blob/main/Yolo-v7.tflite) |
50
- | Yolo-v7 | SA7255P ADP | SA7255P | QNN | 100.7 ms | 4 - 14 MB | FP16 | NPU | Use Export Script |
51
- | Yolo-v7 | SA8255 (Proxy) | SA8255P Proxy | TFLITE | 15.182 ms | 1 - 20 MB | FP16 | NPU | [Yolo-v7.tflite](https://huggingface.co/qualcomm/Yolo-v7/blob/main/Yolo-v7.tflite) |
52
- | Yolo-v7 | SA8255 (Proxy) | SA8255P Proxy | QNN | 10.514 ms | 5 - 7 MB | FP16 | NPU | Use Export Script |
53
- | Yolo-v7 | SA8295P ADP | SA8295P | TFLITE | 19.662 ms | 1 - 46 MB | FP16 | NPU | [Yolo-v7.tflite](https://huggingface.co/qualcomm/Yolo-v7/blob/main/Yolo-v7.tflite) |
54
- | Yolo-v7 | SA8295P ADP | SA8295P | QNN | 13.272 ms | 0 - 15 MB | FP16 | NPU | Use Export Script |
55
- | Yolo-v7 | SA8650 (Proxy) | SA8650P Proxy | TFLITE | 15.328 ms | 1 - 19 MB | FP16 | NPU | [Yolo-v7.tflite](https://huggingface.co/qualcomm/Yolo-v7/blob/main/Yolo-v7.tflite) |
56
- | Yolo-v7 | SA8650 (Proxy) | SA8650P Proxy | QNN | 10.529 ms | 6 - 8 MB | FP16 | NPU | Use Export Script |
57
- | Yolo-v7 | SA8775P ADP | SA8775P | TFLITE | 20.461 ms | 1 - 40 MB | FP16 | NPU | [Yolo-v7.tflite](https://huggingface.co/qualcomm/Yolo-v7/blob/main/Yolo-v7.tflite) |
58
- | Yolo-v7 | SA8775P ADP | SA8775P | QNN | 14.818 ms | 1 - 11 MB | FP16 | NPU | Use Export Script |
59
- | Yolo-v7 | QCS8450 (Proxy) | QCS8450 Proxy | TFLITE | 17.587 ms | 1 - 48 MB | FP16 | NPU | [Yolo-v7.tflite](https://huggingface.co/qualcomm/Yolo-v7/blob/main/Yolo-v7.tflite) |
60
- | Yolo-v7 | QCS8450 (Proxy) | QCS8450 Proxy | QNN | 12.871 ms | 5 - 64 MB | FP16 | NPU | Use Export Script |
61
- | Yolo-v7 | Snapdragon X Elite CRD | Snapdragon® X Elite | QNN | 10.995 ms | 5 - 5 MB | FP16 | NPU | Use Export Script |
62
- | Yolo-v7 | Snapdragon X Elite CRD | Snapdragon® X Elite | ONNX | 14.173 ms | 9 - 9 MB | FP16 | NPU | [Yolo-v7.onnx](https://huggingface.co/qualcomm/Yolo-v7/blob/main/Yolo-v7.onnx) |
63
 
64
 
65
 
66
 
67
  ## Installation
68
 
69
- This model can be installed as a Python package via pip.
70
 
 
71
  ```bash
72
  pip install "qai-hub-models[yolov7]"
73
  ```
74
 
75
 
76
-
77
  ## Configure Qualcomm® AI Hub to run this model on a cloud-hosted device
78
 
79
  Sign-in to [Qualcomm® AI Hub](https://app.aihub.qualcomm.com/) with your
@@ -152,7 +151,7 @@ from qai_hub_models.models.yolov7 import Model
152
  torch_model = Model.from_pretrained()
153
 
154
  # Device
155
- device = hub.Device("Samsung Galaxy S23")
156
 
157
  # Trace model
158
  input_shape = torch_model.get_input_spec()
@@ -244,7 +243,8 @@ Explore all available models on [Qualcomm® AI Hub](https://aihub.qualcomm.com/)
244
 
245
 
246
  ## License
247
- * The license for the original implementation of Yolo-v7 can be found [here](https://github.com/WongKinYiu/yolov7/blob/main/LICENSE.md).
 
248
  * The license for the compiled assets for on-device deployment can be found [here](https://github.com/WongKinYiu/yolov7/blob/main/LICENSE.md)
249
 
250
 
 
29
  - **Model Type:** Object detection
30
  - **Model Stats:**
31
  - Model checkpoint: YoloV7 Tiny
32
+ - Input resolution: 640x640
33
  - Number of parameters: 6.39M
34
  - Model size: 24.4 MB
35
 
36
  | Model | Device | Chipset | Target Runtime | Inference Time (ms) | Peak Memory Range (MB) | Precision | Primary Compute Unit | Target Model
37
  |---|---|---|---|---|---|---|---|---|
38
+ | Yolo-v7 | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 | TFLITE | 15.322 ms | 1 - 18 MB | FP16 | NPU | [Yolo-v7.tflite](https://huggingface.co/qualcomm/Yolo-v7/blob/main/Yolo-v7.tflite) |
39
+ | Yolo-v7 | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 | QNN | 10.643 ms | 5 - 20 MB | FP16 | NPU | [Yolo-v7.so](https://huggingface.co/qualcomm/Yolo-v7/blob/main/Yolo-v7.so) |
40
+ | Yolo-v7 | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 | ONNX | 12.597 ms | 1 - 61 MB | FP16 | NPU | [Yolo-v7.onnx](https://huggingface.co/qualcomm/Yolo-v7/blob/main/Yolo-v7.onnx) |
41
+ | Yolo-v7 | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 | TFLITE | 10.234 ms | 1 - 48 MB | FP16 | NPU | [Yolo-v7.tflite](https://huggingface.co/qualcomm/Yolo-v7/blob/main/Yolo-v7.tflite) |
42
+ | Yolo-v7 | Samsung Galaxy S24 | Snapdragon�� 8 Gen 3 | QNN | 7.107 ms | 5 - 76 MB | FP16 | NPU | [Yolo-v7.so](https://huggingface.co/qualcomm/Yolo-v7/blob/main/Yolo-v7.so) |
43
+ | Yolo-v7 | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 | ONNX | 8.371 ms | 7 - 73 MB | FP16 | NPU | [Yolo-v7.onnx](https://huggingface.co/qualcomm/Yolo-v7/blob/main/Yolo-v7.onnx) |
44
+ | Yolo-v7 | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite | TFLITE | 10.73 ms | 0 - 44 MB | FP16 | NPU | [Yolo-v7.tflite](https://huggingface.co/qualcomm/Yolo-v7/blob/main/Yolo-v7.tflite) |
45
+ | Yolo-v7 | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite | QNN | 7.115 ms | 5 - 73 MB | FP16 | NPU | Use Export Script |
46
+ | Yolo-v7 | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite | ONNX | 8.119 ms | 6 - 65 MB | FP16 | NPU | [Yolo-v7.onnx](https://huggingface.co/qualcomm/Yolo-v7/blob/main/Yolo-v7.onnx) |
47
+ | Yolo-v7 | QCS8550 (Proxy) | QCS8550 Proxy | TFLITE | 15.262 ms | 1 - 17 MB | FP16 | NPU | [Yolo-v7.tflite](https://huggingface.co/qualcomm/Yolo-v7/blob/main/Yolo-v7.tflite) |
48
+ | Yolo-v7 | QCS8550 (Proxy) | QCS8550 Proxy | QNN | 10.364 ms | 5 - 7 MB | FP16 | NPU | Use Export Script |
49
+ | Yolo-v7 | SA7255P ADP | SA7255P | TFLITE | 107.946 ms | 1 - 40 MB | FP16 | NPU | [Yolo-v7.tflite](https://huggingface.co/qualcomm/Yolo-v7/blob/main/Yolo-v7.tflite) |
50
+ | Yolo-v7 | SA7255P ADP | SA7255P | QNN | 100.605 ms | 2 - 11 MB | FP16 | NPU | Use Export Script |
51
+ | Yolo-v7 | SA8255 (Proxy) | SA8255P Proxy | TFLITE | 15.125 ms | 1 - 21 MB | FP16 | NPU | [Yolo-v7.tflite](https://huggingface.co/qualcomm/Yolo-v7/blob/main/Yolo-v7.tflite) |
52
+ | Yolo-v7 | SA8255 (Proxy) | SA8255P Proxy | QNN | 10.571 ms | 5 - 8 MB | FP16 | NPU | Use Export Script |
53
+ | Yolo-v7 | SA8295P ADP | SA8295P | TFLITE | 19.679 ms | 1 - 46 MB | FP16 | NPU | [Yolo-v7.tflite](https://huggingface.co/qualcomm/Yolo-v7/blob/main/Yolo-v7.tflite) |
54
+ | Yolo-v7 | SA8295P ADP | SA8295P | QNN | 13.624 ms | 0 - 15 MB | FP16 | NPU | Use Export Script |
55
+ | Yolo-v7 | SA8650 (Proxy) | SA8650P Proxy | TFLITE | 15.445 ms | 1 - 14 MB | FP16 | NPU | [Yolo-v7.tflite](https://huggingface.co/qualcomm/Yolo-v7/blob/main/Yolo-v7.tflite) |
56
+ | Yolo-v7 | SA8650 (Proxy) | SA8650P Proxy | QNN | 10.559 ms | 5 - 7 MB | FP16 | NPU | Use Export Script |
57
+ | Yolo-v7 | SA8775P ADP | SA8775P | TFLITE | 20.427 ms | 1 - 40 MB | FP16 | NPU | [Yolo-v7.tflite](https://huggingface.co/qualcomm/Yolo-v7/blob/main/Yolo-v7.tflite) |
58
+ | Yolo-v7 | SA8775P ADP | SA8775P | QNN | 14.749 ms | 0 - 10 MB | FP16 | NPU | Use Export Script |
59
+ | Yolo-v7 | QCS8450 (Proxy) | QCS8450 Proxy | TFLITE | 17.608 ms | 1 - 49 MB | FP16 | NPU | [Yolo-v7.tflite](https://huggingface.co/qualcomm/Yolo-v7/blob/main/Yolo-v7.tflite) |
60
+ | Yolo-v7 | QCS8450 (Proxy) | QCS8450 Proxy | QNN | 12.588 ms | 5 - 64 MB | FP16 | NPU | Use Export Script |
61
+ | Yolo-v7 | Snapdragon X Elite CRD | Snapdragon® X Elite | QNN | 10.98 ms | 5 - 5 MB | FP16 | NPU | Use Export Script |
62
+ | Yolo-v7 | Snapdragon X Elite CRD | Snapdragon® X Elite | ONNX | 14.201 ms | 10 - 10 MB | FP16 | NPU | [Yolo-v7.onnx](https://huggingface.co/qualcomm/Yolo-v7/blob/main/Yolo-v7.onnx) |
63
 
64
 
65
 
66
 
67
  ## Installation
68
 
 
69
 
70
+ Install the package via pip:
71
  ```bash
72
  pip install "qai-hub-models[yolov7]"
73
  ```
74
 
75
 
 
76
  ## Configure Qualcomm® AI Hub to run this model on a cloud-hosted device
77
 
78
  Sign-in to [Qualcomm® AI Hub](https://app.aihub.qualcomm.com/) with your
 
151
  torch_model = Model.from_pretrained()
152
 
153
  # Device
154
+ device = hub.Device("Samsung Galaxy S24")
155
 
156
  # Trace model
157
  input_shape = torch_model.get_input_spec()
 
243
 
244
 
245
  ## License
246
+ * The license for the original implementation of Yolo-v7 can be found
247
+ [here](https://github.com/WongKinYiu/yolov7/blob/main/LICENSE.md).
248
  * The license for the compiled assets for on-device deployment can be found [here](https://github.com/WongKinYiu/yolov7/blob/main/LICENSE.md)
249
 
250