quic / qidk

Other
108 stars 24 forks source link

yolo nas apk build #53

Open suhyun01150 opened 3 days ago

suhyun01150 commented 3 days ago

Hello, I built the APK and tested it on the 8550 using this page: https://github.com/quic/qidk/tree/master/Solutions/VisionSolution1-ObjectDetection-YoloNas

  1. However, the bounding boxes are not being drawn. Could you advise on what needs to be fixed?

  2. Additionally, what should the DLC file name be? The original DLC file generated by running Jupyter is named Quant_intermediate_yoloNas_s_320.dlc. When I build the APK with this name, an error occurs. adb logcat -s com.qc.objectdetectionYoloNas --------- beginning of main 07-23 12:46:18.855 5363 5406 I com.qc.objectdetectionYoloNas: vendor/qcom/proprietary/adsprpc/src/rpcmem_android.c:182: set up allocator 0xb40000742d8d0590 for DMA buf heap system, ION heap system, heap mask 0x2000000, flags 0x1, legacy flags 0x1 07-23 12:46:18.855 5363 5406 I com.qc.objectdetectionYoloNas: vendor/qcom/proprietary/adsprpc/src/fastrpc_config.c:304: Reading configuration file: com.qc.objectdetectionYoloNas.debugconfig 07-23 12:46:18.856 5363 5406 I com.qc.objectdetectionYoloNas: vendor/qcom/proprietary/adsprpc/src/fastrpc_config.c:335: fastrpc_config_init: Couldn't find file com.qc.objectdetectionYoloNas.debugconfig, errno (No such file or directory) at /data/app/~~GzWYG5FsyzPG3uhJxXCy9g==/com.qc.objectdetectionYoloNas-ynG8-mU0CZoGkonDMr5JMw==/lib/arm64, /vendor/lib/rfsa/adsp, /vendor/d 07-23 12:46:18.856 5363 5406 I com.qc.objectdetectionYoloNas: vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:4414: fastrpc_apps_user_init done with default domain:3 and &fastrpc_trace:0x72caf750b0 07-23 12:46:18.856 5363 5406 I com.qc.objectdetectionYoloNas: vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:4528: multidsplib_env_init: libcdsprpc.so loaded 07-23 12:46:18.857 5363 5406 I com.qc.objectdetectionYoloNas: vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:3409: close_device_node: closed dev 130 on domain 3 07-23 12:46:18.857 5363 5406 I com.qc.objectdetectionYoloNas: vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:2684: remote_session_control Unsigned PD enable 1 request for domain 3 07-23 12:46:18.857 5363 5406 I com.qc.objectdetectionYoloNas: vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:2667: remote_session_control DSP info request for domain 3, thread priority -1, stack size 17408 07-23 12:46:18.858 5363 5406 I com.qc.objectdetectionYoloNas: vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:3409: close_device_node: closed dev 130 on domain 3 07-23 12:46:18.863 5363 5406 I com.qc.objectdetectionYoloNas: vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:3566: Successfully opened /vendor/dsp/cdsp/fastrpc_shell_unsigned_3, domain 3 07-23 12:46:18.884 5363 5406 I com.qc.objectdetectionYoloNas: vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:3669: Created user PD on domain 3, debug_trace 0x0, enabled attr=> RPC timeout:0, Debug Mode:N, CRC check:N, Unsigned:Y, Signed:N, Adapt QOS:N, PD dump: (Config:N, Debug:N), Perf: (Kernel:N, DSP:N), Iregion:N, QTF Tracing:N, UAF heap:N userPD initmem length:0x5 07-23 12:46:18.888 5363 5418 I com.qc.objectdetectionYoloNas: vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:675: Successfully set remote user thread priority to 192 and stack size to 17408 for domain 3 07-23 12:46:18.888 5363 5418 I com.qc.objectdetectionYoloNas: vendor/qcom/proprietary/adsprpc/src/listener_android.c:116: listener thread starting 07-23 12:46:18.905 5363 5406 I com.qc.objectdetectionYoloNas: vendor/qcom/proprietary/adsprpc/src/fastrpc_perf.c:273: fastrpc_perf_init: enabled systrace 0x0 and RPC traces (kernel 0, dsp 0) with frequency 1000 07-23 12:46:18.905 5363 5429 I com.qc.objectdetectionYoloNas: vendor/qcom/proprietary/adsprpc/src/log_config.c:348: file_watcher_thread starting for domain 3 07-23 12:46:18.905 5363 5429 W com.qc.objectdetectionYoloNas: vendor/qcom/proprietary/adsprpc/src/log_config.c:358:file_watcher_thread: Couldn't find file com.qc.objectdetectionYoloNas.farf, errno (No such file or directory) 07-23 12:46:18.907 5363 5418 I com.qc.objectdetectionYoloNas: vendor/qcom/proprietary/adsprpc/src/mod_table.c:701: open_mod_table_open_from_static: reverse module apps_std opened with handle 0xcaf77d98 (idx 0) 07-23 12:46:18.907 5363 5418 I com.qc.objectdetectionYoloNas: vendor/qcom/proprietary/adsprpc/src/apps_std_imp.c:1004: Successfully opened file libSnpeHtpV73Skel.so 07-23 12:46:18.908 5363 5418 I com.qc.objectdetectionYoloNas: vendor/qcom/proprietary/adsprpc/src/mod_table.c:701: open_mod_table_open_from_static: reverse module apps_mem opened with handle 0xcaf77e98 (idx 1) 07-23 12:46:18.928 5363 5418 I com.qc.objectdetectionYoloNas: vendor/qcom/proprietary/adsprpc/src/apps_std_imp.c:1004: Successfully opened file libc++.so.1 07-23 12:46:18.932 5363 5418 I com.qc.objectdetectionYoloNas: vendor/qcom/proprietary/adsprpc/src/apps_std_imp.c:1004: Successfully opened file libc++abi.so.1 07-23 12:46:18.983 5363 5406 I com.qc.objectdetectionYoloNas: vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:1694: remote_handle64_open: Successfully opened handle 0xb40000738d910d90 (remote handle 0xeb7270) for file:///libSnpeHtpV73Skel.so?snpe_skel_handle_invoke&_modver=1.0&_dom=cdsp on domain 3 (spawn time 0 us, load time 0 us), num of open handles: 1 07-23 12:46:18.988 5363 5406 I com.qc.objectdetectionYoloNas: vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:1694: remote_handle64_open: Successfully opened handle 0xb40000738d910ed0 (remote handle 0xeb7060) for file:///libdspqueue_rpc_skel.so?dspqueue_rpc_skel_handle_invoke&_modver=1.0&_dom=cdsp&_session=0 on domain 3 (spawn time 0 us, load time 0 us), num of open ha 07-23 12:46:18.988 5363 5406 I com.qc.objectdetectionYoloNas: vendor/qcom/proprietary/adsprpc/src/fastrpc_notif.c:104: fastrpc_notif_domain_init: FastRPC notification worker thread launched 07-23 12:46:18.988 5363 5434 I com.qc.objectdetectionYoloNas: vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:2033: get_remote_notif_response: received status notification 0 for domain 3, session 0 07-23 12:46:18.988 5363 5406 I com.qc.objectdetectionYoloNas: vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:2820: remote_session_control Register PD status notification request for domain 3 07-23 12:46:18.989 5363 5406 E com.qc.objectdetectionYoloNas: vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:1497: Error 0x80000414: remote_handle64_invoke failed for handle 0xb40000738d910ed0, method 3 on domain 3 (sc 0x3010100) (errno Success) 07-23 12:46:18.989 5363 5406 I com.qc.objectdetectionYoloNas: vendor/qcom/proprietary/adsprpc/src/dspqueue/dspqueue_cpu.c:620: dspqueue_create: created Queue 0, 0xb40000742d8cf410, DSP 0x00000000 for domain 3

