作者:Kluiverthoo 字体:[增加 减小] 来源:互联网
在test.py中可以通过如下代码直接生成带weight的pb文件,也可以通过tf官方的freeze_graph.py将ckpt转为pb文件。