mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-06-25 05:32:05 +08:00
c4f322ce2d
remove pylint
old-commit-hash: 1ee6ed4b16
9 lines
226 B
Python
Executable File
9 lines
226 B
Python
Executable File
#!/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")
|