You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to load G2PModel instance which is to be shared by other applications (e.g. an HTTP server). When I tried to use the model.decode_word, it says res_iter is not in the model. Until I manually run interactive() or run the private method._G2PModel__prepare_interactive_model() could everything be initialized. Then run the decode_word for the first time. After that, each word decode is lightning fast.
What's the clean way of getting everything initialized and use the model to decode_word from the application?
The text was updated successfully, but these errors were encountered:
Hi,
I am trying to load G2PModel instance which is to be shared by other applications (e.g. an HTTP server). When I tried to use the model.decode_word, it says res_iter is not in the model. Until I manually run interactive() or run the private method._G2PModel__prepare_interactive_model() could everything be initialized. Then run the decode_word for the first time. After that, each word decode is lightning fast.
What's the clean way of getting everything initialized and use the model to decode_word from the application?
The text was updated successfully, but these errors were encountered: