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

AttributeError: module 'tensorflow.contrib.learn' has no attribute 'TensorFlowEstimator' #5

Open
MrGoogol opened this issue Jan 7, 2017 · 12 comments

Comments

@MrGoogol
Copy link

MrGoogol commented Jan 7, 2017

Hello, I can't figure out why has no attribute.
Using TensorFlow0.12

@everett780
Copy link

Hello, I am having the same problem with "no attribute 'TensorFlowEstimator'.
I am using tensorflow 0.12

@qwertmax
Copy link

@Mike121 @everett780 did you find solution of this issue?

@qwertmax
Copy link

TensorFlowEstimator in 0.12.1 now has name Estimator see this

if you will see error

TypeError: init() got an unexpected keyword argument 'optimizer'

you can just remove it

optimizer: An instance of tf.Optimizer used to train the model. If None, will use an Adagrad optimizer.

@ghost
Copy link

ghost commented Feb 28, 2017

tensorflow/tensorflow#6303

AttributeError: 'module' object has no attribute 'TensorFlowEstimator'

Use:
regressor = skflow.Estimator(model_fn=lstm_model(TIMESTEPS, RNN_LAYERS, DENSE_LAYERS))

@KP-Zhang
Copy link

@qwertmax Do you go through this code? There are several TypeError in this code. Could you give me some advice?

@qwertmax
Copy link

@DylanCheung if I can I'll be happy to help

@pusj
Copy link

pusj commented Mar 28, 2017

@qwertmax +1 !

@pusj
Copy link

pusj commented Mar 28, 2017

@qwertmax @DylanCheung

I might have (but this is unlikely) gotten a bit further down the road on solving the above issues. Feel free to try the code in my repository; https://github.com/pusj/LSTM-Time-Series-Analysis-using-Tensorflow
...and, feel free to comment on the two issues I've added

@KP-Zhang
Copy link

KP-Zhang commented Mar 29, 2017

@qwertmax @pusj Hi, thank you all very much.
Here is something I am going to share you.
https://github.com/BinRoot/TensorFlow-Book/tree/master/ch10_rnn
Hopefully, it will give an inspiration.
I am working on time series data prediction now.
I wish that we could discuss further.

@pusj
Copy link

pusj commented Mar 31, 2017

@DylanCheung , thanks for your initiative! I'd be happy to discuss this further. Thank you for the link, did you have a chance to look at my contribution at https://github.com/pusj/LSTM-Time-Series-Analysis-using-Tensorflow ?

@am-firnas
Copy link

Hi can I have the code for supporting to the uploaded csv file (realMarketPriceDataPT.csv) ?

@hhuhhu
Copy link

hhuhhu commented Aug 2, 2017

it's there.

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

7 participants