runtime error
Exit code: 1. Reason: egistered 2024-10-04 14:00:18.369540: 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-10-04 14:00:19.497782: 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 7, in <module> model = from_pretrained_keras("keras-io/deeplabv3p-resnet50") File "/usr/local/lib/python3.10/site-packages/huggingface_hub/keras_mixin.py", line 293, in from_pretrained_keras return KerasModelHubMixin.from_pretrained(*args, **kwargs) File "/usr/local/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn return fn(*args, **kwargs) File "/usr/local/lib/python3.10/site-packages/huggingface_hub/hub_mixin.py", line 570, in from_pretrained instance = cls._from_pretrained( File "/usr/local/lib/python3.10/site-packages/huggingface_hub/keras_mixin.py", line 494, in _from_pretrained model = keras.models.load_model(storage_folder) File "/usr/local/lib/python3.10/site-packages/keras/src/saving/saving_api.py", line 206, in load_model raise ValueError( ValueError: File format not supported: filepath=/home/user/.cache/huggingface/hub/models--keras-io--deeplabv3p-resnet50/snapshots/5ed36f2b0b0b0c1b09aae5657676b7338c82e985. 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(/home/user/.cache/huggingface/hub/models--keras-io--deeplabv3p-resnet50/snapshots/5ed36f2b0b0b0c1b09aae5657676b7338c82e985, call_endpoint='serving_default')` (note that your `call_endpoint` might have a different name).
Container logs:
Fetching error logs...