Skip to content

Faced some issue while calling performInference for mobileBert on Android #205

@Nittur

Description

@Nittur

Abort message: 'terminating due to uncaught exception of type Ort::Exception: Non-zero status code returned while running Gather node. Name:'/model/mobilebert/embeddings/token_type_embeddings/Gather' Status Message: indices element out of data bounds, idx=98784247808 must be within the inclusive range [-2,1]'

Can someone help me understand what it means and where i might have gone wrong? I have rechecked the token input which im giving, it has worked in the PC side for the same onnx models.

Also is it possible to train mobilebert model on android? If anyone has tried this...please provide method used.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions