-
Notifications
You must be signed in to change notification settings - Fork 146
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
TypeError: Fetch argument None has invalid type <class 'NoneType'> #3
Comments
Could you show the error? |
Here is the error: File "C:\Program Files\Anaconda3\lib\site-packages\spyder\utils\site\sitecustomize.py", line 866, in runfile File "C:\Program Files\Anaconda3\lib\site-packages\spyder\utils\site\sitecustomize.py", line 102, in execfile File "C:/kaggle/thesis/sheraz/Bachelor_thesis_code/Bachelor_thesis/lstm_tsc.py", line 168, in File "C:\Program Files\Anaconda3\lib\site-packages\tensorflow\python\client\session.py", line 766, in run File "C:\Program Files\Anaconda3\lib\site-packages\tensorflow\python\client\session.py", line 951, in _run File "C:\Program Files\Anaconda3\lib\site-packages\tensorflow\python\client\session.py", line 407, in init File "C:\Program Files\Anaconda3\lib\site-packages\tensorflow\python\client\session.py", line 230, in for_fetch File "C:\Program Files\Anaconda3\lib\site-packages\tensorflow\python\client\session.py", line 337, in init File "C:\Program Files\Anaconda3\lib\site-packages\tensorflow\python\client\session.py", line 337, in File "C:\Program Files\Anaconda3\lib\site-packages\tensorflow\python\client\session.py", line 227, in for_fetch TypeError: Fetch argument None has invalid type <class 'NoneType'>` |
It has got to do with the updates in Tensorboard. Will fix it over Christmas break:) |
How does it work for you now? |
Rob - First, great code/project. Second, I get the same error/same location with the new code. Running Tensorflow r0.12. Any thoughts? |
Has to do with the section sess.run([model.cost, model.merged, model.accuracy], .... |
Thx
…Sent from my iPhone
On Jan 31, 2017, at 2:59 PM, jdewees ***@***.***> wrote:
Has to do with the section sess.run([model.cost, model.merged, model.accuracy], ....
model.merged is none as no summaries are added... remove it and the corresponding summ parameter and it should run
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Hi, first thing: your project is very interesting
Second: I got an error at the execution at line 164 : result = sess.run([cost,merged,accuracy],feed_dict = {input_data: X_batch, targets: y_batch, keep_prob:1})
Do you know where this could come from ?
Thank you in advance
The text was updated successfully, but these errors were encountered: