wenet icon indicating copy to clipboard operation
wenet copied to clipboard

terminating with uncaught exception of type c10::Error: Method 'subsampling_rate' is not defined (Android app)

Open deepak-kumar-iitk opened this issue 3 years ago • 5 comments

Describe the bug

2021-12-24 13:38:53.131 17956-17956/com.mobvoi.wenet E/cpuinfo: chipset detection failed: could not disambiguate different chipsets reported in different system properties 2021-12-24 13:38:54.651 17956-17956/com.mobvoi.wenet E/libc++abi: terminating with uncaught exception of type c10::Error: Method 'subsampling_rate' is not defined. Exception raised from get_method at /Users/xyz/gitlab/wenet/runtime/device/android/wenet/app/src/main/cpp/../../../build/pytorch_android-1.10.0.aar/headers/torch/csrc/jit/api/object.h:105 (most recent call first): (no backtrace available) 2021-12-24 13:38:54.653 17956-17956/com.mobvoi.wenet A/libc: Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 17956 (om.mobvoi.wenet), pid 17956 (om.mobvoi.wenet)

To Reproduce Steps to reproduce the behavior:

  1. Build model apk in debug model and install on android
  2. Not able to open app and in logcat getting above issue.

deepak-kumar-iitk avatar Dec 24 '21 09:12 deepak-kumar-iitk

Which pretrained model you used?

pengzhendong avatar Dec 24 '21 09:12 pengzhendong

Similar error on my side , When I run app on my redmi note 7 pro it works fine , but when I try to run same app on other devices it throws this exception subsampling rate method not found

mdmuneerhasan avatar Dec 27 '21 09:12 mdmuneerhasan

@mdmuneerhasan same pretrained and apk?

pengzhendong avatar Dec 27 '21 09:12 pengzhendong

Yes

mdmuneerhasan avatar Dec 27 '21 09:12 mdmuneerhasan

Hi this issue was encountering when I was building apk using my PC , but when I try to build this app on my friends machine , it works fine . I think the problem is due to Cmake or any other library which is system based issue .

mdmuneerhasan avatar Mar 01 '22 10:03 mdmuneerhasan

solved, close this issue

xingchensong avatar Feb 21 '23 05:02 xingchensong