So, I renamed it to Quant_yoloNas_s_320.dlc and built it, but when I run the command adb logcat -s com.qc.objectdetectionYoloNas,

07-23 14:17:30.310 6363 6399 I com.qc.objectdetectionYoloNas: vendor/qcom/proprietary/adsprpc/src/rpcmem_android.c:182: set up allocator 0xb40000742d8d6090 for DMA buf heap system, ION heap system, heap mask 0x2000000, flags 0x1, legacy flags 0x1 07-23 14:17:30.310 6363 6399 I com.qc.objectdetectionYoloNas: vendor/qcom/proprietary/adsprpc/src/fastrpc_config.c:304: Reading configuration file: com.qc.objectdetectionYoloNas.debugconfig 07-23 14:17:30.315 6363 6399 I com.qc.objectdetectionYoloNas: vendor/qcom/proprietary/adsprpc/src/fastrpc_config.c:335: fastrpc_config_init: Couldn't find file com.qc.objectdetectionYoloNas.debugconfig, errno (No such file or directory) at /data/app/~~hmpt-75TZ_rbVSnCIE6XcQ==/com.qc.objectdetectionYoloNas-pOuF58bi1ZDquERRuivSKA==/lib/arm64, /vendor/lib/rfsa/adsp, /vendor/d 07-23 14:17:30.315 6363 6399 I com.qc.objectdetectionYoloNas: vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:4414: fastrpc_apps_user_init done with default domain:3 and &fastrpc_trace:0x72c86a60b0 07-23 14:17:30.315 6363 6399 I com.qc.objectdetectionYoloNas: vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:4528: multidsplib_env_init: libcdsprpc.so loaded 07-23 14:17:30.317 6363 6399 I com.qc.objectdetectionYoloNas: vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:3409: close_device_node: closed dev 129 on domain 3 07-23 14:17:30.317 6363 6399 I com.qc.objectdetectionYoloNas: vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:2684: remote_session_control Unsigned PD enable 1 request for domain 3 07-23 14:17:30.317 6363 6399 I com.qc.objectdetectionYoloNas: vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:2667: remote_session_control DSP info request for domain 3, thread priority -1, stack size 17408 07-23 14:17:30.318 6363 6399 I com.qc.objectdetectionYoloNas: vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:3409: close_device_node: closed dev 129 on domain 3 07-23 14:17:30.318 6363 6399 I com.qc.objectdetectionYoloNas: vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:3566: Successfully opened /vendor/dsp/cdsp/fastrpc_shell_unsigned_3, domain 3 07-23 14:17:30.336 6363 6399 I com.qc.objectdetectionYoloNas: vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:3669: Created user PD on domain 3, debug_trace 0x0, enabled attr=> RPC timeout:0, Debug Mode:N, CRC check:N, Unsigned:Y, Signed:N, Adapt QOS:N, PD dump: (Config:N, Debug:N), Perf: (Kernel:N, DSP:N), Iregion:N, QTF Tracing:N, UAF heap:N userPD initmem length:0x5 07-23 14:17:30.339 6363 6407 I com.qc.objectdetectionYoloNas: vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:675: Successfully set remote user thread priority to 192 and stack size to 17408 for domain 3 07-23 14:17:30.339 6363 6407 I com.qc.objectdetectionYoloNas: vendor/qcom/proprietary/adsprpc/src/listener_android.c:116: listener thread starting 07-23 14:17:30.341 6363 6399 I com.qc.objectdetectionYoloNas: vendor/qcom/proprietary/adsprpc/src/fastrpc_perf.c:273: fastrpc_perf_init: enabled systrace 0x0 and RPC traces (kernel 0, dsp 0) with frequency 1000 07-23 14:17:30.341 6363 6412 I com.qc.objectdetectionYoloNas: vendor/qcom/proprietary/adsprpc/src/log_config.c:348: file_watcher_thread starting for domain 3 07-23 14:17:30.341 6363 6412 W com.qc.objectdetectionYoloNas: vendor/qcom/proprietary/adsprpc/src/log_config.c:358:file_watcher_thread: Couldn't find file com.qc.objectdetectionYoloNas.farf, errno (No such file or directory) 07-23 14:17:30.342 6363 6407 I com.qc.objectdetectionYoloNas: vendor/qcom/proprietary/adsprpc/src/mod_table.c:701: open_mod_table_open_from_static: reverse module apps_std opened with handle 0xc86a8d98 (idx 0) 07-23 14:17:30.342 6363 6407 I com.qc.objectdetectionYoloNas: vendor/qcom/proprietary/adsprpc/src/apps_std_imp.c:1004: Successfully opened file libSnpeHtpV73Skel.so 07-23 14:17:30.342 6363 6407 I com.qc.objectdetectionYoloNas: vendor/qcom/proprietary/adsprpc/src/mod_table.c:701: open_mod_table_open_from_static: reverse module apps_mem opened with handle 0xc86a8e98 (idx 1) 07-23 14:17:30.375 6363 6407 I com.qc.objectdetectionYoloNas: vendor/qcom/proprietary/adsprpc/src/apps_std_imp.c:1004: Successfully opened file libc++.so.1 07-23 14:17:30.380 6363 6407 I com.qc.objectdetectionYoloNas: vendor/qcom/proprietary/adsprpc/src/apps_std_imp.c:1004: Successfully opened file libc++abi.so.1 07-23 14:17:30.431 6363 6399 I com.qc.objectdetectionYoloNas: vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:1694: remote_handle64_open: Successfully opened handle 0xb40000738d910610 (remote handle 0xeb7270) for file:///libSnpeHtpV73Skel.so?snpe_skel_handle_invoke&_modver=1.0&_dom=cdsp on domain 3 (spawn time 0 us, load time 0 us), num of open handles: 1 07-23 14:17:30.437 6363 6399 I com.qc.objectdetectionYoloNas: vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:1694: remote_handle64_open: Successfully opened handle 0xb40000738d910810 (remote handle 0xeb7060) for file:///libdspqueue_rpc_skel.so?dspqueue_rpc_skel_handle_invoke&_modver=1.0&_dom=cdsp&_session=0 on domain 3 (spawn time 0 us, load time 0 us), num of open ha 07-23 14:17:30.437 6363 6399 I com.qc.objectdetectionYoloNas: vendor/qcom/proprietary/adsprpc/src/fastrpc_notif.c:104: fastrpc_notif_domain_init: FastRPC notification worker thread launched 07-23 14:17:30.438 6363 6399 I com.qc.objectdetectionYoloNas: vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:2820: remote_session_control Register PD status notification request for domain 3 07-23 14:17:30.438 6363 6422 I com.qc.objectdetectionYoloNas: vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:2033: get_remote_notif_response: received status notification 0 for domain 3, session 0 07-23 14:17:30.438 6363 6399 E com.qc.objectdetectionYoloNas: vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:1497: Error 0x80000414: remote_handle64_invoke failed for handle 0xb40000738d910810, method 3 on domain 3 (sc 0x3010100) (errno Success) 07-23 14:17:30.438 6363 6399 I com.qc.objectdetectionYoloNas: vendor/qcom/proprietary/adsprpc/src/dspqueue/dspqueue_cpu.c:620: dspqueue_create: created Queue 0, 0xb40000742d8d2f90, DSP 0x00000000 for domain 3 PS C:\Users\ruthr> adb logcat -s com.qc.objectdetectionYoloNas --------- beginning of main 07-23 12:45:50.293 5283 5337 I com.qc.objectdetectionYoloNas: vendor/qcom/proprietary/adsprpc/src/rpcmem_android.c:182: set up allocator 0xb400007174039ed0 for DMA buf heap system, ION heap system, heap mask 0x2000000, flags 0x1, legacy flags 0x1 07-23 12:45:50.293 5283 5337 I com.qc.objectdetectionYoloNas: vendor/qcom/proprietary/adsprpc/src/fastrpc_config.c:304: Reading configuration file: com.qc.objectdetectionYoloNas.debugconfig 07-23 12:45:50.293 5283 5337 I com.qc.objectdetectionYoloNas: vendor/qcom/proprietary/adsprpc/src/fastrpc_config.c:335: fastrpc_config_init: Couldn't find file com.qc.objectdetectionYoloNas.debugconfig, errno (No such file or directory) at /data/app/~~YHd76lYQw2thXv8Co6RNkw==/com.qc.objectdetectionYoloNas-PHL0E9K4Z174gSndIninuQ==/lib/arm64, /vendor/lib/rfsa/adsp, /system/v 07-23 12:45:50.293 5283 5337 I com.qc.objectdetectionYoloNas: vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:4414: fastrpc_apps_user_init done with default domain:3 and &fastrpc_trace:0x70111740b0 07-23 12:45:50.293 5283 5337 I com.qc.objectdetectionYoloNas: vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:4528: multidsplib_env_init: libcdsprpc.so loaded 07-23 12:45:50.294 5283 5337 I com.qc.objectdetectionYoloNas: vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:3350: open_device_node: no access to default device of domain 3, open thru HAL, (sess_id 0) 07-23 12:45:50.296 5283 5337 I com.qc.objectdetectionYoloNas: vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:3397: close_device_node: close device 131 thru HAL on domain 3 07-23 12:45:50.297 5283 5337 I com.qc.objectdetectionYoloNas: vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:2684: remote_session_control Unsigned PD enable 1 request for domain 3 07-23 12:45:50.297 5283 5337 I com.qc.objectdetectionYoloNas: vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:2667: remote_session_control DSP info request for domain 3, thread priority -1, stack size 17408 07-23 12:45:50.297 5283 5337 I com.qc.objectdetectionYoloNas: vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:3350: open_device_node: no access to default device of domain 3, open thru HAL, (sess_id 0) 07-23 12:45:50.299 5283 5337 I com.qc.objectdetectionYoloNas: vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:3397: close_device_node: close device 131 thru HAL on domain 3 07-23 12:45:50.299 5283 5337 I com.qc.objectdetectionYoloNas: vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:3350: open_device_node: no access to default device of domain 3, open thru HAL, (sess_id 0) 07-23 12:45:50.300 5283 5337 E com.qc.objectdetectionYoloNas: vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:3585: Error 0xd: open_shell failed for domain 3 search paths used are /dsp/, /vendor/dsp/, /vendor/dsp/xxdsp/ (errno Permission denied) 07-23 12:45:50.325 5283 5337 I com.qc.objectdetectionYoloNas: vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:3669: Created user PD on domain 3, debug_trace 0x0, enabled attr=> RPC timeout:0, Debug Mode:N, CRC check:N, Unsigned:Y, Signed:N, Adapt QOS:N, PD dump: (Config:N, Debug:N), Perf: (Kernel:N, DSP:N), Iregion:N, QTF Tracing:N, UAF heap:N userPD initmem length:0x5 07-23 12:45:50.327 5283 5352 I com.qc.objectdetectionYoloNas: vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:675: Successfully set remote user thread priority to 192 and stack size to 17408 for domain 3 07-23 12:45:50.327 5283 5352 I com.qc.objectdetectionYoloNas: vendor/qcom/proprietary/adsprpc/src/listener_android.c:116: listener thread starting 07-23 12:45:50.342 5283 5337 E com.qc.objectdetectionYoloNas: vendor/qcom/proprietary/adsprpc/src/log_config.c:577:Error : Unable to add watcher for folder /vendor/lib/rfsa/adsp : errno is Permission denied 07-23 12:45:50.342 5283 5337 E com.qc.objectdetectionYoloNas: vendor/qcom/proprietary/adsprpc/src/log_config.c:577:Error : Unable to add watcher for folder /system/vendor/lib/rfsa/adsp : errno is Permission denied 07-23 12:45:50.342 5283 5337 E com.qc.objectdetectionYoloNas: vendor/qcom/proprietary/adsprpc/src/log_config.c:577:Error : Unable to add watcher for folder /vendor/lib/rfsa/adsp : errno is Permission denied 07-23 12:45:50.343 5283 5337 I com.qc.objectdetectionYoloNas: vendor/qcom/proprietary/adsprpc/src/fastrpc_perf.c:273: fastrpc_perf_init: enabled systrace 0x0 and RPC traces (kernel 0, dsp 0) with frequency 1000 07-23 12:45:50.343 5283 5362 I com.qc.objectdetectionYoloNas: vendor/qcom/proprietary/adsprpc/src/log_config.c:348: file_watcher_thread starting for domain 3 07-23 12:45:50.343 5283 5362 W com.qc.objectdetectionYoloNas: vendor/qcom/proprietary/adsprpc/src/log_config.c:358:file_watcher_thread: Couldn't find file com.qc.objectdetectionYoloNas.farf, errno (No such file or directory) 07-23 12:45:50.344 5283 5352 I com.qc.objectdetectionYoloNas: vendor/qcom/proprietary/adsprpc/src/mod_table.c:701: open_mod_table_open_from_static: reverse module apps_std opened with handle 0x11176d98 (idx 0) 07-23 12:45:50.344 5283 5352 I com.qc.objectdetectionYoloNas: vendor/qcom/proprietary/adsprpc/src/apps_std_imp.c:1004: Successfully opened file libSnpeHtpV73Skel.so 07-23 12:45:50.345 5283 5352 I com.qc.objectdetectionYoloNas: vendor/qcom/proprietary/adsprpc/src/mod_table.c:701: open_mod_table_open_from_static: reverse module apps_mem opened with handle 0x11176e98 (idx 1) 07-23 12:45:50.367 5283 5352 W com.qc.objectdetectionYoloNas: vendor/qcom/proprietary/adsprpc/src/apps_std_imp.c:1017: Warning: apps_std_fopen_with_env failed with 0x2 for libc++.so.1 (No such file or directory) 07-23 12:45:50.367 5283 5352 E com.qc.objectdetectionYoloNas: vendor/qcom/proprietary/adsprpc/src/mod_table.c:858: Error 0x2: open_mod_table_handle_invoke failed for handle:0x11176d98, sc:0x13050100 07-23 12:45:50.373 5283 5352 W com.qc.objectdetectionYoloNas: vendor/qcom/proprietary/adsprpc/src/apps_std_imp.c:1017: Warning: apps_std_fopen_with_env failed with 0x2 for libc++abi.so.1 (No such file or directory) 07-23 12:45:50.373 5283 5352 E com.qc.objectdetectionYoloNas: vendor/qcom/proprietary/adsprpc/src/mod_table.c:858: Error 0x2: open_mod_table_handle_invoke failed for handle:0x11176d98, sc:0x13050100 07-23 12:45:50.425 5283 5337 I com.qc.objectdetectionYoloNas: vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:1694: remote_handle64_open: Successfully opened handle 0xb4000070d407dd90 (remote handle 0xeb7270) for file:///libSnpeHtpV73Skel.so?snpe_skel_handle_invoke&_modver=1.0&_dom=cdsp on domain 3 (spawn time 0 us, load time 0 us), num of open handles: 1 07-23 12:45:50.431 5283 5337 I com.qc.objectdetectionYoloNas: vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:1694: remote_handle64_open: Successfully opened handle 0xb4000070d4079a10 (remote handle 0xeb6fd0) for file:///libdspqueue_rpc_skel.so?dspqueue_rpc_skel_handle_invoke&_modver=1.0&_dom=cdsp&_session=0 on domain 3 (spawn time 0 us, load time 0 us), num of open ha 07-23 12:45:50.431 5283 5337 I com.qc.objectdetectionYoloNas: vendor/qcom/proprietary/adsprpc/src/fastrpc_notif.c:104: fastrpc_notif_domain_init: FastRPC notification worker thread launched 07-23 12:45:50.431 5283 5364 I com.qc.objectdetectionYoloNas: vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:2033: get_remote_notif_response: received status notification 0 for domain 3, session 0 07-23 12:45:50.431 5283 5337 I com.qc.objectdetectionYoloNas: vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:2820: remote_session_control Register PD status notification request for domain 3 07-23 12:45:50.433 5283 5337 E com.qc.objectdetectionYoloNas: vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:1497: Error 0x80000414: remote_handle64_invoke failed for handle 0xb4000070d4079a10, method 3 on domain 3 (sc 0x3010100) (errno Success) 07-23 12:45:50.433 5283 5337 I com.qc.objectdetectionYoloNas: vendor/qcom/proprietary/adsprpc/src/dspqueue/dspqueue_cpu.c:620: dspqueue_create: created Queue 0, 0xb40000717403b910, DSP 0x00000000 for domain 3

