Skip to content

while running tutorials, TypeError: 'NoneType' object is not iterable #20

Open
@yuezhilanyi

Description

@yuezhilanyi

edit:
gpu version, with cuda9.0

Have I written custom code: no
OS Platform and Distribution : win10, x64
TensorFlow installed from (source or binary): pip binary
TensorFlow version (use command below): 1.8  (gpu version)
Cuda version: 9.0
Cudnn: 7.1
Python version: 3.5.2

when i run the two tutorials, it ended with the same issue:

INFO:tensorflow:Saving dict for global step 5000: accuracy = 0.8413, average_loss = 0.46480885, global_step = 5000, loss = 0.46422938

TypeError Traceback (most recent call last)
in ()
6 eval_spec=tf.estimator.EvalSpec(
7 input_fn=input_fn("test", training=False, batch_size=BATCH_SIZE),
----> 8 steps=None))

TypeError: 'NoneType' object is not iterable

then i tried the solution mentioned in Fix invalid UTF-8 encoding with Python 3 , but it stayed the same.

ps:
i intended to try python2, but there was no python2 v1.8 version for win platform.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions