Skip to content

Commit 414b1ca

Browse files
wangtzcopybara-github
authored andcommitted
Model Maker Audio: Make output for exporting labels cleaner
The tailing . slightly leads to confusion as developers are not sure iit's part of the file name. We don't have this problem for export_tflite PiperOrigin-RevId: 373807614
1 parent 8c10cc0 commit 414b1ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tensorflow_examples/lite/model_maker/core/task/classification_model.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ def _export_labels(self, label_filepath):
9898
if label_filepath is None:
9999
raise ValueError("Label filepath couldn't be None when exporting labels.")
100100

101-
tf.compat.v1.logging.info('Saving labels in %s.', label_filepath)
101+
tf.compat.v1.logging.info('Saving labels in %s', label_filepath)
102102
with tf.io.gfile.GFile(label_filepath, 'w') as f:
103103
f.write('\n'.join(self.index_to_label))
104104

0 commit comments

Comments
 (0)