`Traceback (most recent call last):


 "/usr/local/lib/python3.5/dist-packages/flask/app.py", line 1997, in __call__

return self.wsgi_app(environ, start_response)


 "/usr/local/lib/python3.5/dist-packages/flask/app.py", line 1985, in wsgi_app

response = self.handle_exception(e)


 "/usr/local/lib/python3.5/dist-packages/flask_cors/extension.py", line 161, in wrapped_function

return cors_after_request(app.make_response(f(*args, **kwargs)))


 "/usr/local/lib/python3.5/dist-packages/flask/app.py", line 1540, in handle_exception

reraise(exc_type, exc_value, tb)


 "/usr/local/lib/python3.5/dist-packages/flask/_compat.py", line 33, in reraise

raise value


 "/usr/local/lib/python3.5/dist-packages/flask/app.py", line 1982, in wsgi_app

response = self.full_dispatch_request()


 "/usr/local/lib/python3.5/dist-packages/flask/app.py", line 1614, in full_dispatch_request

rv = self.handle_user_exception(e)


 "/usr/local/lib/python3.5/dist-packages/flask_cors/extension.py", line 161, in wrapped_function

return cors_after_request(app.make_response(f(*args, **kwargs)))


 "/usr/local/lib/python3.5/dist-packages/flask/app.py", line 1517, in handle_user_exception

reraise(exc_type, exc_value, tb)


 "/usr/local/lib/python3.5/dist-packages/flask/_compat.py", line 33, in reraise

raise value


 "/usr/local/lib/python3.5/dist-packages/flask/app.py", line 1612, in full_dispatch_request

rv = self.dispatch_request()


 "/usr/local/lib/python3.5/dist-packages/flask/app.py", line 1598, in dispatch_request

return self.view_functions[rule.endpoint](**req.view_args)


 "/mnt/c/Users/Alejandro/Desktop/ai-chatbot-framework-master/app/core/controllers.py", line 16, in buildModel

IntentClassifier().train()


 "/mnt/c/Users/Alejandro/Desktop/ai-chatbot-framework-master/app/core/intentClassifier.py", line 40, in train

outpath=self.PATH, verbose=False)


 "/mnt/c/Users/Alejandro/Desktop/ai-chatbot-framework-master/app/core/sentenceClassifer.py", line 37, in train

model = build(X, y)


 "/mnt/c/Users/Alejandro/Desktop/ai-chatbot-framework-master/app/core/sentenceClassifer.py", line 30, in build

model.fit(X, y)


 "/usr/local/lib/python3.5/dist-packages/sklearn/pipeline.py", line 165, in fit

self.steps[-1][-1].fit(Xt, y, **fit_params)


 "/usr/local/lib/python3.5/dist-packages/sklearn/multiclass.py", line 278, in fit

Y = Y.tocsc()
AttributeError: 'numpy.ndarray' object has no attribute 'tocsc'`

Traceback (most recent call last):


 "cluster.py", line 232, in <module>

main()


 "cluster.py", line 58, in main

resnet = models.resnet152(True, num_classes=4)
AttributeError: module 'models' has no attribute 'resnet152'
