File based header detection, collate_per_PC training.

This commit is contained in:
Si11ium
2019-08-01 14:16:50 +02:00
parent 47a76dc978
commit a9bf053794
3 changed files with 77 additions and 75 deletions

View File

@ -48,7 +48,7 @@ def label2color(labels):
minl, maxl = np.min(labels), np.max(labels)
for l in range(minl, maxl + 1):
colors[labels==l, :] = mini_color_table(l)
colors[labels == l, :] = mini_color_table(l)
return colors