Frozen-Graph-TensorFlow icon indicating copy to clipboard operation
Frozen-Graph-TensorFlow copied to clipboard

My model has no attribute 'inputs'

Open binlbl opened this issue 4 years ago • 1 comments

My model produces errors in the get_concrete_function: full_model = full_model.get_concrete_function( tf.TensorSpec(model.inputs[0].shape, model.inputs[0].dtype, name="Input_1"))

line 37, in
tf.TensorSpec(model.inputs[0].shape, model.inputs[0].dtype, name="Input_1")) AttributeError: '_UserObject' object has no attribute 'inputs'

binlbl avatar Aug 20 '21 19:08 binlbl

hey, I have the exact same issue you're describing. Did you ever find a workaround to this issue?

williamj20 avatar Nov 16 '21 23:11 williamj20