Skip to content
Discussion options

You must be logged in to vote

Hi Yogesh,

Error code 18 means that model received incorrect input. Usually this means that shape or type of the tensor thar goes to the model is different than what model expects. I suggest to use getInputShape for forward method from ExecutorchModule and check if you provide the correct input shape, check here: https://docs.swmansion.com/react-native-executorch/docs/typescript-api/executorch-bindings/ExecutorchModule.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by IgorSwat
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants