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
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'
The text was updated successfully, but these errors were encountered:
binlbl
changed the title
How to specify the parameters in the get_concrete_function()
My model has no attribute 'inputs'
Aug 20, 2021
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'
The text was updated successfully, but these errors were encountered: