Export/Server tensor2tensor as a .pb file instead of .pbtxt
See original GitHub issueDescription
I would like to know how to export the tensor2tensor serving as a .pb file, rather than a .pbtxt file.
Alternately, how can I get the output node names from the checkpoints/.pbtxt file? …
tensor2tensor==1.6.3 tensorflow==1.8.0
OS: CentOS
Python 2.7.5
For bugs: reproduction and error logs
# Steps to reproduce:
...
# Error logs:
...
Issue Analytics
- State:
- Created 5 years ago
- Comments:8 (3 by maintainers)
Top Results From Across the Web
Can we use .pbtxt instead of .pb file in using Tensor flow model
If the .pbtxt file is really a textual representation of the TensorFlow graph, then no, the Android APIs currently do not accept that...
Read more >Convert .pb file into frozen .pb file - Google Groups
The code was not running within Jupyter notebooks, but kinda works from my computer when I replaced ['softmax'] with output_nodes = [n.name for...
Read more >Tensorflow: How to load/restore a FULL model (.pb, .pbtxt ...
I recently switched from PyTorch to TF (1 and 2) and I am trying to acquire a good workflow with it. The simple...
Read more >导出/服务器Tensor2tensor作为.pb文件而不是.pbtxt - 第2页
Export/Server tensor2tensor as a .pb file instead of .pbtxt. 描述. 我想知道如何将作为.pb文件的tensor2tensor导出,而不是.pbtxt文件。
Read more >View a graphDef .pb or .pbtxt file with TensorBoard
It can be really useful to be able to view a TensorFlow graphDef file in TensorBoard. ... Import a protobuf graph (.pb or...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@marcbelmont Is it possible to freeze the savedmodel files (.pbtxt and variables) into .pb for mobile or embedded applications? I have got the same error in the process of doing that: google.protobuf.text_format.ParseError: 1:1 : Message type “tensorflow.GraphDef” has no field named “saved_model_schema_version”.
@Littlenova, I tried it and it says:
google.protobuf.text_format.ParseError: 1:1 : Message type "tensorflow.GraphDef" has no field named "saved_model_schema_version".
I tried it on the .pbtxt which was created using tensor2tensor.serving.export