runtime error
Exit code: 1. Reason: ccurate. 2025-09-04 11:16:01.924287: W tensorflow/core/common_runtime/graph_constructor.cc:846] Node 'cond' has 5 outputs but the _output_shapes attribute specifies shapes for 46 outputs. Output shapes may be inaccurate. 2025-09-04 11:16:02.304879: W tensorflow/core/common_runtime/graph_constructor.cc:846] Node 'cond' has 5 outputs but the _output_shapes attribute specifies shapes for 46 outputs. Output shapes may be inaccurate. 2025-09-04 11:16:02.316445: W tensorflow/core/common_runtime/graph_constructor.cc:846] Node 'cond/while' has 13 outputs but the _output_shapes attribute specifies shapes for 46 outputs. Output shapes may be inaccurate. 2025-09-04 11:16:02.326402: W tensorflow/core/common_runtime/graph_constructor.cc:846] Node 'cond' has 5 outputs but the _output_shapes attribute specifies shapes for 46 outputs. Output shapes may be inaccurate. Traceback (most recent call last): File "/home/user/app/app.py", line 21, in <module> loaded_model = tf.keras.layers.TFSMLayer(model_path, call_endpoint="serving_default") File "/usr/local/lib/python3.10/site-packages/keras/src/export/tfsm_layer.py", line 66, in __init__ self._reloaded_obj = tf.saved_model.load(filepath) File "/usr/local/lib/python3.10/site-packages/tensorflow/python/saved_model/load.py", line 912, in load result = load_partial(export_dir, None, tags, options)["root"] File "/usr/local/lib/python3.10/site-packages/tensorflow/python/saved_model/load.py", line 1042, in load_partial loader = Loader(object_graph_proto, saved_model_proto, export_dir, File "/usr/local/lib/python3.10/site-packages/tensorflow/python/saved_model/load.py", line 223, in __init__ self._load_all() File "/usr/local/lib/python3.10/site-packages/tensorflow/python/saved_model/load.py", line 320, in _load_all self._load_nodes() File "/usr/local/lib/python3.10/site-packages/tensorflow/python/saved_model/load.py", line 529, in _load_nodes slot_variable = optimizer_object.add_slot( AttributeError: '_UserObject' object has no attribute 'add_slot'
Container logs:
Fetching error logs...