在线服务报错
山有扶苏与乔木 发布于2020-03 浏览:1754 回复:0
0
收藏
快速回复

错误代码如下{
"error_code": 500,
"error_msg": "System error: Invoke operator load error.\nPython Call stacks: \n File \"/usr/local/lib/python3.5/site-packages/paddle/fluid/framework.py\", line 1774, in append_op\n attrs=kwargs.get(\"attrs\", None))\n File \"/usr/local/lib/python3.5/site-packages/paddle/fluid/io.py\", line 641, in load_vars\n 'file_path': os.path.join(load_dirname, new_var.name)\n File \"/usr/local/lib/python3.5/site-packages/paddle/fluid/io.py\", line 619, in load_vars\n filename=filename)\n File \"/usr/local/lib/python3.5/site-packages/paddle/fluid/io.py\", line 755, in load_persistables\n filename=filename)\n File \"/usr/local/lib/python3.5/site-packages/paddle/fluid/io.py\", line 1207, in load_inference_model\n load_persistables(executor, load_dirname, program, params_filename)\n File \"/home/work/serving/webserver/home/serving.py\", line 20, in infer\n executor=exe)\n File \"/home/work/serving/webserver/home/views.py\", line 48, in index\n out = serving.infer(json.loads(req))\n File \"/usr/local/lib/python3.5/site-packages/django/core/handlers/base.py\", line 113, in _get_response\n response = wrapped_callback(request, *callback_args, **callback_kwargs)\n File \"/usr/local/lib/python3.5/site-packages/django/core/handlers/exception.py\", line 34, in inner\n response = get_response(request)\n File \"/usr/local/lib/python3.5/site-packages/django/utils/deprecation.py\", line 94, in __call__\n response = response or self.get_response(request)\n File \"/usr/local/lib/python3.5/site-packages/django/core/handlers/exception.py\", line 34, in inner\n response = get_response(request)\n File \"/usr/local/lib/python3.5/site-packages/django/utils/deprecation.py\", line 94, in __call__\n response = response or self.get_response(request)\n File \"/usr/local/lib/python3.5/site-packages/django/core/handlers/exception.py\", line 34, in inner\n response = get_response(request)\n File \"/usr/local/lib/python3.5/site-packages/django/utils/deprecation.py\", line 94, in __call__\n response = response or self.get_response(request)\n File \"/usr/local/lib/python3.5/site-packages/django/core/handlers/exception.py\", line 34, in inner\n response = get_response(request)\n File \"/usr/local/lib/python3.5/site-packages/django/utils/deprecation.py\", line 94, in __call__\n response = response or self.get_response(request)\n File \"/usr/local/lib/python3.5/site-packages/django/core/handlers/exception.py\", line 34, in inner\n response = get_response(request)\n File \"/usr/local/lib/python3.5/site-packages/django/utils/deprecation.py\", line 94, in __call__\n response = response or self.get_response(request)\n File \"/usr/local/lib/python3.5/site-packages/django/core/handlers/exception.py\", line 34, in inner\n response = get_response(request)\n File \"/usr/local/lib/python3.5/site-packages/django/utils/deprecation.py\", line 94, in __call__\n response = response or self.get_response(request)\n File \"/usr/local/lib/python3.5/site-packages/django/core/handlers/exception.py\", line 34, in inner\n response = get_response(request)\n File \"/usr/local/lib/python3.5/site-packages/django/core/handlers/base.py\", line 75, in get_response\n response = self._middleware_chain(request)\n File \"/usr/local/lib/python3.5/site-packages/django/core/handlers/wsgi.py\", line 141, in __call__\n response = self.get_response(request)\n File \"/usr/local/lib/python3.5/site-packages/django/contrib/staticfiles/handlers.py\", line 65, in __call__\n return self.application(environ, start_response)\n File \"/usr/local/lib/python3.5/wsgiref/handlers.py\", line 137, in run\n self.result = application(self.environ, self.start_response)\n File \"/usr/local/lib/python3.5/site-packages/django/core/servers/basehttp.py\", line 194, in handle_one_request\n handler.run(self.server.get_app())\n File \"/usr/local/lib/python3.5/site-packages/django/core/servers/basehttp.py\", line 171, in handle\n self.handle_one_request()\n File \"/usr/local/lib/python3.5/socketserver.py\", line 681, in __init__\n self.handle()\n File \"/usr/local/lib/python3.5/socketserver.py\", line 354, in finish_request\n self.RequestHandlerClass(request, client_address, self)\n File \"/usr/local/lib/python3.5/socketserver.py\", line 625, in process_request_thread\n self.finish_request(request, client_address)\n File \"/usr/local/lib/python3.5/threading.py\", line 862, in run\n self._target(*self._args, **self._kwargs)\n File \"/usr/local/lib/python3.5/threading.py\", line 914, in _bootstrap_inner\n self.run()\n File \"/usr/local/lib/python3.5/threading.py\", line 882, in _bootstrap\n self._bootstrap_inner()\nC++ Call stacks: \nCannot open file /home/work/serving/webserver/model/model/vehicle/vehicle_yolov3_darknet/stage.2.7.1.bn.mean for load op at [/paddle/paddle/fluid/operators/load_op.h:37]\nPaddlePaddle Call Stacks: \n0 0x7f260b9fd260p void paddle::platform::EnforceNotMet::Init(char const*, char const*, int) + 352\n1 0x7f260b9fd5d9p paddle::platform::EnforceNotMet::EnforceNotMet(std::__exception_ptr::exception_ptr, char const*, int) + 137\n2 0x7f260c11a4c6p paddle::operators::LoadOpKernel::Compute(paddle::framework::ExecutionContext const&) const + 774\n3 0x7f260c11a733p std::_Function_handler, paddle::operators::LoadOpKernel, paddle::operators::LoadOpKernel, paddle::operators::LoadOpKernel, paddle::operators::LoadOpKernel >::operator()(char const*, char const*, int) const::{lambda(paddle::framework::ExecutionContext const&)#1}>::_M_invoke(std::_Any_data const&, paddle::framework::ExecutionContext const&) + 35\n4 0x7f260cd5aad7p paddle::framework::OperatorWithKernel::RunImpl(paddle::framework::Scope const&, boost::variant const&, paddle::framework::RuntimeContext*) const + 375\n5 0x7f260cd5b241p paddle::framework::OperatorWithKernel::RunImpl(paddle::framework::Scope const&, boost::variant const&) const + 529\n6 0x7f260cd561e4p paddle::framework::OperatorBase::Run(paddle::framework::Scope const&, boost::variant const&) + 260\n7 0x7f260bb7d11ep paddle::framework::Executor::RunPreparedContext(paddle::framework::ExecutorPrepareContext*, paddle::framework::Scope*, bool, bool, bool) + 206\n8 0x7f260bb801afp paddle::framework::Executor::Run(paddle::framework::ProgramDesc const&, paddle::framework::Scope*, int, bool, bool, std::vector > const&, bool) + 143\n9 0x7f260b9efa3dp\n10 0x7f260ba2cc26p\n11 0x7f26723bcf96p PyCFunction_Call + 118\n12 0x7f26723fe29dp PyEval_EvalFrameEx + 19613\n13 0x7f26723fe04ap PyEval_EvalFrameEx + 19018\n14 0x7f26723fe04ap PyEval_EvalFrameEx + 19018\n15 0x7f26723fe04ap PyEval_EvalFrameEx + 19018\n16 0x7f26723fe04ap PyEval_EvalFrameEx + 19018\n17 0x7f26723fe04ap PyEval_EvalFrameEx + 19018\n18 0x7f26723feadcp PyEval_EvalFrameEx + 21724\n19 0x7f26723f9d27p PyEval_EvalFrameEx + 1831\n20 0x7f26723f8d10p PyEval_EvalCodeEx + 768\n21 0x7f26723a1977p\n22 0x7f267238a543p PyObject_Call + 67\n23 0x7f26723fc03dp PyEval_EvalFrameEx + 10813\n24 0x7f26723f9d27p PyEval_EvalFrameEx + 1831\n25 0x7f26723feadcp PyEval_EvalFrameEx + 21724\n26 0x7f26723f8d10p PyEval_EvalCodeEx + 768\n27 0x7f26723a17c3p\n28 0x7f267238a543p PyObject_Call + 67\n29 0x7f267239938ep\n30 0x7f267238a543p PyObject_Call + 67\n31 0x7f26724506a0p\n32 0x7f267238a543p PyObject_Call + 67\n33 0x7f26723fdbe4p PyEval_EvalFrameEx + 17892\n34 0x7f26723feadcp PyEval_EvalFrameEx + 21724\n35 0x7f26723f8d10p PyEval_EvalCodeEx + 768\n36 0x7f26723a17c3p\n37 0x7f267238a543p PyObject_Call + 67\n38 0x7f267239938ep\n39 0x7f267238a543p PyObject_Call + 67\n40 0x7f26724506a0p\n41 0x7f267238a543p PyObject_Call + 67\n42 0x7f26723fdbe4p PyEval_EvalFrameEx + 17892\n43 0x7f26723feadcp PyEval_EvalFrameEx + 21724\n44 0x7f26723f8d10p PyEval_EvalCodeEx + 768\n45 0x7f26723a17c3p\n46 0x7f267238a543p PyObject_Call + 67\n47 0x7f267239938ep\n48 0x7f267238a543p PyObject_Call + 67\n49 0x7f26724506a0p\n50 0x7f267238a543p PyObject_Call + 67\n51 0x7f26723fdbe4p PyEval_EvalFrameEx + 17892\n52 0x7f26723feadcp PyEval_EvalFrameEx + 21724\n53 0x7f26723f8d10p PyEval_EvalCodeEx + 768\n54 0x7f26723a17c3p\n55 0x7f267238a543p PyObject_Call + 67\n56 0x7f267239938ep\n57 0x7f267238a543p PyObject_Call + 67\n58 0x7f26724506a0p\n59 0x7f267238a543p PyObject_Call + 67\n60 0x7f26723fdbe4p PyEval_EvalFrameEx + 17892\n61 0x7f26723feadcp PyEval_EvalFrameEx + 21724\n62 0x7f26723f8d10p PyEval_EvalCodeEx + 768\n63 0x7f26723a17c3p\n64 0x7f267238a543p PyObject_Call + 67\n65 0x7f267239938ep\n66 0x7f267238a543p PyObject_Call + 67\n67 0x7f26724506a0p\n68 0x7f267238a543p PyObject_Call + 67\n69 0x7f26723fdbe4p PyEval_EvalFrameEx + 17892\n70 0x7f26723feadcp PyEval_EvalFrameEx + 21724\n71 0x7f26723f8d10p PyEval_EvalCodeEx + 768\n72 0x7f26723a17c3p\n73 0x7f267238a543p PyObject_Call + 67\n74 0x7f267239938ep\n75 0x7f267238a543p PyObject_Call + 67\n76 0x7f26724506a0p\n77 0x7f267238a543p PyObject_Call + 67\n78 0x7f26723fdbe4p PyEval_EvalFrameEx + 17892\n79 0x7f26723feadcp PyEval_EvalFrameEx + 21724\n80 0x7f26723f9d27p PyEval_EvalFrameEx + 1831\n81 0x7f26723f8d10p PyEval_EvalCodeEx + 768\n82 0x7f26723a17c3p\n83 0x7f267238a543p PyObject_Call + 67\n84 0x7f267239938ep\n85 0x7f267238a543p PyObject_Call + 67\n86 0x7f26724506a0p\n87 0x7f267238a543p PyObject_Call + 67\n88 0x7f26723fdbe4p PyEval_EvalFrameEx + 17892\n89 0x7f26723f9031p PyEval_EvalCodeEx + 1569\n90 0x7f26723a17c3p\n91 0x7f267238a543p PyObject_Call + 67\n92 0x7f267239938ep\n93 0x7f267238a543p PyObject_Call + 67\n94 0x7f26724506a0p\n95 0x7f267238a543p PyObject_Call + 67\n96 0x7f26723fdbe4p PyEval_EvalFrameEx + 17892\n97 0x7f26723f9d27p PyEval_EvalFrameEx + 1831\n98 0x7f26723f9d27p PyEval_EvalFrameEx + 1831\n99 0x7f26723f9d27p PyEval_EvalFrameEx + 1831\n"
}

收藏
点赞
0
个赞
TOP
切换版块