Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecated Tensorflow functions #13

Open
wannabeOG opened this issue Jan 9, 2019 · 2 comments
Open

Deprecated Tensorflow functions #13

wannabeOG opened this issue Jan 9, 2019 · 2 comments

Comments

@wannabeOG
Copy link

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
Copy link
Author

I would like to make these changes

@panchbhai1969
Copy link
Contributor

panchbhai1969 commented Jan 20, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants