philipperemy / keras-attention

Keras Attention Layer (Luong and Bahdanau scores).
Apache License 2.0
2.8k stars 676 forks source link

Use this repository for CNN #46

Closed sepehrgolriz closed 4 years ago

sepehrgolriz commented 4 years ago

Dear Sir,

Would it be possible to use this repo for CNN network also?

Thanks and regards.

philipperemy commented 4 years ago

@sepehrgolriz I haven't thought about it but I think it's possible to combine CNN+LSTM. But in your case, I advise you to look into GradCam for CNN: https://towardsdatascience.com/demystifying-convolutional-neural-networks-using-gradcam-554a85dd4e48. Just a search on Google "GradCam CNN" should help you here. Thanks