https://github.com/alanswx/keras_to_tensorflow
Convert keras models to tensorflow frozen graph for use on cell phones, etc
https://github.com/alanswx/keras_to_tensorflow
Last synced: 11 months ago
JSON representation
Convert keras models to tensorflow frozen graph for use on cell phones, etc
- Host: GitHub
- URL: https://github.com/alanswx/keras_to_tensorflow
- Owner: alanswx
- License: mit
- Created: 2017-03-28T19:36:17.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2024-01-27T17:38:48.000Z (about 2 years ago)
- Last Synced: 2024-11-01T05:32:51.964Z (over 1 year ago)
- Language: Python
- Size: 5.86 KB
- Stars: 21
- Watchers: 3
- Forks: 14
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# keras_to_tensorflow
Convert keras models to tensorflow frozen graph for use on cell phones, etc
The last parameter of the script takes the path to the freeze graph tool. Build it here:
```
bazel build tensorflow/python/tools:freeze_graph
```
It usually lives here off of your tensorflow directory:
```
tensorflow/bazel-bin/tensorflow/python/tools/freeze_graph
```
The script needs to be fixed so it doesn't put ./ in front of the paths. I was having a little trouble getting things to work. Feel free to fix and submit a pull request.