android-demo-app
android-demo-app copied to clipboard
PyTorch android examples of usage in applications
@romovpa @kostmo @smacke @kit1980 Hello. I use the following export file to convert **pt** to **torchscript.ptl** https://github.com/ultralytics/yolov5/blob/master/export.py python export.py --weights yolov5s.pt --include torchscript And while I am launch the object...
ImageSegmentation does not completely remove the background. Is there another library available
For the example, https://github.com/pytorch/android-demo-app/tree/master/HelloWorldApp When I updated the dependencies in the build.gradle from 1.9.0 to 1.12.2. The output of the model is wrong. replace: implementation 'org.pytorch:pytorch_android_lite:1.9.0' implementation 'org.pytorch:pytorch_android_torchvision:1.9.0' with: implementation...
I was installing the QuestionAnswering app, after downloading the qa360_quantized.ptl, and running the app in my Android Studio, i get this error : E/AndroidRuntime: FATAL EXCEPTION: Thread-2 Process: org.pytorch.demo.questionanswering, PID:...
/AndroidRuntime: FATAL EXCEPTION: Thread-2 Process: org.pytorch.demo.objectdetection, PID: 15227 java.lang.IllegalStateException: Expected IValue type Tuple, actual type Tensor at org.pytorch.IValue.preconditionType(IValue.java:332) at org.pytorch.IValue.toTuple(IValue.java:313) in yolov5 it works fine problem is in yolov8 how...
Hello, I am trying to follow this guide but the model is loading but upon passing image to tis forward function, it gives the error in the following image. I...