mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-09-30 19:33:45 +08:00
eefc084302
version: sunnypilot v2025.003.000 (dev) date: 2025-12-18T05:48:43 master commit: 16c052af0835f049a67b80251d8cc1114fc08bb4
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")
|