<p dir="auto">Hello,I don<code class="notranslate">t know what the problem it is? it can</code>t generate a new pb file.thank you.</p>
<p dir="auto">bazel-bin/tensorflow/tools/graph_transforms/transform_graph --in_graph=/media/long/data/android/PoseEstimationForMobile/release/cpm_model/model.pb --out_graph=/media/long/data/android/PoseEstimationForMobile/release/cpm_model/graph_opt1.pb --inputs=inputs/X --outputs=output/predict --transforms='strip_unused_nodes(type=float, shape="256*64") remove_nodes(op=Identity, op=CheckNumerics) fold_constants(ignore_errors=true) fold_batch_norms fold_old_batch_norms'<br>
2018-10-18 21:49:33.990823: I tensorflow/tools/graph_transforms/transform_graph.cc:317] Applying strip_unused_nodes<br>
2018-10-18 21:49:33.991322: E tensorflow/tools/graph_transforms/transform_graph.cc:263] Input node output/predict not found in graph<br>
2018-10-18 21:49:33.991366: E tensorflow/tools/graph_transforms/transform_graph.cc:264] usage: bazel-bin/tensorflow/tools/graph_transforms/transform_graph<br>
Flags:<br>
--in_graph=""                    	string	input graph file name<br>
--out_graph=""                   	string	output graph file name<br>
--inputs=""                      	string	inputs<br>
--outputs=""                     	string	outputs<br>
--transforms=""                  	string	list of transforms<br>
--output_as_text=false           	bool	whether to write the graph in text protobuf format</p>
<p dir="auto">Transforms are:<br>
add_default_attributes<br>
backport_concatv2<br>
backport_tensor_array_v3<br>
flatten_atrous_conv<br>
fold_batch_norms<br>
fold_constants<br>
fold_old_batch_norms<br>
freeze_requantization_ranges<br>
fuse_pad_and_conv<br>
fuse_remote_graph<br>
fuse_resize_and_conv<br>
fuse_resize_pad_and_conv<br>
insert_logging<br>
merge_duplicate_nodes<br>
obfuscate_names<br>
place_remote_graph_arguments<br>
quantize_nodes<br>
quantize_weights<br>
remove_attribute<br>
remove_control_dependencies<br>
remove_device<br>
remove_nodes<br>
rename_attribute<br>
rename_op<br>
rewrite_quantized_stripped_model_for_hexagon<br>
round_weights<br>
set_device<br>
sort_by_execution_order<br>
sparsify_gather<br>
strip_unused_nodes</p>
<h3 dir="auto">Environment info</h3>
<p dir="auto">Operating System:<br>
OSX El Capitan 10.11.5</p>
<p dir="auto">Installed version of CUDA and cuDNN:<br>
N/A</p>
<p dir="auto">If installed from sources, provide the commit hash:<br>
<a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/tensorflow/tensorflow/commit/a4b7bb9a5dd2c021edcd3d68d326255c734d0ef0/hovercard" href="https://github.com/tensorflow/tensorflow/commit/a4b7bb9a5dd2c021edcd3d68d326255c734d0ef0"><tt>a4b7bb9</tt></a></p>
<h3 dir="auto">Steps to reproduce</h3>
<ol dir="auto">
<li><code class="notranslate">git clone --recursive https://github.com/tensorflow/models.git</code></li>
<li><code class="notranslate">cd models/syntaxnet/tensorflow</code></li>
<li><code class="notranslate">./configure</code></li>
<li><code class="notranslate">cd ..</code></li>
<li><code class="notranslate">bazel build syntaxnet/...</code></li>
</ol>
<h3 dir="auto">What have you tried?</h3>
<ol dir="auto">
<li>Confirmed that bazel version is 0.2.2</li>
<li>Confirmed that configure has been run</li>
</ol>
<h3 dir="auto">Logs or other output that would be helpful</h3>
<p dir="auto">(If logs are large, please upload as attachment).<br>
<code class="notranslate">INFO: Found 74 targets... ERROR: /private/var/tmp/_bazel_pberkman/64f225994fec6ff696f44dfe0caf6bfc/external/org_tensorflow/util/python/BUILD:14:1: Executing genrule @org_tensorflow//util/python:python_check failed: bash failed: error executing command /bin/bash -c ... (remaining 1 argument(s) skipped): com.google.devtools.build.lib.shell.BadExitStatusException: Process exited with status 1. ERROR: Cannot find 'external/org_tensorflow/util/python/python_lib'.  Did you run configure?</code></p>
<p dir="auto">Seems that this issue is consistent with error <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="158861631" data-permission-text="Title is private" data-url="https://github.com/tensorflow/tensorflow/issues/2703" data-hovercard-type="issue" data-hovercard-url="/tensorflow/tensorflow/issues/2703/hovercard" href="https://github.com/tensorflow/tensorflow/issues/2703">#2703</a></p>