Traceback (most recent call last):


 "demo.py", line 22, in <module>

img, model='keras', adjust=True, detectAngle=True)


 "D:\QQ\chinese_ocr-master\chinese_ocr-master\model.py", line 118, in model

result = crnnRec(img, text_recs, model, adjust=adjust)


 "D:\QQ\chinese_ocr-master\chinese_ocr-master\model.py", line 57, in crnnRec

sim_pred = ocr(image)


 "D:\QQ\chinese_ocr-master\chinese_ocr-master\ocr\model.py", line 105, in predict

y_pred = basemodel.predict(X)
AttributeError: 'NoneType' object has no attribute 'predict'

Traceback (most recent call last):


 "D:/2.7/build/inst/lib/python3.5/site-packages/cura\CuraApplication.py", line 707, in event


 "D:/2.7/build/inst/lib/python3.5/site-packages/UM\Qt\QtApplication.py", line 261, in event


 "D:/2.7/build/inst/lib/python3.5/site-packages/UM\Event.py", line 189, in call


 "D:/2.7/build/inst/lib/python3.5/site-packages/UM\Signal.py", line 315, in __performEmit


 "D:/2.7/build/inst/lib/python3.5/site-packages/cura\Settings\ExtruderStack.py", line 94, in _onPropertiesChanged
AttributeError: 'NoneType' object has no attribute 'definition'
