Skip to content
This repository has been archived by the owner on Jun 24, 2021. It is now read-only.

ValueError: GRU(reset_after=False) is not compatible with GRU(reset_after=True) #2

Closed
sri1905 opened this issue Nov 25, 2020 · 7 comments

Comments

@sri1905
Copy link

sri1905 commented Nov 25, 2020

On running transliterator = DeepTranslit('telugu') in google colab, I get a value error. This happens irrespective of the language. Please find attached the error log. Do suggest on how to resolve this. Thank you.
Screenshot from 2020-11-25 20-36-38

@bedapudi6788
Copy link
Collaborator

I haven't tested txt2txt (https://github.com/bedapudi6788/txt2txt) with recent versions of tf yet. tf 1.15, keras 2.2.4 should work (If I recall correctly, tensorflow versions upto 2.1 works.). %tensorflow_version 1.x this enables tensorflow 1.15 on colab.

@sri1905
Copy link
Author

sri1905 commented Nov 25, 2020

Despite this %tensorflow_version 1.x , I am running into the same error (ValueError)

@bedapudi6788
Copy link
Collaborator

Can you share the colab notebook?

@sri1905
Copy link
Author

sri1905 commented Nov 25, 2020

https://colab.research.google.com/drive/1MpCHB2d2DSrqUgLxPMCjTb6Kp3aNY92a?usp=sharing

That should give access to edit. Thank you

@bedapudi6788
Copy link
Collaborator

@bedapudi6788
Copy link
Collaborator

@sri1905 above colab demonstrates the usage. Closing the issue. Feel free to re-open if required.

@sri1905
Copy link
Author

sri1905 commented Nov 25, 2020

Now I get the following error:
AttributeError: module 'tensorflow' has no attribute 'get_default_graph'

Tried to add some import statements and change the way tf calls this in the dist-packages's file but its not changing anything.

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

No branches or pull requests

2 participants