runtime error

Exit code: 1. Reason: e check linkage and avoid linking the same target more than once. 2025-05-22 12:26:28.075075: I tensorflow/core/platform/cpu_feature_guard.cc:210] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations. To enable the following instructions: AVX2 AVX512F AVX512_VNNI FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags. 2025-05-22 12:26:32.517572: E external/local_xla/xla/stream_executor/cuda/cuda_platform.cc:51] failed call to cuInit: INTERNAL: CUDA error: Failed call to cuInit: UNKNOWN ERROR (303) /usr/local/lib/python3.10/site-packages/keras/src/saving/saving_lib.py:802: UserWarning: Skipping variable loading for optimizer 'adam', because it has 22 variables whereas the saved optimizer has 21 variables. saveable.load_own_variables(weights_store.get(inner_path)) Traceback (most recent call last): File "/home/user/app/app.py", line 7, in <module> model = tf.keras.models.load_model("model/pneumonia_detection_model.keras") File "/usr/local/lib/python3.10/site-packages/keras/src/saving/saving_api.py", line 189, in load_model return saving_lib.load_model( File "/usr/local/lib/python3.10/site-packages/keras/src/saving/saving_lib.py", line 370, in load_model return _load_model_from_fileobj( File "/usr/local/lib/python3.10/site-packages/keras/src/saving/saving_lib.py", line 512, in _load_model_from_fileobj _raise_loading_failure(error_msgs) File "/usr/local/lib/python3.10/site-packages/keras/src/saving/saving_lib.py", line 650, in _raise_loading_failure raise ValueError(msg) ValueError: A total of 5 objects could not be loaded. Example error message for object <Conv2D name=conv2d, built=True>: Layer 'conv2d' expected 2 variables, but received 0 variables during loading. Expected: ['kernel', 'bias'] List of objects that could not be loaded: [<Conv2D name=conv2d, built=True>, <Conv2D name=conv2d_1, built=True>, <Conv2D name=conv2d_2, built=True>, <Dense name=dense, built=True>, <Dense name=dense_1, built=True>]

Container logs:

Fetching error logs...