Hello, I use the objectdetection app to run normally. There are some new requirements. The. Pt file is relatively large. I don't want to include it in the app, but want to load it directly from the local.
I use Android Python version 1.8. I found that the pytorch_android class in his jar package does not implement the method of loading locally, but the nativepeer class contains
NativePeer(String moduleAbsolutePath, Device device) {}
My idea is to write a method in pytorch_android and call the above function.
However, I failed to replace the jar package's class with the local pytorchandroid. Class. It will always be restored. If I delete it locally, it will still be downloaded. I don't know what I should do now.thanks
Hello, I use the objectdetection app to run normally. There are some new requirements. The. Pt file is relatively large. I don't want to include it in the app, but want to load it directly from the local. I use Android Python version 1.8. I found that the pytorch_android class in his jar package does not implement the method of loading locally, but the nativepeer class contains NativePeer(String moduleAbsolutePath, Device device) {} My idea is to write a method in pytorch_android and call the above function. However, I failed to replace the jar package's class with the local pytorchandroid. Class. It will always be restored. If I delete it locally, it will still be downloaded. I don't know what I should do now.thanks