JahnaviBhansali commited on
Commit
a4940eb
·
verified ·
1 Parent(s): 4c850f1

Upload 3 files

Browse files
README (1).md ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # MobileNet v2 1.0 224 INT8
2
+
3
+ ## Description
4
+ INT8 quantised version of MobileNet v2 model. Trained on ImageNet.
5
+
6
+ ## License
7
+ [Apache-2.0](https://spdx.org/licenses/Apache-2.0.html)
8
+
9
+ ## Related Materials
10
+ ### Class Labels
11
+ The class labels associated with this model can be downloaded by running the script `get_class_labels.sh`.
12
+
13
+ ### Model Recreation Code
14
+ Code to recreate this model can be found [here](recreate_model/).
15
+
16
+ ## Network Information
17
+ | Network Information | Value |
18
+ |---------------------|----------------|
19
+ | Framework | TensorFlow Lite |
20
+ | SHA-1 Hash | 8de7996dfeadb5ab6f09e3114f3905fd03879eee |
21
+ | Size (Bytes) | 4020936 |
22
+ | Provenance | https://arxiv.org/pdf/1801.04381.pdf |
23
+ | Paper | https://arxiv.org/pdf/1801.04381.pdf |
24
+
25
+ ## Performance
26
+ | Platform | Optimized |
27
+ |----------|:---------:|
28
+ | Cortex-A |:heavy_check_mark: |
29
+ | Cortex-M |:heavy_check_mark: |
30
+ | Mali GPU |:heavy_check_mark: |
31
+ | Ethos U |:heavy_check_mark: |
32
+
33
+ ### Key
34
+ * :heavy_check_mark: - Will run on this platform.
35
+ * :heavy_multiplication_x: - Will not run on this platform.
36
+
37
+ ## Accuracy
38
+ Dataset: ILSVRC 2012
39
+
40
+ | Metric | Value |
41
+ |--------|-------|
42
+ | Top 1 Accuracy | 0.697 |
43
+
44
+ ## Optimizations
45
+ | Optimization | Value |
46
+ |--------------|---------|
47
+ | Quantization | INT8 |
48
+
49
+ ## Network Inputs
50
+ <table>
51
+ <tr>
52
+ <th width="200">Input Node Name</th>
53
+ <th width="100">Shape</th>
54
+ <th width="300">Description</th>
55
+ </tr>
56
+ <tr>
57
+ <td>tfl.quantize</td>
58
+ <td>(1, 224, 224, 3)</td>
59
+ <td>Single 224x224 RGB image with INT8 values between -128 and 127</td>
60
+ </tr>
61
+ </table>
62
+
63
+ ## Network Outputs
64
+ <table>
65
+ <tr>
66
+ <th width="200">Output Node Name</th>
67
+ <th width="100">Shape</th>
68
+ <th width="300">Description</th>
69
+ </tr>
70
+ <tr>
71
+ <td>MobilenetV2/Predictions/Reshape_11</td>
72
+ <td>(1, 1001)</td>
73
+ <td>Per-class confidence for 1001 ImageNet classes</td>
74
+ </tr>
75
+ </table>
get_class_labels.sh ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Copyright (C) 2021 Arm Limited or its affiliates. All rights reserved.
2
+ #
3
+ # SPDX-License-Identifier: Apache-2.0
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the License); you may
6
+ # not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an AS IS BASIS, WITHOUT
13
+ # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ #!/usr/bin/env bash
18
+
19
+ wget https://gist.githubusercontent.com/yrevar/942d3a0ac09ec9e5eb3a/raw/238f720ff059c1f82f368259d1ca4ffa5dd8f9f5/imagenet1000_clsidx_to_labels.txt
20
+ python scripts/process_labels.py --path imagenet1000_clsidx_to_labels.txt
21
+
22
+ rm imagenet1000_clsidx_to_labels.txt
mobilenet_v2_1.0_224_INT8.tflite ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bd8d56b80557a5fca7acf14f61e5339285c02810f7d7afa714b9763fc4b86e95
3
+ size 4020936