Skip to content

Commit

Permalink
Merge pull request #86 from macaodha/patch-1
Browse files Browse the repository at this point in the history
Solves indexing error in Python 2.7
  • Loading branch information
carpedm20 committed Jan 18, 2017
2 parents eef3ec4 + 8cd5480 commit 15ef89f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion model.py
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,7 @@ def load_mnist(self):
teY = np.asarray(teY)

X = np.concatenate((trX, teX), axis=0)
y = np.concatenate((trY, teY), axis=0)
y = np.concatenate((trY, teY), axis=0).astype(np.int)

seed = 547
np.random.seed(seed)
Expand Down

0 comments on commit 15ef89f

Please sign in to comment.