diff --git a/templates/repo/cloudbrain/benchmark/index.tmpl b/templates/repo/cloudbrain/benchmark/index.tmpl index 69a8167ef..9133bc2a5 100755 --- a/templates/repo/cloudbrain/benchmark/index.tmpl +++ b/templates/repo/cloudbrain/benchmark/index.tmpl @@ -114,7 +114,7 @@
- + {{.Status}}
diff --git a/templates/repo/modelsafety/indicators_descr.tmpl b/templates/repo/modelsafety/indicators_descr.tmpl index 3b6f7ff48..ac9b934a8 100644 --- a/templates/repo/modelsafety/indicators_descr.tmpl +++ b/templates/repo/modelsafety/indicators_descr.tmpl @@ -11,35 +11,35 @@ ACC - Accuracy,精确度,计算模型预测准确率,该指标越高,说明评测结果越好。 + Accuracy:精确度,计算模型预测准确率,该指标越高,说明评测结果越好。 CAV - Classification Accuracy Variance,用于评估深度学习模型性能的最重要指标为准确性。该指标值越高,说明评测结果越好。 + Classification Accuracy Variance:用于评估深度学习模型性能的最重要指标为准确性。该指标值越高,说明评测结果越好。 ASS - Average Structural Similarity,所有攻击成功对抗样本与其原始样本间的平均相似性。该指标越大,说明评测结果越好。 + Average Structural Similarity:所有攻击成功对抗样本与其原始样本间的平均相似性。该指标越大,说明评测结果越好。 ALDp - Average LpDistortion,为所有攻击成功的对抗样本的平均归一化Lp失真度,ALDp值越小,对抗样本的不可感知性越强。 + Average LpDistortion:为所有攻击成功的对抗样本的平均归一化Lp失真度,ALDp值越小,对抗样本的不可感知性越强。 ACAC - Average Confidence of Adversarial Class(ACAC)这个数值越高,攻击算法的攻击能力越强。 + Average Confidence of Adversarial Class(ACAC):这个数值越高,攻击算法的攻击能力越强。 ACTC - Average Confidence of True Class(ACTC) 这个数值越低,攻击算法的攻击能力越强。 + Average Confidence of True Class(ACTC):这个数值越低,攻击算法的攻击能力越强。 PSD - Perturbation Sensitivity Distance,用于评测人类对扰动的感知能力。该指标值越大,说明评测结果越差。 + Perturbation Sensitivity Distance:用于评测人类对扰动的感知能力。该指标值越大,说明评测结果越差。 CACC - Clean ACC该值计算的是原始未被攻击的样本,使用模型和groundtruth相比较的模型的本身的一个。 + Clean ACC:该值计算的是原始未被攻击的样本,使用模型和groundtruth相比较的模型的本身的一个。 diff --git a/templates/repo/modelsafety/show.tmpl b/templates/repo/modelsafety/show.tmpl index 50661c387..46fe2e225 100644 --- a/templates/repo/modelsafety/show.tmpl +++ b/templates/repo/modelsafety/show.tmpl @@ -499,53 +499,60 @@ -
-
-
-
-
-
ACC-fgsm_cifar10_1000
-
Accuracy: 精确度,计算模型预测精准率,该指标越高,说明评测结果越好。
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ACCparams1params2params3params4params5params6params7
非定向100100100100100100100
定向100100100100100100100
-
-
- -
+
+ +
+ {{template "repo/modelsafety/indicators_descr".}}
+
@@ -593,41 +600,7 @@ })(); - + \ No newline at end of file diff --git a/web_src/js/index.js b/web_src/js/index.js index b796d020a..9a1f04296 100755 --- a/web_src/js/index.js +++ b/web_src/js/index.js @@ -65,6 +65,7 @@ const { AppSubUrl, StaticUrlPrefix, csrf } = window.config; Object.defineProperty(Vue.prototype, "$echarts", { value: echarts, }); +window.echarts = echarts; function htmlEncode(text) { return jQuery("
").text(text).html();