Hugging Face's logo
Wesleyjan
/
Runtime error

runtime error

Exit code: 1. Reason: d. 2024-09-26 17:18:21.213084: I external/local_xla/xla/tsl/cuda/cudart_stub.cc:32] Could not find cuda drivers on your machine, GPU will not be used. 2024-09-26 17:18:21.220724: E external/local_xla/xla/stream_executor/cuda/cuda_fft.cc:485] Unable to register cuFFT factory: Attempting to register factory for plugin cuFFT when one has already been registered 2024-09-26 17:18:21.235196: E external/local_xla/xla/stream_executor/cuda/cuda_dnn.cc:8454] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered 2024-09-26 17:18:21.239662: E external/local_xla/xla/stream_executor/cuda/cuda_blas.cc:1452] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered 2024-09-26 17:18:21.258812: 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. 2024-09-26 17:18:22.254148: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT ****************************>>>>>>>>> GRADIO VERSION: 3.26.0 Traceback (most recent call last): File "/home/user/app/app.py", line 26, in <module> model = tf.keras.models.load_model("NCM_DEMO.H5", compile=False) File "/usr/local/lib/python3.10/site-packages/keras/src/saving/saving_api.py", line 204, in load_model raise ValueError( ValueError: File format not supported: filepath=NCM_DEMO.H5. Keras 3 only supports V3 `.keras` files and legacy H5 format files (`.h5` extension). Note that the legacy SavedModel format is not supported by `load_model()` in Keras 3. In order to reload a TensorFlow SavedModel as an inference-only layer in Keras 3, use `keras.layers.TFSMLayer(NCM_DEMO.H5, call_endpoint='serving_default')` (note that your `call_endpoint` might have a different name).

Container logs:

Fetching error logs...