From a6581e2c9df423287dea3dfd52f2b05206f8a6da Mon Sep 17 00:00:00 2001 From: Michele Toni Date: Mon, 27 Mar 2017 16:54:55 +0200 Subject: [PATCH] Fix LINT check --- digits/model/images/classification/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/digits/model/images/classification/views.py b/digits/model/images/classification/views.py index 96b9444e6..3a8f0a4d1 100644 --- a/digits/model/images/classification/views.py +++ b/digits/model/images/classification/views.py @@ -532,7 +532,7 @@ def classify_many(): # force correct 2D shape squeezing scores for i in reversed(range(2, len(scores.shape))): if scores.shape[i] == 1: - scores = np.squeeze(scores, axis=(i,)) + scores = np.squeeze(scores, axis=(i,)) # take top 5 indices = (-scores).argsort()[:, :5]