提交 0c098a8c 编写于 作者: M Megvii Engine Team

fix(lite/lar): fix input data parse for lar

GitOrigin-RevId: 68abab80ff23b188a37efe3814bda4addbef5a4a
上级 2696e4ef
......@@ -69,7 +69,7 @@ template <>
void InputOption::config_model_internel<ModelMdl>(
RuntimeParam& runtime_param, std::shared_ptr<ModelMdl> model) {
if (runtime_param.stage == RunStage::BEFORE_MODEL_LOAD) {
auto parser = model->get_input_parser();
auto&& parser = model->get_input_parser();
for (size_t idx = 0; idx < data_path.size(); ++idx) {
parser.feed(data_path[idx].c_str());
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册