NSpM icon indicating copy to clipboard operation
NSpM copied to clipboard

Deprecated Tensorflow functions

Open wannabeOG opened this issue 7 years ago • 2 comments

While running

python build_vocab.py data/monument_300/data_300.en > data/monument_300/vocab.en    

The python interpreter gives out the following warning

WARNING:tensorflow:From build_vocab.py:43: init (from tensorflow.contrib.learn.python.learn.preprocessing.text) is deprecated and will be removed in a future version.

Can use tensorflow/transform or tf.data in place to keep up with the recent updates (as suggested by the python interpreter)

wannabeOG avatar Jan 09 '19 12:01 wannabeOG

I would like to make these changes

wannabeOG avatar Jan 10 '19 07:01 wannabeOG

Hi, i too stumbled upon this issue, the python interpreter does suggest the use of tensorflow/transform or tf.data. But that info wasn't enough, you can get more information regarding porting from here.

Hope this info help people who face this issue. Indeed the code ran without any issues, these are warnings and updating the source will be a good step.

panchbhai1969 avatar Jan 20 '19 20:01 panchbhai1969