TensorFlow-Tutorials-for-Time-Series icon indicating copy to clipboard operation
TensorFlow-Tutorials-for-Time-Series copied to clipboard

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

Open MrGoogol opened this issue 7 years ago • 12 comments

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

MrGoogol avatar Jan 07 '17 01:01 MrGoogol

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

everett780 avatar Jan 16 '17 18:01 everett780

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

qwertmax avatar Feb 12 '17 18:02 qwertmax

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.

qwertmax avatar Feb 12 '17 19:02 qwertmax

https://github.com/tensorflow/tensorflow/issues/6303

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

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

ghost avatar Feb 28 '17 14:02 ghost

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

KP-Zhang avatar Mar 28 '17 17:03 KP-Zhang

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

qwertmax avatar Mar 28 '17 17:03 qwertmax

@qwertmax +1 !

pusj avatar Mar 28 '17 18:03 pusj

@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

pusj avatar Mar 28 '17 19:03 pusj

@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.

KP-Zhang avatar Mar 29 '17 20:03 KP-Zhang

@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 ?

pusj avatar Mar 31 '17 17:03 pusj

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

am-firnas avatar Jul 04 '17 18:07 am-firnas

it's there.

hhuhhu avatar Aug 02 '17 06:08 hhuhhu