-
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
Problem in executing #10
Comments
Which ver. of TF are you using? Regards |
@pusj, |
TypeError: fit() got an unexpected keyword argument 'monitors' |
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) |
@pusj |
@pusj |
@josephrj; See comment above; I'm not working in TF 1.3, I'm using TF 1.2. |
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'
The text was updated successfully, but these errors were encountered: