CyberZHG / keras-self-attention

Attention mechanism for processing sequential data that considers the context for each timestamp.

Home Page:https://pypi.org/project/keras-self-attention/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Issue with importing SeqSelfAttention

katekats opened this issue · comments

Hello,

I have an issue when I try to import SeqSelfAttention, I get the message:ImportError: cannot import name ‘get_config’.

Any idea how to solve this would be welcomed.

same here !!

commented

in backend.py try to replace line:
import keras
with
from tensorflow import keras

in backend.py try to replace line: import keras with from tensorflow import keras

This solved the issue for me! Thank you very much!
(I had the following error: AttributeError: module 'keras' has no attribute 'applications')

commented

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.