How does OV handle state in RNN-like layers? Is every recurrent model stateful by default? #18673
GustawOhler
started this conversation in
General
Replies: 1 comment
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I converted my tensorflow model to OV like this:
And then inference like this:
It got me different results than original TF model. But when I put
infer_request = compiled_model.create_infer_request()
in main loop then everything seems fine. But I can't tackle where is the difference, especially that I'm resetting query state. And when I executeinfer_request.query_state()
it returns with empty array.When I tried to get input data to search for some state tensors I got only errors saying that there's only 1 tensor (the one that I supplied).
My model is LSTM layers on top of EfficientNetV2B0 so on top of bunch of convolutional layers.
Beta Was this translation helpful? Give feedback.
All reactions