Merge pull request #39 from stonebig/patch-4
python 3 compatibility fix
This commit is contained in:
Коммит
f1106b8fcc
|
@ -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))
|
||||
|
|
Загрузка…
Ссылка в новой задаче