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 274, in handle_worker

r = mapper(sample)


 "/home/qingsong/pycharm项目/shuzi/MyReader.py", line 14, in train_mapper

img = paddle.image.simple_transform(img, 256, self.imageSize, True)


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

im = resize_short(im, resize_size)


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

h, w = im.shape[:2]
AttributeError: 'NoneType' object has no attribute 'shape'

Traceback (most recent call last):


 "...\AppData\Local\Programs\Python\Python36-32\lib\runpy.py", line 193, in _run_module_as_main

"__main__", mod_spec)


 "...\AppData\Local\Programs\Python\Python36-32\lib\runpy.py", line 85, in _run_code

exec(code, run_globals)


 "...\main.py", line 24, in <module>

main().main_loop()


 "...\AppData\Local\Programs\Python\Python36-32\lib\site-packages\toga_winforms\app.py", line 49, in main_loop

self._startup()


 "...\AppData\Local\Programs\Python\Python36-32\lib\site-packages\toga_winforms\app.py", line 41, in _startup

self.startup()


 "...\AppData\Local\Programs\Python\Python36-32\lib\site-packages\toga\interface\app.py", line 144, in startup

self.main_window.content = self._startup_method(self)


 "...\main.py", line 9, in build

box = toga.Box()


 "...\AppData\Local\Programs\Python\Python36-32\lib\site-packages\toga_winforms\widgets\box.py", line 10, in __init__

super().__init__(id=id, style=style, children=children)


 "...\AppData\Local\Programs\Python\Python36-32\lib\site-packages\toga\interface\widgets\box.py", line 21, in __init__

super().__init__(id=id, style=style, children=children)


 "...\AppData\Local\Programs\Python\Python36-32\lib\site-packages\toga\interface\widgets\base.py", line 144, in __init__

self.style = CSS()


 "...\AppData\Local\Programs\Python\Python36-32\lib\site-packages\toga\interface\widgets\base.py", line 170, in style

self._style = value.bind(self)
AttributeError: 'CSS' object has no attribute 'bind'
