In this link:https://github.com/iKintosh/GaborNet, code implemented at the torch.
Iam using this code in the keras.
I created the Gabor filters as shown below,