-
Notifications
You must be signed in to change notification settings - Fork 418
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
updates required for TensorFlow 0.12.1 #4
Comments
I met the same problem. TensorFlowEstimator is instead by Estimator or BaseEstimator in the newest tensorflow version. I also hope for the resolution. Thanks. |
Thanks for author's work. But these examples confused me for a long time. To be honest, they make no sense when I work with TensorFlow 0.12.1. Maybe I should read the guide of https://www.tensorflow.org/api_docs/python/contrib.learn/estimators and search a new solution..... |
Hi, interesting examples and presentation.
I would like to give a try.
So I have just clone the git in my Ubuntu 16.04 and installed the most recent version of TensorFlow with pip.
But I get the following error:
root@ubumate:/opt/tensorflow/TensorFlow-Tutorials-for-Time-Series# python3 lstm-for-epf.py WARNING:tensorflow:From lstm-for-epf.py:34 in <module>.: calling BaseEstimator.evaluate (from tensorflow.contrib.learn.python.learn.estimators.estimator) with batch_size is deprecated and will be removed after 2016-12-01. Instructions for updating: Estimator is decoupled from Scikit Learn interface by moving into separate class SKCompat. Arguments x, y and batch_size are only available in the SKCompat class, Estimator will only accept input_fn. Example conversion: est = Estimator(...) -> est = SKCompat(Estimator(...))
Do you have an idea how I should change the following line:
regressor = learn.TensorFlowEstimator(model_fn=lstm_model(TIMESTEPS, RNN_LAYERS, DENSE_LAYERS), n_classes=0, verbose=1, steps=TRAINING_STEPS, optimizer='Adagrad', learning_rate=0.03, batch_size=BATCH_SIZE))
in order to make it working?
Thanks.
Regards.
The text was updated successfully, but these errors were encountered: