Closed ahmadbajwa8282 closed 1 year ago
Did you find a solution ? I have the same error with the ObjectDetection demo
@supremassi try old version of python and PyTorch
@ahmadbajwa8282 Hello. Which version of python and PyTorch versions helped you to fix the issue with Lite Interpreter version? Thank you very much in advance!
@HripsimeS , @ahmadbajwa8282
Here is what you can refer to Convert between different model versions.
`dependencies { ...
implementation 'org.pytorch:pytorch_android_lite:1.13.1'
implementation 'org.pytorch:pytorch_android_torchvision_lite:1.13.1'
}` This works for me.
Caused by: com.facebook.jni.CppException: Lite Interpreter version number does not match. The model version must be between 3 and 7 but the model version is 8 () Exception raised from parseMethods at ../torch/csrc/jit/mobile/import.cpp:317 (most recent call first): (no backtrace available)