OMR-Research / tf-end-to-end

TensorFlow code to perform end-to-end Optical Music Recognition on monophonic scores through Convolutional Recurrent Neural Networks and CTC-based training.
MIT License
136 stars 58 forks source link

AttributeError: module 'tensorflow' has no attribute 'reset_default_graph' #9

Closed temps1101 closed 4 years ago

temps1101 commented 4 years ago

I was trying to test ctc_predict.py, but this error comes out: AttributeError: module 'TensorFlow' has no attribute 'reset_default_graph' I think it's because of the TensorFlow version, so I want to know the version of TensorFlow you are using.

By the way, my TensorFlow's version is 2.2.0rc3

calvozaragoza commented 4 years ago

You are using a newer version of TensorFlow. This was designed for TensorFlow 1.12 and, as far as I know, it works for any 1.X version, but not for 2.X.

temps1101 commented 4 years ago

Thank you for replying my question. It worked when I versioned down my TensorFlow to 1.12😀.