The DLC file is located in this directory. "\wsl.localhost\Ubuntu-22.04\home\suhyun\qidk\Solutions\VisionSolution1-ObjectDetection-YoloNas\app\src\main\assets\Quant_yoloNas_s_320.dlc" "\wsl.localhost\Ubuntu-22.04\home\suhyun\qidk\Solutions\VisionSolution1-ObjectDetection-YoloNas\app\src\main\assets\yolo_nas_s.dlc"

plus, i already try this adb disable-verity adb reboot adb root adb remount adb shell setenforce 0

please help me.

quic-vraidu commented 3 days ago

Do you see boundary boxes both in CPU, GPU and DSP? CPU might have take time to observe boundary boxes like 2-3mins.

suhyun01150 commented 3 days ago

I observed for about 1 minute on all three (CPU, GPU, and DSP), but no bounding boxes appeared anywhere.

quic-vraidu commented 2 days ago

You should use last command output of snpe-dlc-graph-prepare and copy to assets folder. Last command in GenerateDLC.ipynb output path is not proper. We will modify it. If you are using 8550 change the soc to 8550 instead of 8650. snpe-dlc-graph-prepare --input_dlc app/src/main/assets/Quant_intermediate_yoloNas_s_320.dlc --set_output_tensors=877,885 --htp_socs=sm8550 --output_dlc= app/src/main/assets//Quant_yoloNas_s_320.dlc