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

Error when load model

raspatiocan opened this issue · comments

Hello, my name is raspati, i have problem when use keras-self-attention layer.
i can't load model, ValueError: Unknown layer: SeqSelfAttention.

import keras
from keras_self_attention import SeqSelfAttention

keras.models.load_model("/content/drive/MyDrive/Colab Notebooks/Model/GRU_apnea.h5", custom_objects=SeqSelfAttention.get_custom_objects())
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.