Skip to content

Commit

Permalink
Fix LINT check
Browse files Browse the repository at this point in the history
  • Loading branch information
Michele Toni committed Mar 27, 2017
1 parent b5e8c4b commit a6581e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion digits/model/images/classification/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit a6581e2

Please sign in to comment.