runtime error
Exit code: 1. Reason: l/local_xla/xla/stream_executor/cuda/cuda_driver.cc:152] failed call to cuInit: INTERNAL: CUDA error: Failed call to cuInit: UNKNOWN ERROR (303) Traceback (most recent call last): File "/home/user/app/app.py", line 18, in <module> loaded_model = load_and_compile_model('solar_irradiance_model.h5') File "/home/user/app/app.py", line 13, in load_and_compile_model model = load_model(model_path, custom_objects={'MeanSquaredError': MeanSquaredError}) 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...