From 7b7c11c4658d5c16c16e1834973bd2d1c346ad44 Mon Sep 17 00:00:00 2001 From: JacoCronje Date: Wed, 14 Jun 2017 12:05:43 +0200 Subject: [PATCH] Remove sorting of keys which caused a mismatch in colors with multi class detection networks. --- digits/extensions/view/boundingBox/app_begin_template.html | 1 - 1 file changed, 1 deletion(-) diff --git a/digits/extensions/view/boundingBox/app_begin_template.html b/digits/extensions/view/boundingBox/app_begin_template.html index c59ef717e..991e44335 100644 --- a/digits/extensions/view/boundingBox/app_begin_template.html +++ b/digits/extensions/view/boundingBox/app_begin_template.html @@ -173,7 +173,6 @@ // draw the bounding boxes var keys = Object.keys(bboxes); - keys.sort(); for (var k = 0; k < keys.length; k++) { var color = $scope.get_color(k); for (var i = 0; i < bboxes[keys[k]].length; i++) {