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

AttributeError: module 'tensorflow.contrib.rnn' has no attribute 'DropoutWrapper' #83

Open
Nish0106 opened this issue Sep 7, 2020 · 3 comments

Comments

@Nish0106
Copy link

Nish0106 commented Sep 7, 2020

Hi,

I am using Python - 3.6.8, TF version - 2.3.0

fw_cells = [rnn.DropoutWrapper(cell) for cell in fw_cells]

Facing the below error
AttributeError: module 'tensorflow.contrib.rnn' has no attribute 'DropoutWrapper'

Please help to resolve the issue

Thanks in Advance,
Nishar Ahamed A

@saran-gangster
Copy link

saran-gangster commented Sep 7, 2020

use tensorflow version 1.14.0
because tensorflow contrib was removed from the future versions
use :
pip install tensorflow==1.4.0

@saran-gangster
Copy link

if it works don't forget to close this issue

@hamdifhal
Copy link

it dosen't work
ERROR: Could not find a version that satisfies the requirement tensorflow==1.14 (from versions: 2.5.0rc0, 2.5.0rc1, 2.5.0rc2, 2.5.0rc3, 2.5.0, 2.5.1, 2.5.2, 2.6.0rc0, 2.6.0rc1, 2.6.0rc2, 2.6.0, 2.6.1, 2.6.2, 2.7.0rc0, 2.7.0rc1, 2.7.0, 2.8.0rc0, 2.8.0rc1)
ERROR: No matching distribution found for tensorflow==1.14

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

3 participants