android-demo-app icon indicating copy to clipboard operation
android-demo-app copied to clipboard

Android: couldn't find DSO to load: libtorch-code-gen.so

Open duwangthefirst opened this issue 3 years ago • 1 comments

I'm running a custom object detection model on XiaoMi 11, and in Logcat it says "couldn't find DSO to load: libtorch-code-gen.so".

and the model runs well in other android devices like XiaoMi 11 Ultra and Huawei P40 pro.

and I'm using the following dependency:

    // PyTorch
    implementation 'org.pytorch:pytorch_android:1.8.0'
    implementation 'org.pytorch:pytorch_android_torchvision:1.8.0'

duwangthefirst avatar Jun 01 '21 09:06 duwangthefirst

Wondering the same thing, we always just ignored it.

erksch avatar Jul 21 '21 18:07 erksch