forked from openvinotoolkit/open_model_zoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[AC][Smartlab] Action recognition and object detection models and acc…
…uracy tools (openvinotoolkit#3107) * added smartlab models * fixed * fixed * added smartlab models * fixed readme * fixed readme * fixed readme * fixed * fixed yml * removed dead link * removed redundant space * replaces assets images * replaces assets images * fixed * fixed image name * fixed readme and ymls * fixed readme and ymls * fixed * fixed readme * fixed object detection output format * fixed object detection output format * drop smartlab-action-recognition * fixed index.md * fixed accurach-check.yml * fixed accurach-check.yml * fixed * fixed * Revert "fixed" This reverts commit e3e80c1. * fixed * Update README.md * Update accuracy-check.yml * Update README.md * Update accuracy-check.yml * Update README.md * Update README.md * fixed
- Loading branch information
Showing
14 changed files
with
359 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
# smartlab-object-detection-0001 | ||
|
||
## Use Case and High-Level Description | ||
|
||
This is a smartlab object detector that is based on YoloX for 416x416 resolution. | ||
|
||
## Example | ||
|
||
 | ||
|
||
## Specification | ||
|
||
Accuracy metrics obtained on Smartlab validation dataset with yolox adapter for converted model. | ||
|
||
| Metric | Value | | ||
|---------------------------------|-------------------------------------------| | ||
| [COCO mAP (0.5:0.05:0.95)] | 20.33% | | ||
| GFlops | 1.077 | | ||
| MParams | 0.8908 | | ||
| Source framework | PyTorch\* | | ||
|
||
## Inputs | ||
|
||
Image, name: `images`, shape: `1, 3, 416, 416` in the format `B, C, H, W`, where: | ||
|
||
- `B` - batch size | ||
- `C` - number of channels | ||
- `H` - image height | ||
- `W` - image width | ||
|
||
Expected color order is `BGR`. | ||
|
||
## Outputs | ||
|
||
The array of detection summary info, name - `output`, shape - `1, 3549, 15`, format is `B, N, 15`, where: | ||
|
||
- `B` - batch size | ||
- `N` - number of detection boxes | ||
|
||
Detection box has format [`x`, `y`, `h`, `w`, `box_score`, `class_no_1`, ..., `class_no_10`], where: | ||
|
||
- (`x`, `y`) - raw coordinates of box center | ||
- `h`, `w` - raw height and width of box | ||
- `box_score` - confidence of detection box | ||
- `class_no_1`, ..., `class_no_10` - probability distribution over the classes in logits format. | ||
|
||
## Legal Information | ||
|
||
[*] Other names and brands may be claimed as the property of others. |
31 changes: 31 additions & 0 deletions
31
models/intel/smartlab-object-detection-0001/accuracy-check.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
models: | ||
- name: smartlab-object-detection-0001 | ||
|
||
launchers: | ||
- framework: openvino | ||
adapter: | ||
type: yolox | ||
anchors: yolox | ||
classes: 10 | ||
|
||
datasets: | ||
- name: smartlab_detection_10cl_top | ||
|
||
preprocessing: | ||
- type: resize | ||
size: 416 | ||
|
||
postprocessing: | ||
- type: resize_prediction_boxes | ||
rescale: True | ||
- type: nms | ||
overlap: 0.3 | ||
- type: clip_boxes | ||
apply_to: prediction | ||
|
||
metrics: | ||
- name: [email protected]:0.05:95 | ||
type: coco_precision | ||
max_detections: 100 | ||
threshold: '0.5:0.05:0.95' | ||
reference: 0.2033 |
Binary file added
BIN
+1.33 MB
models/intel/smartlab-object-detection-0001/assets/frame0001_top1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
# smartlab-object-detection-0002 | ||
|
||
## Use Case and High-Level Description | ||
|
||
This is a smartlab object detector that is based on YoloX-nano for 416x416 resolution. | ||
|
||
## Example | ||
|
||
 | ||
|
||
## Specification | ||
|
||
Accuracy metrics obtained on Smartlab validation dataset with yolox adapter for converted model. | ||
|
||
| Metric | Value | | ||
| [COCO mAP (0.5:0.05:0.95)] | 6.06% | | ||
| GFlops | 1.073 | | ||
| MParams | 0.8894 | | ||
| Source framework | PyTorch\* | | ||
|
||
## Inputs | ||
|
||
Image, name: `images`, shape: `1, 3, 416, 416` in the format `B, C, H, W`, where: | ||
|
||
- `B` - batch size | ||
- `C` - number of channels | ||
- `H` - image height | ||
- `W` - image width | ||
|
||
Expected color order is `BGR`. | ||
|
||
## Outputs | ||
|
||
The array of detection summary info, name - `output`, shape - `1, 3549, 8`, format is `B, N, 8`, where: | ||
|
||
- `B` - batch size | ||
- `N` - number of detection boxes | ||
|
||
Detection box has format [`x`, `y`, `h`, `w`, `box_score`, `class_no_1`, ...,`class_no_3`], where: | ||
|
||
- (`x`, `y`) - raw coordinates of box center | ||
- `h`, `w` - raw height and width of box | ||
- `box_score` - confidence of detection box | ||
- `class_no_1`, ..., `class_no_3` - probability distribution over the classes in logits format. | ||
|
||
## Legal Information | ||
|
||
[*] Other names and brands may be claimed as the property of others. |
31 changes: 31 additions & 0 deletions
31
models/intel/smartlab-object-detection-0002/accuracy-check.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
models: | ||
- name: smartlab-object-detection-0002 | ||
|
||
launchers: | ||
- framework: openvino | ||
adapter: | ||
type: yolox | ||
anchors: yolox | ||
classes: 3 | ||
|
||
datasets: | ||
- name: smartlab_detection_3cl_top | ||
|
||
preprocessing: | ||
- type: resize | ||
size: 416 | ||
|
||
postprocessing: | ||
- type: resize_prediction_boxes | ||
rescale: True | ||
- type: nms | ||
overlap: 0.2 | ||
- type: clip_boxes | ||
apply_to: prediction | ||
|
||
metrics: | ||
- name: [email protected]:0.05:95 | ||
type: coco_precision | ||
max_detections: 100 | ||
threshold: '0.5:0.05:0.95' | ||
reference: 0.0606 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
# smartlab-object-detection-0003 | ||
|
||
## Use Case and High-Level Description | ||
|
||
This is a smartlab object detector that is based on YoloX for 416x416 resolution. | ||
|
||
## Example | ||
|
||
 | ||
|
||
## Specification | ||
|
||
Accuracy metrics obtained on Smartlab validation dataset with yolox adapter for converted model. | ||
|
||
| Metric | Value | | ||
|---------------------------------|-------------------------------------------| | ||
| [COCO mAP (0.5:0.05:0.95)] | 30.38% | | ||
| GFlops | 1.077 | | ||
| MParams | 0.8908 | | ||
| Source framework | PyTorch\* | | ||
|
||
## Inputs | ||
|
||
Image, name: `images`, shape: `1, 3, 416, 416` in the format `B, C, H, W`, where: | ||
|
||
- `B` - batch size | ||
- `C` - number of channels | ||
- `H` - image height | ||
- `W` - image width | ||
|
||
Expected color order is `BGR`. | ||
|
||
## Outputs | ||
|
||
The array of detection summary info, name - `output`, shape - `1, 3549, 15`, format is `B, N, 15`, where: | ||
|
||
- `B` - batch size | ||
- `N` - number of detection boxes | ||
|
||
Detection box has format [`x`, `y`, `h`, `w`, `box_score`, `class_no_1`, ..., `class_no_10`], where: | ||
|
||
- (`x`, `y`) - raw coordinates of box center | ||
- `h`, `w` - raw height and width of box | ||
- `box_score` - confidence of detection box | ||
- `class_no_1`, ..., `class_no_10` - probability distribution over the classes in logits format. | ||
|
||
## Legal Information | ||
|
||
[*] Other names and brands may be claimed as the property of others. |
31 changes: 31 additions & 0 deletions
31
models/intel/smartlab-object-detection-0003/accuracy-check.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
models: | ||
- name: smartlab-object-detection-0003 | ||
|
||
launchers: | ||
- framework: openvino | ||
adapter: | ||
type: yolox | ||
anchors: yolox | ||
classes: 10 | ||
|
||
datasets: | ||
- name: smartlab_detection_10cl_high | ||
|
||
preprocessing: | ||
- type: resize | ||
size: 416 | ||
|
||
postprocessing: | ||
- type: resize_prediction_boxes | ||
rescale: True | ||
- type: nms | ||
overlap: 0.3 | ||
- type: clip_boxes | ||
apply_to: prediction | ||
|
||
metrics: | ||
- name: [email protected]:0.05:95 | ||
type: coco_precision | ||
max_detections: 100 | ||
threshold: '0.5:0.05:0.95' | ||
reference: 0.3038 |
Binary file added
BIN
+41 KB
models/intel/smartlab-object-detection-0003/assets/frame0001_front1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
# smartlab-object-detection-0004 | ||
|
||
## Use Case and High-Level Description | ||
|
||
This is a smartlab object detector that is based on YoloX for 416x416 resolution. | ||
|
||
## Example | ||
|
||
 | ||
|
||
## Specification | ||
|
||
Accuracy metrics obtained on Smartlab validation dataset with yolox adapter for converted model. | ||
|
||
| Metric | Value | | ||
|---------------------------------|-------------------------------------------| | ||
| [COCO mAP (0.5:0.05:0.95)] | 11.18% | | ||
| GFlops | 1.073 | | ||
| MParams | 0.8894 | | ||
| Source framework | PyTorch\* | | ||
|
||
Average Precision (AP) is defined as an area under | ||
the [precision/recall](https://en.wikipedia.org/wiki/Precision_and_recall) | ||
curve. | ||
|
||
## Inputs | ||
|
||
Image, name: `images`, shape: `1, 3, 416, 416` in the format `B, C, H, W`, where: | ||
|
||
- `B` - batch size | ||
- `C` - number of channels | ||
- `H` - image height | ||
- `W` - image width | ||
|
||
Expected color order is `BGR`. | ||
|
||
## Outputs | ||
|
||
The array of detection summary info, name - `output`, shape - `1, 3549, 8`, format is `B, N, 8`, where: | ||
|
||
- `B` - batch size | ||
- `N` - number of detection boxes | ||
|
||
Detection box has format [`x`, `y`, `h`, `w`, `box_score`, `class_no_1`, ..., `class_no_3`], where: | ||
|
||
- (`x`, `y`) - raw coordinates of box center | ||
- `h`, `w` - raw height and width of box | ||
- `box_score` - confidence of detection box | ||
- `class_no_1`, ..., `class_no_3` - probability distribution over the classes in logits format. | ||
|
||
## Legal Information | ||
|
||
[*] Other names and brands may be claimed as the property of others. |
31 changes: 31 additions & 0 deletions
31
models/intel/smartlab-object-detection-0004/accuracy-check.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
models: | ||
- name: smartlab-object-detection-0004 | ||
|
||
launchers: | ||
- framework: openvino | ||
adapter: | ||
type: yolox | ||
anchors: yolox | ||
classes: 3 | ||
|
||
datasets: | ||
- name: smartlab_detection_3cl_high | ||
|
||
preprocessing: | ||
- type: resize | ||
size: 416 | ||
|
||
postprocessing: | ||
- type: resize_prediction_boxes | ||
rescale: True | ||
- type: nms | ||
overlap: 0.2 | ||
- type: clip_boxes | ||
apply_to: prediction | ||
|
||
metrics: | ||
- name: [email protected]:0.05:95 | ||
type: coco_precision | ||
max_detections: 100 | ||
threshold: '0.5:0.05:0.95' | ||
reference: 0.1118 |
Binary file added
BIN
+1.76 MB
models/intel/smartlab-object-detection-0004/assets/frame0001_front2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.