android-demo-app
android-demo-app copied to clipboard
Android: couldn't find DSO to load: libtorch-code-gen.so
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'
Wondering the same thing, we always just ignored it.