I am having an issue with implementing the pre-trained model using jupyter (I am using this because I am more familiar with it’s interface). Currently on Tensorflow 2.0, Windows 7.
The error is as listed:
TypeError Traceback (most recent call last)
in
25
26 # Load the acoustic model
—> 27 ds = Model(MODEL_GRAPH, N_FEATURES, N_CONTEXT, LM_ALPHABET, BEAM_WIDTH)
28 print(‘Loaded model’)
29
~\Documents\Anaconda\lib\site-packages\deepspeech_init_.py in init(self, *args, **kwargs)
41 self._impl = None
42
—> 43 status, impl = deepspeech.impl.CreateModel(*args, **kwargs)
44 if status != 0:
45 raise RuntimeError(“CreateModel failed with error code {}”.format(status))
TypeError: CreateModel() takes at most 3 arguments (5 given)
The goal of this is to make a workable inference application with a GUI.
I am still new to all of this so if there is a better way of implementing deepspeech on raspberry pi please free feel to tell me.