cancel
Showing results for 
Search instead for 
Did you mean: 

What do i need to do to be able to use a RNN that uses a .pkl vocab/mapping?

lyannen
Associate II

Hello,

im currently working on utilizing a Keras RNN (seq2seq model) on the STM32N6570-DK to generate text from a certain input.
The inference of the .h5 model on my laptop works with a .pkl file that has mapping of the input to the output. When converting the model to tflite the .pkl isnt included.

So my question ist, what do i need to do, to convert the .pkl mappings to make use of it when im doing the inference of the model with the generated C-Code from stedgeai?

I wasnt able to find a lot of information on this topic so far, so im thankful, if anyone would be able to help me in this case!

Kind regards!

0 REPLIES 0