mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-16 14:52:15 +08:00
4012d181e1
date: 2024-03-17T10:14:38 master commit: 7e9a909e0e57ecb31df4c87c5b9a06b1204fd034
9 lines
226 B
Python
9 lines
226 B
Python
#!/usr/bin/env python3
|
|
import sys
|
|
import tensorflow as tf
|
|
|
|
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")
|