Introduce weights extractor from .tflite (#288)
author김정현/동작제어Lab(SR)/Senior Engineer/삼성전자 <jh0822.kim@samsung.com>
Fri, 30 Mar 2018 06:52:41 +0000 (15:52 +0900)
committer오형석/동작제어Lab(SR)/Senior Engineer/삼성전자 <hseok82.oh@samsung.com>
Fri, 30 Mar 2018 06:52:41 +0000 (15:52 +0900)
commita51bf6db47bf4de36cc74464f818b89c5ef3ed96
tree8eb2e95fdd04c0b1c01d41b82eff9a16fe3964eb
parentaf8895070556fa9a40dc1510799bbd80a7ac243a
Introduce weights extractor from .tflite (#288)

This commit introduces weight/bias extractor from .tflite file.
You can execute this script like below:

`$ extract_from_tflite.sh inception.tflite`

Then, you can find *.npy files in the current working directory.
Those *.npy files contain weight or bias values.
The name of each file is set to be the name of each layer.

Signed-off-by: Junghyun Kim <jh0822.kim@samsung.com>
tools/extract_weights_from_tflite/extract.py [new file with mode: 0755]
tools/extract_weights_from_tflite/extract_from_tflite.sh [new file with mode: 0755]