diff --git a/tutorials/source_en/advanced_use/model_security.md b/tutorials/source_en/advanced_use/model_security.md index 0b4990aace93c35300d1726b516c767480dec688..3a3d38edfed823891cfdd09fc4136722861f0368 100644 --- a/tutorials/source_en/advanced_use/model_security.md +++ b/tutorials/source_en/advanced_use/model_security.md @@ -64,6 +64,7 @@ from mindarmour.evaluations.attack_evaluation import AttackEvaluate context.set_context(mode=context.GRAPH_MODE, device_target="Ascend") LOGGER = LogUtil.get_instance() +LOGGER.set_level(1) TAG = 'demo' ``` diff --git a/tutorials/source_zh_cn/advanced_use/model_security.md b/tutorials/source_zh_cn/advanced_use/model_security.md index 5a0f3a01a63079d92a416b46b0b612dd7ed99287..d77b577bcfc773e048a623885fb91b00f8511be3 100644 --- a/tutorials/source_zh_cn/advanced_use/model_security.md +++ b/tutorials/source_zh_cn/advanced_use/model_security.md @@ -66,6 +66,7 @@ from mindarmour.evaluations.attack_evaluation import AttackEvaluate context.set_context(mode=context.GRAPH_MODE, device_target="Ascend") LOGGER = LogUtil.get_instance() +LOGGER.set_level(1) TAG = 'demo' ```