mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-06-29 10:32:10 +08:00
eec2ca1e8b
* CI speedup * use the new stuff * push * no regressions * try that * don't let this slip * fix modeld tests * fix linter * modernize prebuilt * cleanup * fix those * increase a bit old-commit-hash: 00494a44f4fb8f9e18ce82e22bf40fbe6bc1a805
9 lines
258 B
Python
Executable File
9 lines
258 B
Python
Executable File
#!/usr/bin/env python3
|
|
import sys
|
|
import tensorflow as tf # pylint: disable=import-error
|
|
|
|
with open(sys.argv[1], "rb") as f:
|
|
graph_def = tf.compat.v1.GraphDef()
|
|
graph_def.ParseFromString(f.read())
|
|
#tf.io.write_graph(graph_def, '', sys.argv[1]+".try")
|