runtime error

Exit code: 1. Reason: tical operations. To enable the following instructions: AVX2 AVX512F AVX512_VNNI FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags. 2024-10-10 19:38:18.153152: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT Traceback (most recent call last): File "/home/user/app/app.py", line 8, in <module> autoencoder = keras.models.load_model("./models/denoising_autoencoder_weights.h5") File "/usr/local/lib/python3.10/site-packages/keras/src/saving/saving_api.py", line 196, in load_model return legacy_h5_format.load_model_from_hdf5( File "/usr/local/lib/python3.10/site-packages/keras/src/legacy/saving/legacy_h5_format.py", line 155, in load_model_from_hdf5 **saving_utils.compile_args_from_training_config( File "/usr/local/lib/python3.10/site-packages/keras/src/legacy/saving/saving_utils.py", line 143, in compile_args_from_training_config loss = _deserialize_nested_config(losses.deserialize, loss_config) File "/usr/local/lib/python3.10/site-packages/keras/src/legacy/saving/saving_utils.py", line 202, in _deserialize_nested_config return deserialize_fn(config) File "/usr/local/lib/python3.10/site-packages/keras/src/losses/__init__.py", line 149, in deserialize return serialization_lib.deserialize_keras_object( File "/usr/local/lib/python3.10/site-packages/keras/src/saving/serialization_lib.py", line 575, in deserialize_keras_object return deserialize_keras_object( File "/usr/local/lib/python3.10/site-packages/keras/src/saving/serialization_lib.py", line 678, in deserialize_keras_object return _retrieve_class_or_fn( File "/usr/local/lib/python3.10/site-packages/keras/src/saving/serialization_lib.py", line 812, in _retrieve_class_or_fn raise TypeError( TypeError: Could not locate function 'mse'. Make sure custom classes are decorated with `@keras.saving.register_keras_serializable()`. Full object config: {'module': 'keras.metrics', 'class_name': 'function', 'config': 'mse', 'registered_name': 'mse'}

Container logs:

Fetching error logs...