Description
I'm trying to run the edge SAM encoder and decoder ONNXmodels on react native runtime.
The models that I got from the repo where opset 11, so I updated it to opset 13.
I tried to load it using react native runtime, but I get the error: cannot resolve operator 'Erf' with opsets: ai.onnx v13.
I believe it is because Erf is not supported by the runtime.
I've generated an ort from the encoder and decoder files and a config file with required operators.
I understand from the documentation that I have to custom build a react native runtime using the required_operators config file.
But I cannot find any documentation in the build from source section.
Any help is appreciated. Please correct me if any of the assumptions are wrong. Thanks.
Model: edge SAM here
react-native-runtime version: 0.17.0
opset versions: Tried 13 and 15