runtime error
Exit code: 1. Reason: er flags. 2024-08-17 18:19:51.139167: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT The token has not been saved to the git credentials helper. Pass `add_to_git_credential=True` in this function directly or `--add-to-git-credential` if using via `huggingface-cli` if you want to set the git credential as well. Token is valid (permission: fineGrained). Your token has been saved to /home/user/.cache/huggingface/token Login successful Traceback (most recent call last): File "/home/user/app/app.py", line 9, in <module> modelv1 = from_pretrained_keras("elsamueldev/cats-dogs") 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 569, 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 204, in load_model raise ValueError( ValueError: File format not supported: filepath=/home/user/.cache/huggingface/hub/models--elsamueldev--cats-dogs/snapshots/fb990b180721e03697b1b2b3c543f4038341e3a2. 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--elsamueldev--cats-dogs/snapshots/fb990b180721e03697b1b2b3c543f4038341e3a2, call_endpoint='serving_default')` (note that your `call_endpoint` might have a different name).
Container logs:
Fetching error logs...