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

Problem in executing #10

Open
josephrj opened this issue Aug 29, 2017 · 7 comments
Open

Problem in executing #10

josephrj opened this issue Aug 29, 2017 · 7 comments

Comments

@josephrj
Copy link

WARNING:tensorflow:From C:\Users\JOSEPH\Anaconda3\envs\tensorflow-cpu\lib\site-packages\tensorflow\contrib\learn\python\learn\monitors.py:269: BaseMonitor.init (from tensorflow.contrib.learn.python.learn.monitors) is deprecated and will be removed after 2016-12-05.
Instructions for updating:
Monitors are deprecated. Please use tf.train.SessionRunHook.

WARNING:tensorflow:From C:\Users\JOSEPH\Anaconda3\envs\tensorflow-cpu\lib\site-packages\tensorflow\contrib\learn\python\learn\monitors.py:269: BaseMonitor.init (from tensorflow.contrib.learn.python.learn.monitors) is deprecated and will be removed after 2016-12-05.
Instructions for updating:
Monitors are deprecated. Please use tf.train.SessionRunHook.


TypeError Traceback (most recent call last)
in ()
55 early_stopping_rounds=1000)
56
---> 57 regressor.fit(X['train'], y['train'],monitors=[validation_monitor],logdir=LOG_DIR)
58
59 # self.assertTrue(hook.loss_collection)

TypeError: fit() got an unexpected keyword argument 'monitors'

@pusj
Copy link

pusj commented Aug 29, 2017

@josephrj ,

Which ver. of TF are you using?

Regards
Staffan

@josephrj
Copy link
Author

@pusj,
1.3.0 version

@josephrj
Copy link
Author

josephrj commented Sep 2, 2017

TypeError: fit() got an unexpected keyword argument 'monitors'
please fix this error

@pusj
Copy link

pusj commented Sep 3, 2017

@josephrj ,

This is most likely due to that monitors has been deprecated, @tgjeon is working on updating the code for TF 1.2, until this is complete, could you test the version of the code I have worked on to see if you get the same error? https://github.com/pusj/LSTM-Time-Series-Analysis-using-Tensorflow

I would work with TF 1.3 but the last time I installed this version it threw the pywrap error for the GPU version. TF 1.2 with GPU and TF 1.3 without GPU both works fine...(I havent tried upgrading cuDNN from 5.1 to 6.0 but I'll try this when I get some spare time)

@josephrj
Copy link
Author

josephrj commented Sep 7, 2017

@pusj
AttributeError: module 'tensorflow.contrib.learn' has no attribute 'TensorFlowEstimator'
is there any other attribute in replacement for this in tensorflow 1.3

@josephrj
Copy link
Author

josephrj commented Sep 7, 2017

@pusj
AttributeError: module 'tensorflow' has no attribute 'histogram_summary'
is there any other attribute in replacement for this in tensorflow 1.3

@pusj
Copy link

pusj commented Sep 7, 2017

@josephrj; See comment above; I'm not working in TF 1.3, I'm using TF 1.2.

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