pytorch / android-demo-app

PyTorch android examples of usage in applications
1.48k stars 608 forks source link

App crashing without errors #314

Open myasser63 opened 1 year ago

myasser63 commented 1 year ago

I am using custom yolov5s model trained on my own dataset of four classes. I have converted my model to torchscript.ptl and changed mOutputRow to 33600 and mOutputColumn to 9. The app crashes without any errors on launch.

04/19 03:40:26: Launching 'app' on Pixel 6 API 30. Install successfully finished in 466 ms. $ adb shell am start -n "org.pytorch.demo.objectdetection/org.pytorch.demo.objectdetection.MainActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER Open logcat panel for emulator Pixel 6 API 30 Connected to process 6616 on device 'Pixel_6_API_30 [emulator-5554]'.