回答編集履歴
4
サンプルのノートブックへのリンクを追加
answer
CHANGED
@@ -141,6 +141,8 @@
|
|
141
141
|
[15 15 15 ... 15 15 15]]]
|
142
142
|
40524
|
143
143
|
```
|
144
|
+
|
145
|
+
**[サンプルのGoogleColaboratory](https://colab.research.google.com/drive/11I_tKY9CaPGYhHkAq73cSFMfTtFb05RN)**
|
144
146
|
checkpointや.pbや.tfliteのモデル構造はコチラの **[NETRON](https://lutzroeder.github.io/netron/)** で確認可能です。
|
145
147
|
また、**[コチラ deeplab cityscape edgetpu #3](https://github.com/PINTO0309/PINTO_model_zoo/issues/3)** で海外エンジニアに量子化の手順を説明しています。ご参考になれば幸いです。コチラの私のGithubリポジトリ **[PINTO0309/PINTO_model_zoo](https://github.com/PINTO0309/PINTO_model_zoo/tree/master/01_deeplabv3/04_mobilenetv2_dm10/02_coco_voc_trainval)** には変換スクリプトのサンプルと変換前後のモデルをコミットしてあります。ご参考にどうぞ。
|
146
148
|
|
3
記載漏れを追記
answer
CHANGED
@@ -4,6 +4,10 @@
|
|
4
4
|
$ wget http://download.tensorflow.org/models/deeplabv3_mnv2_pascal_trainval_2018_01_29.tar.gz
|
5
5
|
$ tar -zxvf deeplabv3_mnv2_pascal_trainval_2018_01_29.tar.gz
|
6
6
|
|
7
|
+
#export_model.py を編集
|
8
|
+
#input_image = tf.placeholder(tf.uint8, [1, None, None, 3], name=_INPUT_NAME)
|
9
|
+
input_image = tf.placeholder(tf.float32, [1, FLAGS.crop_size[0], FLAGS.crop_size[1], 3], name=_INPUT_NAME)
|
10
|
+
|
7
11
|
$ python3 export_model.py \
|
8
12
|
--logtostderr \
|
9
13
|
--checkpoint_path=deeplabv3_mnv2_pascal_trainval/model.ckpt-30000 \
|
2
mask r-cnnの説明を追記
answer
CHANGED
@@ -138,4 +138,9 @@
|
|
138
138
|
40524
|
139
139
|
```
|
140
140
|
checkpointや.pbや.tfliteのモデル構造はコチラの **[NETRON](https://lutzroeder.github.io/netron/)** で確認可能です。
|
141
|
-
また、**[コチラ deeplab cityscape edgetpu #3](https://github.com/PINTO0309/PINTO_model_zoo/issues/3)** で海外エンジニアに量子化の手順を説明しています。ご参考になれば幸いです。コチラの私のGithubリポジトリ **[PINTO0309/PINTO_model_zoo](https://github.com/PINTO0309/PINTO_model_zoo/tree/master/01_deeplabv3/04_mobilenetv2_dm10/02_coco_voc_trainval)** には変換スクリプトのサンプルと変換前後のモデルをコミットしてあります。ご参考にどうぞ。
|
141
|
+
また、**[コチラ deeplab cityscape edgetpu #3](https://github.com/PINTO0309/PINTO_model_zoo/issues/3)** で海外エンジニアに量子化の手順を説明しています。ご参考になれば幸いです。コチラの私のGithubリポジトリ **[PINTO0309/PINTO_model_zoo](https://github.com/PINTO0309/PINTO_model_zoo/tree/master/01_deeplabv3/04_mobilenetv2_dm10/02_coco_voc_trainval)** には変換スクリプトのサンプルと変換前後のモデルをコミットしてあります。ご参考にどうぞ。
|
142
|
+
|
143
|
+
ちなみに、mask r-cnnはTensorflow Liteが公式には変換に対応していません。小細工をすれば変換はできますが難易度が高いためお勧めしません。
|
144
|
+
**[mask r-cnnの変換スクリプト群 https://github.com/PINTO0309/PINTO_model_zoo/tree/master/08_mask_rcnn_inceptionv2](https://github.com/PINTO0309/PINTO_model_zoo/tree/master/08_mask_rcnn_inceptionv2)**
|
145
|
+
|
146
|
+
お役に立てれば幸いです。
|
1
参考URLを追記
answer
CHANGED
@@ -137,4 +137,5 @@
|
|
137
137
|
[15 15 15 ... 15 15 15]]]
|
138
138
|
40524
|
139
139
|
```
|
140
|
+
checkpointや.pbや.tfliteのモデル構造はコチラの **[NETRON](https://lutzroeder.github.io/netron/)** で確認可能です。
|
140
141
|
また、**[コチラ deeplab cityscape edgetpu #3](https://github.com/PINTO0309/PINTO_model_zoo/issues/3)** で海外エンジニアに量子化の手順を説明しています。ご参考になれば幸いです。コチラの私のGithubリポジトリ **[PINTO0309/PINTO_model_zoo](https://github.com/PINTO0309/PINTO_model_zoo/tree/master/01_deeplabv3/04_mobilenetv2_dm10/02_coco_voc_trainval)** には変換スクリプトのサンプルと変換前後のモデルをコミットしてあります。ご参考にどうぞ。お役に立てれば幸いです。
|