From 8ced324465f7dd14840dfb2b8fc390c1872246f9 Mon Sep 17 00:00:00 2001 From: "Matthew D. Scholefield" Date: Fri, 23 Feb 2018 15:23:20 -0600 Subject: [PATCH] Rename Tensorflow to TensorFlow --- precise/network_runner.py | 4 ++-- precise/scripts/record.py | 2 +- precise/scripts/stream.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/precise/network_runner.py b/precise/network_runner.py index 748746f..ce4bb41 100644 --- a/precise/network_runner.py +++ b/precise/network_runner.py @@ -22,7 +22,7 @@ class Runner(metaclass=ABCMeta): pass -class TensorflowRunner(Runner): +class TensorFlowRunner(Runner): def __init__(self, model_name: str): if model_name.endswith('.net'): print('Warning: ', model_name, 'looks like a Keras model.') @@ -83,7 +83,7 @@ class Listener: def find_runner(model_name: str) -> Type[Runner]: runners = { '.net': KerasRunner, - '.pb': TensorflowRunner + '.pb': TensorFlowRunner } ext = splitext(model_name)[-1] if ext not in runners: diff --git a/precise/scripts/record.py b/precise/scripts/record.py index 8a6f45c..30937f8 100755 --- a/precise/scripts/record.py +++ b/precise/scripts/record.py @@ -17,7 +17,7 @@ usage = ''' Run a model on microphone audio input :model str - Either Keras (.net) or Tensorflow (.pb) model to run + Either Keras (.net) or TensorFlow (.pb) model to run :-c --chunk-size int 2048 Samples between inferences diff --git a/precise/scripts/stream.py b/precise/scripts/stream.py index 92db11a..fda1c5b 100755 --- a/precise/scripts/stream.py +++ b/precise/scripts/stream.py @@ -15,7 +15,7 @@ usage = ''' will be given via stdout as a float string, one per line :model_name str - Keras or Tensorflow model to read from + Keras or TensorFlow model to read from ... '''