backstopmedia / tensorflowbook

457 stars 296 forks source link

Chapter 6 04_arxiv not suitable for tensorflow2.x version? #29

Open brettlv opened 3 years ago

brettlv commented 3 years ago

Could not load dynamic library 'libcudart.so.10.1'; dlerror: libcudart.so.10.1: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH:

rnn_cell = tf.nn.rnn_cell.GRUCell AttributeError: module 'tensorflow._api.v2.nn' has no attribute 'rnn_cell'

It seems that the code is not suitable for tensorflow2.x version