Traceback (most recent call last):


 "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner

self.run()


 "/usr/lib/python2.7/threading.py", line 754, in run

self.__target(*self.__args, **self.__kwargs)


 "/usr/local/lib/python2.7/dist-packages/paddle/v2/reader/decorator.py", line 271, in handle_worker

r = mapper(sample)


 "/usr/local/lib/python2.7/dist-packages/paddle/v2/dataset/flowers.py", line 63, in default_mapper

img = load_image_bytes(img)


 "/usr/local/lib/python2.7/dist-packages/paddle/v2/image.py", line 113, in load_image_bytes

img = cv2.imdecode(file_bytes, flag)
AttributeError: 'NoneType' object has no attribute 'imdecode'


Traceback (most recent call last):

 "<string>", line 20, in <module>

 "/tmp/pip-build-b5tfve/pycuda/setup.py", line 216, in <module>
main()

 "/tmp/pip-build-b5tfve/pycuda/setup.py", line 88, in main
conf["CUDA_INC_DIR"] = [join(conf["CUDA_ROOT"], "include")]

 "/usr/lib/python2.7/posixpath.py", line 77, in join
elif path == '' or path.endswith('/'):
AttributeError: 'NoneType' object has no attribute 'endswith'