Skip to content

Commit 131c99d

Browse files
authored
Recover mobilenetv2-7 and mobilenetv2-10 (#563)
* Recover mobilenetv2-7 and mobilenetv2-10 Signed-off-by: jcwchen <[email protected]> * update -7.tar.gz Signed-off-by: jcwchen <[email protected]> * fix broken test directory Signed-off-by: jcwchen <[email protected]> Signed-off-by: jcwchen <[email protected]>
1 parent 5057762 commit 131c99d

File tree

6 files changed

+78
-29
lines changed

6 files changed

+78
-29
lines changed

ONNX_HUB_MANIFEST.json

Lines changed: 64 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -3218,6 +3218,61 @@
32183218
"model_with_data_bytes": 26751
32193219
}
32203220
},
3221+
{
3222+
"model": "MobileNet v2-1.0",
3223+
"model_path": "vision/classification/mobilenet/model/mobilenetv2-10.onnx",
3224+
"onnx_version": "1.5.0",
3225+
"opset_version": 10,
3226+
"metadata": {
3227+
"model_sha": "0e7c0aa4bc74650386fa1d2c84705753de7c2bdb21909ada5c59154bb429e092",
3228+
"model_bytes": 13963115,
3229+
"tags": [
3230+
"vision",
3231+
"classification",
3232+
"mobilenet"
3233+
],
3234+
"io_ports": {
3235+
"inputs": [
3236+
{
3237+
"name": "input",
3238+
"shape": [
3239+
"batch_size",
3240+
3,
3241+
224,
3242+
224
3243+
],
3244+
"type": "tensor(float)"
3245+
}
3246+
],
3247+
"outputs": [
3248+
{
3249+
"name": "output",
3250+
"shape": [
3251+
"batch_size",
3252+
1000
3253+
],
3254+
"type": "tensor(float)"
3255+
}
3256+
]
3257+
},
3258+
"extra_ports": {
3259+
"features": [
3260+
{
3261+
"name": "464",
3262+
"shape": [
3263+
0,
3264+
1280,
3265+
1,
3266+
1
3267+
]
3268+
}
3269+
]
3270+
},
3271+
"model_with_data_path": "vision/classification/mobilenet/model/mobilenetv2-10.tar.gz",
3272+
"model_with_data_sha": "3e4e9e2de0241cc829917e9c0233229974f5d35d3cfd012a263ca36c98f36ac3",
3273+
"model_with_data_bytes": 13504391
3274+
}
3275+
},
32213276
{
32223277
"model": "MobileNet v2-1.0-int8",
32233278
"model_path": "vision/classification/mobilenet/model/mobilenetv2-12-int8.onnx",
@@ -3345,13 +3400,13 @@
33453400
}
33463401
},
33473402
{
3348-
"model": "MobileNet v2-1.0",
3403+
"model": "MobileNet v2-7",
33493404
"model_path": "vision/classification/mobilenet/model/mobilenetv2-7.onnx",
33503405
"onnx_version": "1.2.1",
33513406
"opset_version": 7,
33523407
"metadata": {
3353-
"model_sha": "0e7c0aa4bc74650386fa1d2c84705753de7c2bdb21909ada5c59154bb429e092",
3354-
"model_bytes": 13963115,
3408+
"model_sha": "c1c513582d56afceff8516c73804e484c81c6a830712ab6d682253f4a3cd042f",
3409+
"model_bytes": 14246826,
33553410
"tags": [
33563411
"vision",
33573412
"classification",
@@ -3360,9 +3415,9 @@
33603415
"io_ports": {
33613416
"inputs": [
33623417
{
3363-
"name": "input",
3418+
"name": "data",
33643419
"shape": [
3365-
"batch_size",
3420+
1,
33663421
3,
33673422
224,
33683423
224
@@ -3372,31 +3427,18 @@
33723427
],
33733428
"outputs": [
33743429
{
3375-
"name": "output",
3430+
"name": "mobilenetv20_output_flatten0_reshape0",
33763431
"shape": [
3377-
"batch_size",
3432+
1,
33783433
1000
33793434
],
33803435
"type": "tensor(float)"
33813436
}
33823437
]
33833438
},
3384-
"extra_ports": {
3385-
"features": [
3386-
{
3387-
"name": "464",
3388-
"shape": [
3389-
0,
3390-
1280,
3391-
1,
3392-
1
3393-
]
3394-
}
3395-
]
3396-
},
33973439
"model_with_data_path": "vision/classification/mobilenet/model/mobilenetv2-7.tar.gz",
3398-
"model_with_data_sha": "3e4e9e2de0241cc829917e9c0233229974f5d35d3cfd012a263ca36c98f36ac3",
3399-
"model_with_data_bytes": 13504391
3440+
"model_with_data_sha": "b463ad62dae99f13afd88549ca7d43e9bda6876614f3592ebb41177e1db0fcc5",
3441+
"model_with_data_bytes": 13682646
34003442
}
34013443
},
34023444
{

vision/classification/mobilenet/README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,10 @@ The below model is using multiplier value as 1.0.
1515

1616
|Model |Download |Download (with sample test data)| ONNX version |Opset version|Top-1 accuracy (%)|Top-5 accuracy (%)|
1717
|-------------|:--------------|:--------------|:--------------|:--------------|:--------------|:--------------|
18-
|MobileNet v2-1.0| [13.6 MB](model/mobilenetv2-7.onnx) | [14.1 MB](model/mobilenetv2-7.tar.gz) | 1.2.1 | 7| 70.94 | 89.99 |
19-
|MobileNet v2-1.0-fp32| [13.3 MB](model/mobilenetv2-12.onnx) | [12.9 MB](model/mobilenetv2-12.tar.gz) | 1.9.0 | 12| 69.48 | 89.26 |
20-
|MobileNet v2-1.0-int8| [3.5 MB](model/mobilenetv2-12-int8.onnx) | [3.7 MB](model/mobilenetv2-12-int8.tar.gz) | 1.9.0 | 12| 68.30 | 88.44 |
18+
|MobileNet v2-7| [13.5 MB](model/mobilenetv2-7.onnx) | [14.0 MB](model/mobilenetv2-7.tar.gz) | 1.2.1 | 7 | 70.94 | 89.99 |
19+
|MobileNet v2-1.0| [13.3 MB](model/mobilenetv2-10.onnx) | [12.8 MB](model/mobilenetv2-10.tar.gz) | 1.5.0 | 10 | 70.94 | 89.99 |
20+
|MobileNet v2-1.0-fp32| [13.3 MB](model/mobilenetv2-12.onnx) | [12.9 MB](model/mobilenetv2-12.tar.gz) | 1.9.0 | 12| 69.48 | 89.26 |
21+
|MobileNet v2-1.0-int8| [3.5 MB](model/mobilenetv2-12-int8.onnx) | [3.7 MB](model/mobilenetv2-12-int8.tar.gz) | 1.9.0 | 12| 68.30 | 88.44 |
2122
|MobileNet v2-1.0-qdq| [3.4 MB](model/mobilenetv2-12-qdq.onnx) | [3.3 MB](model/mobilenetv2-12-qdq.tar.gz) |1.10.0| 12 |67.40 | |
2223
> Compared with the fp32 MobileNet v2-1.0, int8 MobileNet v2-1.0's Top-1 accuracy decline ratio is 1.70%, Top-5 accuracy decline ratio is 0.92% and performance improvement is 1.05x.
2324
>
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:0e7c0aa4bc74650386fa1d2c84705753de7c2bdb21909ada5c59154bb429e092
3+
size 13963115
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:3e4e9e2de0241cc829917e9c0233229974f5d35d3cfd012a263ca36c98f36ac3
3+
size 13504391
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
version https://git-lfs.github.com/spec/v1
2-
oid sha256:0e7c0aa4bc74650386fa1d2c84705753de7c2bdb21909ada5c59154bb429e092
3-
size 13963115
2+
oid sha256:c1c513582d56afceff8516c73804e484c81c6a830712ab6d682253f4a3cd042f
3+
size 14246826
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
version https://git-lfs.github.com/spec/v1
2-
oid sha256:3e4e9e2de0241cc829917e9c0233229974f5d35d3cfd012a263ca36c98f36ac3
3-
size 13504391
2+
oid sha256:b463ad62dae99f13afd88549ca7d43e9bda6876614f3592ebb41177e1db0fcc5
3+
size 13682646

0 commit comments

Comments
 (0)