runtime error
ctory for plugin cuDNN when one has already been registered 2024-07-07 03:11:20.131139: E external/local_xla/xla/stream_executor/cuda/cuda_blas.cc:1442] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered 2024-07-07 03:11:20.142426: 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-07-07 03:11:20.937132: 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 9, in <module> model = tf.keras.models.load_model('cats_vs_dogs.h5', custom_objects={'KerasLayer': hub.KerasLayer}) File "/usr/local/lib/python3.10/site-packages/keras/src/saving/saving_api.py", line 189, 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 133, in load_model_from_hdf5 model = saving_utils.model_from_config( File "/usr/local/lib/python3.10/site-packages/keras/src/legacy/saving/saving_utils.py", line 85, in model_from_config return serialization.deserialize_keras_object( File "/usr/local/lib/python3.10/site-packages/keras/src/legacy/saving/serialization.py", line 495, in deserialize_keras_object deserialized_obj = cls.from_config( File "/usr/local/lib/python3.10/site-packages/keras/src/models/sequential.py", line 351, in from_config model.add(layer) File "/usr/local/lib/python3.10/site-packages/keras/src/models/sequential.py", line 95, in add raise ValueError( ValueError: Only instances of `keras.Layer` can be added to a Sequential model. Received: <tensorflow_hub.keras_layer.KerasLayer object at 0x7fe61d0d8460> (of type <class 'tensorflow_hub.keras_layer.KerasLayer'>)
Container logs:
Fetching error logs...