Skip to content

Commit 44fda8a

Browse files
authored
Merge pull request #1 from rrlyman/PML-edit
Pml edit
2 parents e914d92 + 74d3874 commit 44fda8a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

q1_database_statistics.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
ds = ocr_utils.read_data(input_filters_dict=fd, output_feature_list=['m_label','image'] , dtype=np.int32)
4141
y,X = ds.train.features
4242
X2D = np.reshape(X, (X.shape[0], ds.train.num_rows, ds.train.num_columns ))
43-
title = '{}: {}'.format(font,fontVariant)
43+
title = '{}-{}'.format(font[0],fontVariant)
4444
ocr_utils.show_examples(X2D, y, title=title)
4545

4646
print ('unique fonts={}, fontVariants={}, labels = {}, strengths = {}, italics = {}, orientations = {}'.format(len(unique_fonts), len(unique_fontVariants),
@@ -49,4 +49,4 @@
4949

5050

5151
print ('\n########################### No Errors ####################################')
52-
52+

0 commit comments

Comments
 (0)