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'
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'