TypeError: 'ValuesView' object does not support indexing
xxllp opened this issue · 2 comments
xxllp commented
File "D:/daima/dc/dl/深度学习案例/convert_estimator_savedmodel.py", line 33, in main
signature_def.inputs.values()[0].name)
tobegit3hub commented
Thanks for reporting @xxllp . Are you using TensorFlow 2.0?
xxllp commented
I use tensorflow 1.13 ,and fix this by use [v.name for v in signature_def.inputs.values()]
but can not understand the code
graph_editor.graph_replace get the error
ValueError: Dtypes <dtype: 'string'> and <dtype: 'uint8'> are not compatible.