You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "C:\Users\Admin\AppData\Local\conda\conda\envs\tf\lib\site-packages\tensorflow\python\framework\importer.py", line 4
18, in import_graph_def
graph._c_graph, serialized, options) # pylint: disable=protected-access
tensorflow.python.framework.errors_impl.InvalidArgumentError: NodeDef expected inputs '' do not match 1 inputs specified; O
p<name=Const; signature= -> output:dtype; attr=value:tensor; attr=dtype:type>; NodeDef: {{node Preprocessor/map/while/add/y
}} = Constdtype=DT_INT32, value=Tensor<type: int32 shape: [] values: 1>
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\Admin\AppData\Local\conda\conda\envs\tf\lib\runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "C:\Users\Admin\AppData\Local\conda\conda\envs\tf\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "C:\Users\Admin\pocketbotanist-master\python\quantize_graph.py", line 1302, in
app.run()
File "C:\Users\Admin\AppData\Local\conda\conda\envs\tf\lib\site-packages\tensorflow\python\platform\app.py", line 125, in
run
_sys.exit(main(argv))
File "C:\Users\Admin\pocketbotanist-master\python\quantize_graph.py", line 1273, in main
importer.import_graph_def(tf_graph, input_map={}, name="")
File "C:\Users\Admin\AppData\Local\conda\conda\envs\tf\lib\site-packages\tensorflow\python\util\deprecation.py", line 488
, in new_func
return func(*args, **kwargs)
File "C:\Users\Admin\AppData\Local\conda\conda\envs\tf\lib\site-packages\tensorflow\python\framework\importer.py", line 4
22, in import_graph_def
raise ValueError(str(e))
ValueError: NodeDef expected inputs '' do not match 1 inputs specified; Op<name=Const; signature= -> output:dtype; attr=val
ue:tensor; attr=dtype:type>; NodeDef: {{node Preprocessor/map/while/add/y}} = Constdtype=DT_INT32, value=Tensor<type: int3
2 shape: [] values: 1>
I am getting above error please tell me the solution if possible........
The text was updated successfully, but these errors were encountered:
input node: Const
ouput node: num_detections
[<tf.Tensor 'prefix/Const:0' shape=(2,) dtype=float32>, <tf.Tensor 'prefix/image_tensor:0' shape=(?, ?, ?, 3) dtype=uint8>,.................................................................................................................................................................................................................
<tf.Operation 'prefix/detection_classes' type=Identity>, <tf.Operation 'prefix/num_detections' type=Identity>]
Command:
python -m quantize_graph --input=./exportedModel/optimized_graph.pb --outpu
t=rounded_graph.pb --output_node_names='num_detections' --mode=weights_rounded
Error::::
Traceback (most recent call last):
File "C:\Users\Admin\AppData\Local\conda\conda\envs\tf\lib\site-packages\tensorflow\python\framework\importer.py", line 4
18, in import_graph_def
graph._c_graph, serialized, options) # pylint: disable=protected-access
tensorflow.python.framework.errors_impl.InvalidArgumentError: NodeDef expected inputs '' do not match 1 inputs specified; O
p<name=Const; signature= -> output:dtype; attr=value:tensor; attr=dtype:type>; NodeDef: {{node Preprocessor/map/while/add/y
}} = Constdtype=DT_INT32, value=Tensor<type: int32 shape: [] values: 1>
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\Admin\AppData\Local\conda\conda\envs\tf\lib\runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "C:\Users\Admin\AppData\Local\conda\conda\envs\tf\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "C:\Users\Admin\pocketbotanist-master\python\quantize_graph.py", line 1302, in
app.run()
File "C:\Users\Admin\AppData\Local\conda\conda\envs\tf\lib\site-packages\tensorflow\python\platform\app.py", line 125, in
run
_sys.exit(main(argv))
File "C:\Users\Admin\pocketbotanist-master\python\quantize_graph.py", line 1273, in main
importer.import_graph_def(tf_graph, input_map={}, name="")
File "C:\Users\Admin\AppData\Local\conda\conda\envs\tf\lib\site-packages\tensorflow\python\util\deprecation.py", line 488
, in new_func
return func(*args, **kwargs)
File "C:\Users\Admin\AppData\Local\conda\conda\envs\tf\lib\site-packages\tensorflow\python\framework\importer.py", line 4
22, in import_graph_def
raise ValueError(str(e))
ValueError: NodeDef expected inputs '' do not match 1 inputs specified; Op<name=Const; signature= -> output:dtype; attr=val
ue:tensor; attr=dtype:type>; NodeDef: {{node Preprocessor/map/while/add/y}} = Constdtype=DT_INT32, value=Tensor<type: int3
2 shape: [] values: 1>
I am getting above error please tell me the solution if possible........
The text was updated successfully, but these errors were encountered: