Skip to content

TypeError: 'NoneType' object is not iterable #5

@mashuk06

Description

@mashuk06

Cann't figure out why this error occurs.

File "image_colorization.py", line 191, in
tf.app.run()
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/platform/app.py", line 48, in run
_sys.exit(main(_sys.argv[:1] + flags_passthrough))
File "image_colorization.py", line 142, in main
batch_reader = dataset.BatchDatset(train_images, image_options)
File "/home/pinky/Desktop/color/BatchDatsetReader.py", line 30, in init
self._read_images()
File "/home/pinky/Desktop/color/BatchDatsetReader.py", line 33, in _read_images
self.images = np.array([self._transform(filename) for filename in self.files])
TypeError: 'NoneType' object is not iterable

Looking forward to your reply.Thanks in advance :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions