CreateModel failed with error code 12288

I have downloaded deepspeech model from
tar xvfz deepspeech-0.5.1-models.tar.gz

On checking the version of deepspeech downloaded; deepspeech - v0.6.0-alpha.5-0-g5fa6d23 ; tensorflow - v1.14.0-14-g1aad02a78e

On running the predict function i am getting an error- CreateModel failed with error code 12288.

Using the following parameters -

Where am i going wrong?

1 Like

Welcome to the forums @adesara.amit :slightly_smiling_face:

I could be wrong (what you’ve written about what you’ve done isn’t totally clear to me) but it looks like you installed from master. You’d need to install from the checkpoint for the last full release (ie 0.5.1) if you want to use the pre-trained model (which only exists for 0.5.1 and before)

1 Like


I am new to deepspeech hence the issues. followed the below process to install

a) pip install deepspeech
b) wget
tar xvfz deepspeech-0.5.1-models.tar.gz

Is it the right process? How do i install from checkpoint?

Thanks in advance

You need deepspeech 0.5.1 instead of 0.6.0-alphaxxx

Iam also facing the same issue…

@adesara.amit I would suggest you to check the 2 file path paramaters in the Model() Function.

When I updated the code from
ds = Model('deepspeech-0.5.1-models/output_graph.pbmm', N_FEATURES, N_CONTEXT, 'deepspeech-0.5.1-models/alphabet.txt', BEAM_WIDTH)

ds = Model('deepspeech-0.5.1-models/deepspeech-0.5.1-models/output_graph.pbmm', N_FEATURES, N_CONTEXT, 'deepspeech-0.5.1-models/deepspeech-0.5.1-models/alphabet.txt', BEAM_WIDTH)

It worked.