error in util.py
Opened this issue · 4 comments
Deleted user commented
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'
henryhust commented
The version of tensorflow is too high. In v2.0, there is no module called "contrib"
i use tensorflow==1.14, everything is ok
Deleted user commented
cloud you please also tell me your tensorlfow-hub version and python
version, I am getting still errors, thanks
…On Thu, Oct 31, 2019 at 11:00 AM henry ***@***.***> wrote:
The version of tensorflow is too high. In v2.0, there is no module called
"contrib"
i use tensorflow==1.14, everything is ok
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#76?email_source=notifications&email_token=AM3GZMZ5FJDRTKRN7JCITBLQRKUDNA5CNFSM4JGZPGZ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECXE65Q#issuecomment-548294518>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AM3GZM62FWLEQX4X4ISY3D3QRKUDNANCNFSM4JGZPGZQ>
.
Deleted user commented
here is the error I get with the version you said
tensorflow.python.framework.errors_impl.NotFoundError:
libtensorflow_framework.so.2: cannot open shared object file: No such file
or directory
…On Thu, Oct 31, 2019 at 11:59 AM julia hane ***@***.***> wrote:
cloud you please also tell me your tensorlfow-hub version and python
version, I am getting still errors, thanks
On Thu, Oct 31, 2019 at 11:00 AM henry ***@***.***> wrote:
> The version of tensorflow is too high. In v2.0, there is no module called
> "contrib"
> i use tensorflow==1.14, everything is ok
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <#76?email_source=notifications&email_token=AM3GZMZ5FJDRTKRN7JCITBLQRKUDNA5CNFSM4JGZPGZ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECXE65Q#issuecomment-548294518>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AM3GZM62FWLEQX4X4ISY3D3QRKUDNANCNFSM4JGZPGZQ>
> .
>
Deleted user commented
Hi
this works with setup_all, thanks, I close it now.