Cannot import name 'Recurrent' from 'keras.layers

I am trying to use PredNet to predict next frame using KITTI dataset (PredNet by coxlab).
i got this error after executing kitti_train.py

2023-06-07 17:50:49.593803: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.
To enable the following instructions: AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.
2023-06-07 17:50:51.155420: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT
Traceback (most recent call last):
File “kitti_train.py”, line 18, in
from prednet import PredNet
File “/home/mehdiexpleo/Desktop/LIFE/Sensor_Check/PredNet/prednet/prednet.py”, line 5, in
from keras.layers import Recurrent

Thank you for your time

@El_Mehdi_Baaziz,

from keras.layers import Recurrent

This layer is deprecated.

You can use ConvLSTM2D layer layer if it matches your use-case.

Thank you!