summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools/cnn_v2_test/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/cnn_v2_test/index.html b/tools/cnn_v2_test/index.html
index dd1e42b..622eecc 100644
--- a/tools/cnn_v2_test/index.html
+++ b/tools/cnn_v2_test/index.html
@@ -1884,7 +1884,7 @@ class CNNTester {
const url = URL.createObjectURL(blob);
const a = document.createElement('a');
a.href = url;
- a.download = `composited_layer${this.currentLayerIdx}_${compositedWidth}x${height}.png`;
+ a.download = `composited_layer${this.currentLayerIdx - 1}_${compositedWidth}x${height}.png`;
a.click();
URL.revokeObjectURL(url);