Skip to content

Commit

Permalink
Merge pull request microsoft#39 from stonebig/patch-4
Browse files Browse the repository at this point in the history
python 3 compatibility fix
  • Loading branch information
chrisbasoglu committed Jan 28, 2016
2 parents 16b276e + ac56651 commit 1ec0584
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Examples/Image/Miscellaneous/CIFAR-10/CIFAR_convert.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def readBatch(src, outFmt):
feat[:, 1::3] = g
feat[:, 2::3] = b
else:
print 'Format not supported: ' + outFmt
print ('Format not supported: ' + outFmt)
usage()
sys.exit(1)
return np.hstack((np.reshape(d['labels'], (len(d['labels']), 1)), feat))
Expand Down

0 comments on commit 1ec0584

Please sign in to comment.