Skip to content

ModuleNotFoundError: No module named 'tensorflow.contrib' #405

Open
@tristankleyn

Description

@tristankleyn

Hi,

I believe there isn't a contrib module in Tensorflow 2.0 - does this mean we need an earlier version of TF to run wavenet?

`import wavenet

2021-10-25 12:32:15.774545: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'cudart64_110.dll'; dlerror: cudart64_110.dll not found
2021-10-25 12:32:15.774629: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
Traceback (most recent call last):

File "", line 1, in
import wavenet

File "C:\Users**\Environments\project1\lib\site-packages\wavenet_init_.py", line 5, in
from .network import Conv, Model, Network

File "C:\Users**\Environments\project1\lib\site-packages\wavenet\network.py", line 9, in
from .cell import ConvCell

File "C:\Users**\Environments\project1\lib\site-packages\wavenet\cell.py", line 6, in
from tensorflow.contrib.rnn import RNNCell # pylint: disable=E0611

ModuleNotFoundError: No module named 'tensorflow.contrib'`

Cheers,
Tristan

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions