You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
使用c++来预测,依赖baidu/paddlepaddle/paddle@v1.4.1_pb32@git_branch
模型是基于1.5.0的gpu版本训练的
加载模型时出core,错误信息为:
I0909 13:19:23.993065 19076 analysis_predictor.cc:152] load parameters
terminate called after throwing an instance of 'paddle::platform::EnforceNotMet'
what(): Cannot get attribute height_sections by type std::vector<int, std::allocator >, its type is std::vector<long, std::allocator > at [baidu/paddlepaddle/paddle/paddle/fluid/framework/attribute.h:42]
具体栈信息如下。 #9 0x000000000130a0c3 in paddle::framework::OpRegistry::CreateOp(paddle::framework::OpDesc const&) () #10 0x00000000012fa06d in paddle::framework::NaiveExecutor::CreateOps(paddle::framework::ProgramDesc const&, int, bool) () #11 0x00000000012faa9b in paddle::framework::NaiveExecutor::Prepare(paddle::framework::Scope*, paddle::framework::ProgramDesc const&, int, bool) ()
---Type to continue, or q to quit--- #12 0x00000000006db41a in paddle::AnalysisPredictor::PrepareExecutor() () #13 0x00000000006e2785 in paddle::AnalysisPredictor::Init(std::shared_ptrpaddle::framework::Scope const&, std::shared_ptrpaddle::framework::ProgramDesc const&) () #14 0x00000000006e2bf7 in std::unique_ptr<paddle::PaddlePredictor, std::default_deletepaddle::PaddlePredictor > paddle::CreatePaddlePredictor<paddle::AnalysisConfig, (paddle::PaddleEngineKind)2>(paddle::AnalysisConfig const&) () #15 0x00000000006e3811 in std::unique_ptr<paddle::PaddlePredictor, std::default_deletepaddle::PaddlePredictor > paddle::CreatePaddlePredictorpaddle::AnalysisConfig(paddle::AnalysisConfig const&) ()
The text was updated successfully, but these errors were encountered:
使用c++来预测,依赖baidu/paddlepaddle/paddle@v1.4.1_pb32@git_branch
模型是基于1.5.0的gpu版本训练的
加载模型时出core,错误信息为:
I0909 13:19:23.993065 19076 analysis_predictor.cc:152] load parameters
terminate called after throwing an instance of 'paddle::platform::EnforceNotMet'
what(): Cannot get attribute height_sections by type std::vector<int, std::allocator >, its type is std::vector<long, std::allocator > at [baidu/paddlepaddle/paddle/paddle/fluid/framework/attribute.h:42]
具体栈信息如下。
#9 0x000000000130a0c3 in paddle::framework::OpRegistry::CreateOp(paddle::framework::OpDesc const&) ()
#10 0x00000000012fa06d in paddle::framework::NaiveExecutor::CreateOps(paddle::framework::ProgramDesc const&, int, bool) ()
#11 0x00000000012faa9b in paddle::framework::NaiveExecutor::Prepare(paddle::framework::Scope*, paddle::framework::ProgramDesc const&, int, bool) ()
---Type to continue, or q to quit---
#12 0x00000000006db41a in paddle::AnalysisPredictor::PrepareExecutor() ()
#13 0x00000000006e2785 in paddle::AnalysisPredictor::Init(std::shared_ptrpaddle::framework::Scope const&, std::shared_ptrpaddle::framework::ProgramDesc const&) ()
#14 0x00000000006e2bf7 in std::unique_ptr<paddle::PaddlePredictor, std::default_deletepaddle::PaddlePredictor > paddle::CreatePaddlePredictor<paddle::AnalysisConfig, (paddle::PaddleEngineKind)2>(paddle::AnalysisConfig const&) ()
#15 0x00000000006e3811 in std::unique_ptr<paddle::PaddlePredictor, std::default_deletepaddle::PaddlePredictor > paddle::CreatePaddlePredictorpaddle::AnalysisConfig(paddle::AnalysisConfig const&) ()
The text was updated successfully, but these errors were encountered: