提交 f340ea34 编写于 作者: Z ZhidanLiu

modify tutorial of model security

上级 0bf53160
...@@ -64,6 +64,7 @@ from mindarmour.evaluations.attack_evaluation import AttackEvaluate ...@@ -64,6 +64,7 @@ from mindarmour.evaluations.attack_evaluation import AttackEvaluate
context.set_context(mode=context.GRAPH_MODE, device_target="Ascend") context.set_context(mode=context.GRAPH_MODE, device_target="Ascend")
LOGGER = LogUtil.get_instance() LOGGER = LogUtil.get_instance()
LOGGER.set_level(1)
TAG = 'demo' TAG = 'demo'
``` ```
......
...@@ -66,6 +66,7 @@ from mindarmour.evaluations.attack_evaluation import AttackEvaluate ...@@ -66,6 +66,7 @@ from mindarmour.evaluations.attack_evaluation import AttackEvaluate
context.set_context(mode=context.GRAPH_MODE, device_target="Ascend") context.set_context(mode=context.GRAPH_MODE, device_target="Ascend")
LOGGER = LogUtil.get_instance() LOGGER = LogUtil.get_instance()
LOGGER.set_level(1)
TAG = 'demo' TAG = 'demo'
``` ```
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册