Traceback (most recent call last):



 "<ipython-input-2-78c718c47677>", line 1, in <module>

keras.backend.image_dim_ordering()

AttributeError: module 'keras.backend' has no attribute 'image_dim_ordering'

Traceback (most recent call last):


 "/Users/brandon/Library/Python/2.7/lib/python/site-packages/werkzeug/serving.py", line 306, in run_wsgi

execute(self.server.app)


 "/Users/brandon/Library/Python/2.7/lib/python/site-packages/werkzeug/serving.py", line 294, in execute

application_iter = app(environ, start_response)


 "/Users/brandon/Library/Python/2.7/lib/python/site-packages/moto/server.py", line 135, in __call__

return backend_app(environ, start_response)


 "/Users/brandon/Library/Python/2.7/lib/python/site-packages/flask/app.py", line 2309, in __call__

return self.wsgi_app(environ, start_response)


 "/Users/brandon/Library/Python/2.7/lib/python/site-packages/flask/app.py", line 2295, in wsgi_app

response = self.handle_exception(e)


 "/Users/brandon/Library/Python/2.7/lib/python/site-packages/flask_cors/extension.py", line 161, in wrapped_function

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


 "/Users/brandon/Library/Python/2.7/lib/python/site-packages/flask/app.py", line 1741, in handle_exception

reraise(exc_type, exc_value, tb)


 "/Users/brandon/Library/Python/2.7/lib/python/site-packages/flask/app.py", line 2292, in wsgi_app

response = self.full_dispatch_request()


 "/Users/brandon/Library/Python/2.7/lib/python/site-packages/flask/app.py", line 1815, in full_dispatch_request

rv = self.handle_user_exception(e)


 "/Users/brandon/Library/Python/2.7/lib/python/site-packages/flask_cors/extension.py", line 161, in wrapped_function

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


 "/Users/brandon/Library/Python/2.7/lib/python/site-packages/flask/app.py", line 1718, in handle_user_exception

reraise(exc_type, exc_value, tb)


 "/Users/brandon/Library/Python/2.7/lib/python/site-packages/flask/app.py", line 1813, in full_dispatch_request

rv = self.dispatch_request()


 "/Users/brandon/Library/Python/2.7/lib/python/site-packages/flask/app.py", line 1799, in dispatch_request

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


 "/Users/brandon/Library/Python/2.7/lib/python/site-packages/moto/core/utils.py", line 146, in __call__

result = self.callback(request, request.url, {})


 "/Users/brandon/Library/Python/2.7/lib/python/site-packages/moto/core/responses.py", line 197, in dispatch

return cls()._dispatch(*args, **kwargs)


 "/Users/brandon/Library/Python/2.7/lib/python/site-packages/moto/core/responses.py", line 295, in _dispatch

return self.call_action()


 "/Users/brandon/Library/Python/2.7/lib/python/site-packages/moto/core/responses.py", line 380, in call_action

response = method()


 "/Users/brandon/Library/Python/2.7/lib/python/site-packages/moto/cloudformation/responses.py", line 230, in list_stack_resources

resources = self.cloudformation_backend.list_stack_resources(stack_name_or_id)


 "/Users/brandon/Library/Python/2.7/lib/python/site-packages/moto/cloudformation/models.py", line 681, in list_stack_resources

return stack.stack_resources
AttributeError: 'NoneType' object has no attribute 'stack_resources'
