Traceback (most recent call last):


 "site-packages\matplotlib\backends\backend_wx.py", line 1163, in _onMotion


 "site-packages\matplotlib\backend_bases.py", line 1966, in motion_notify_event


 "site-packages\matplotlib\cbook.py", line 554, in process


 "site-packages\matplotlib\cbook.py", line 416, in __call__


 "CellProfiler\cellprofiler\gui\editobjectsdlg.py", line 1122, in on_mouse_moved


 "CellProfiler\cellprofiler\gui\editobjectsdlg.py", line 1479, in handle_mouse_moved_pick_second_mode
AttributeError: 'NoneType' object has no attribute 'get_data'

Traceback (most recent call last):


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

self.run()


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

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


 "/usr/local/lib/python2.7/dist-packages/keras/engine/training.py", line 429, in data_generator_task

generator_output = next(self._generator)


 "/home/mona/computer_vision/VPilot/model.py", line 61, in dataGenerator

x[batchCount, frameIndex, :, :, :] = cv2.imread(frame
, mode).astype('float32')
AttributeError: 'NoneType' object has no attribute 'astype'
