githubharald / SimpleHTR

Handwritten Text Recognition (HTR) system implemented with TensorFlow.
https://towardsdatascience.com/2326a3487cd5
MIT License
1.99k stars 893 forks source link

Errors #62

Closed JonhSilver closed 5 years ago

JonhSilver commented 5 years ago

c:\Python37>python.exe hwr/train.py WARNING:tensorflow:From c:\Python37\lib\site-packages\tensorflow\python\framewor k\op_def_library.py:263: colocate_with (from tensorflow.python.framework.ops) is deprecated and will be removed in a future version. Instructions for updating: Colocations handled automatically by placer.

WARNING: The TensorFlow contrib module will not be included in TensorFlow 2.0. For more information, please see:

WARNING:tensorflow:From c:\Python37\hwr\rnn.py:73: LSTMCell.init (from tenso rflow.python.ops.rnn_cell_impl) is deprecated and will be removed in a future ve rsion. Instructions for updating: This class is equivalent as tf.keras.layers.LSTMCell, and will be replaced by th at in Tensorflow 2.0. WARNING:tensorflow:From c:\Python37\hwr\rnn.py:74: MultiRNNCell.init (from t ensorflow.python.ops.rnn_cell_impl) is deprecated and will be removed in a futur e version. Instructions for updating: This class is equivalent as tf.keras.layers.StackedRNNCells, and will be replace d by that in Tensorflow 2.0. WARNING:tensorflow:From c:\Python37\hwr\rnn.py:81: bidirectional_dynamic_rnn (fr om tensorflow.python.ops.rnn) is deprecated and will be removed in a future vers ion. Instructions for updating: Please use keras.layers.Bidirectional(keras.layers.RNN(cell)), which is equiva lent to this API WARNING:tensorflow:From c:\Python37\lib\site-packages\tensorflow\python\ops\rnn. py:443: dynamic_rnn (from tensorflow.python.ops.rnn) is deprecated and will be r emoved in a future version. Instructions for updating: Please use keras.layers.RNN(cell), which is equivalent to this API WARNING:tensorflow:From c:\Python37\lib\site-packages\tensorflow\python\ops\rnn. py:626: to_int32 (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use tf.cast instead. WARNING:tensorflow:From hwr/train.py:72: to_float (from tensorflow.python.ops.ma th_ops) is deprecated and will be removed in a future version. Instructions for updating: Use tf.cast instead. Reading ./samples/Images//000033/READ17.000033_01_01_pg_line_1486644351571_780.p

githubharald commented 5 years ago

It is developed for TF 1.3 - I don't provide any updates for other TF versions.