seominjoon / qrn

Query-Reduction Networks (QRN)
http://uwnlp.github.io/qrn/
MIT License
138 stars 30 forks source link

module 'tensorflow.python.ops.logging_ops' has no attribute 'Assert'. on tf0.11 #3

Closed SeekPoint closed 7 years ago

SeekPoint commented 7 years ago

python3 -m babi_rnn.main --noload --task 3

qrn/my/tensorflow/rnn.py", line 459, in _assert_has_shape return logging_ops.Assert( AttributeError: module 'tensorflow.python.ops.logging_ops' has no attribute 'Assert'

SeekPoint commented 7 years ago

change from tensorflow.python.ops.logging_ops to control_flow_ops.Assert can fix this

but another error raised