From 859081480fc12a94f86d68e4dfb8f06d25cf2929 Mon Sep 17 00:00:00 2001 From: Megvii Engine Team Date: Wed, 17 Nov 2021 18:28:52 +0800 Subject: [PATCH] fix(lar): fix load and run get static memory error GitOrigin-RevId: e11505f551d0c6b3381f193e9bb2668f4131d4af --- lite/load_and_run/src/options/plugin_options.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lite/load_and_run/src/options/plugin_options.cpp b/lite/load_and_run/src/options/plugin_options.cpp index c05eafb96..d30a1629c 100644 --- a/lite/load_and_run/src/options/plugin_options.cpp +++ b/lite/load_and_run/src/options/plugin_options.cpp @@ -271,7 +271,7 @@ void DebugOption::config_model_internel( getchar(); } #endif - } else if (runtime_param.stage == RunStage::AFTER_OUTSPEC_SET) { + } else if (runtime_param.stage == RunStage::BEFORE_OUTSPEC_SET) { if (enable_display_model_info) { mgb_log_warn("enable display model information"); format_and_print("Runtime Model Info", model); -- GitLab