Skip to content
This repository was archived by the owner on Aug 28, 2024. It is now read-only.
This repository was archived by the owner on Aug 28, 2024. It is now read-only.

Getting Lite Interpreter  #202

Open
Open
@JosephKKim

Description

@JosephKKim

Hello thank you for the nice work you provided.
I am currently working on a project that uses yolo on android device...
I was so happy to find out these examples but somehow, it doesn't work on my environment.
Since I am new to android, even though I have experiences in PyTorch, it is hard to fix the code..
I am keep getting the error starts with
java.lang.RuntimeException: Unable to start activity ComponentInfo{org.pytorch.demo.objectdetection/org.pytorch.demo.objectdetection.MainActivity}: com.facebook.jni.CppException: Lite Interpreter verson number does not match. The model version must be between 3 and 5But the model version is 7 () Exception raised from parseMethods at ../torch/csrc/jit/mobile/import.cpp:320 (most recent call first):

I can guess that this error is from LiteModuleLoader.. but have no idea how to fix it and the meaning of the interpreter version.
I would be glad if I get an answer thanks! :)

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