Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sh = Shakkala(folder_location, version=1),show “ValueError: GRU(reset_after=False) is not compatible with GRU(reset_after=True)“ error #48

Open
SUPER-ALEX opened this issue Sep 5, 2023 · 0 comments

Comments

@SUPER-ALEX
Copy link

Hi:
When I changed sh = Shakkala(folder_location, version=3) to sh = Shakkala(folder_location, version=1), the following error occurred:

Traceback (most recent call last):
File "/home/alex/g2p/arc/Shakkala/shakkala/demo.py", line 24, in
model, graph = sh.get_model()
File "/home/alex/g2p/arc/Shakkala/shakkala/Shakkala.py", line 69, in get_model
model = load_model(self.model_location)
File "/home/alex/anaconda3/envs/arc/lib/python3.9/site-packages/keras/utils/traceback_utils.py", line 67, in error_handler
raise e.with_traceback(filtered_tb) from None
File "/home/alex/anaconda3/envs/arc/lib/python3.9/site-packages/keras/saving/hdf5_format.py", line 581, in _convert_rnn_weights
raise ValueError('%s is not compatible with %s' % types)
ValueError: GRU(reset_after=False) is not compatible with GRU(reset_after=True)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant