-
Notifications
You must be signed in to change notification settings - Fork 19
TypeError: 'NoneType' object is not iterable #5
Copy link
Copy link
Closed
Description
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 :)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels