Rename Tensorflow to TensorFlow
parent
f9c5dafd54
commit
8ced324465
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
...
|
||||
'''
|
||||
|
|
Loading…
Reference in New Issue