Open vagi8 opened 4 years ago
Not familiar with TensorFlow, what is exactly what you need help with?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Issue Summary
I am planning to convert your caffe model to tensorflow lite. for which i ll be needing your output node names (for the command
tensorflowjs_converter
) i usecaffe-tensorflow
and generated a pb inference graph. when i try to put it in tensorboard/ netron, i am unable to discern the output node name. Please Help.Executed Command (if any)
I tried output node names as the following 'import/Mconv7_stage6/BiasAdd' 'BiasAdd'
OpenPose Output (if any)
N/A
Errors (if any)
KeyError: "The name 'import/Mconv7_stage6/BiasAdd' refers to an Operation not in the graph."
Type of Issue
Your System Configuration
Traceback (most recent call last): File "/home/ai/anaconda3/envs/tfjs/bin/tensorflowjs_converter", line 8, in <module> sys.exit(pip_main()) File "/home/ai/anaconda3/envs/tfjs/lib/python3.7/site-packages/tensorflowjs/converters/converter.py", line 757, in pip_main main([' '.join(sys.argv[1:])]) File "/home/ai/anaconda3/envs/tfjs/lib/python3.7/site-packages/tensorflowjs/converters/converter.py", line 761, in main convert(argv[0].split(' ')) File "/home/ai/anaconda3/envs/tfjs/lib/python3.7/site-packages/tensorflowjs/converters/converter.py", line 744, in convert experiments=args.experiments) File "/home/ai/anaconda3/envs/tfjs/lib/python3.7/site-packages/tensorflowjs/converters/tf_saved_model_conversion_v2.py", line 433, in convert_tf_frozen_model experiments=experiments) File "/home/ai/anaconda3/envs/tfjs/lib/python3.7/site-packages/tensorflowjs/converters/tf_saved_model_conversion_v2.py", line 135, in optimize_graph graph.add_to_collection('train_op', graph.get_operation_by_name(name)) File "/home/ai/anaconda3/envs/tfjs/lib/python3.7/site-packages/tensorflow/python/framework/ops.py", line 3798, in get_operation_by_name return self.as_graph_element(name, allow_tensor=False, allow_operation=True) File "/home/ai/anaconda3/envs/tfjs/lib/python3.7/site-packages/tensorflow/python/framework/ops.py", line 3670, in as_graph_element return self._as_graph_element_locked(obj, allow_tensor, allow_operation) File "/home/ai/anaconda3/envs/tfjs/lib/python3.7/site-packages/tensorflow/python/framework/ops.py", line 3730, in _as_graph_element_locked "graph." % repr(name)) KeyError: "The name 'import/Mconv7_stage6/BiasAdd' refers to an Operation not in the graph."
OpenPose version: OpenPose v1.6.0
General configuration:
Non-default settings: N/A
3rd-party software:
If GPU mode issue:
cat /usr/local/cuda/version.txt
in most cases): 10.1.243nvidia-smi
in Ubuntu): GTX 1060 6GBIf CPU-only mode issue: N/A
If Python API: N/A
If Windows system: N/A
If speed performance issue: N/A