kentonl/e2e-coref

error in util.py

Opened this issue · 4 comments

Hi
I am using the following version of tensorflow:
tensorflow-estimator 2.0.1
tensorflow-gpu 2.0.0
tensorflow-hub 0.6.0

I got the following error; thanks for your help

=> bash setup_training.sh

Traceback (most recent call last):
File "minimize.py", line 13, in
import util
File "/remote/user/julia/dev/coref/e2e-coref/util.py", line 211, in
class CustomLSTMCell(tf.contrib.rnn.RNNCell):
AttributeError: 'module' object has no attribute 'contrib'

The version of tensorflow is too high. In v2.0, there is no module called "contrib"
i use tensorflow==1.14, everything is ok

Hi
this works with setup_all, thanks, I close it now.