Page 1 of 1

start_rknn.sh报错

Posted: 2024-09-27 12:23
by huangzr
pico@luckfox:/oem/usr/bin$ bash start_rknn.sh
nohup: ignoring input and redirecting stderr to stdout
nohup: failed to run command '/oem/usr/bin/rknn_server': No such file or directory
nohup: ignoring input and redirecting stderr to stdout
nohup: failed to run command '/oem/usr/bin/rknn_server': No such file or directory
nohup: ignoring input and redirecting stderr to stdout
nohup: failed to run command '/oem/usr/bin/rknn_server': No such file or directory

Code: Select all

#!/bin/sh
while true
do
  sleep 1
  nohup /oem/usr/bin/rknn_server >/dev/null
done

Re: start_rknn.sh报错

Posted: 2024-09-28 2:30
by Crocodile
您好 根据您的log来看 您使用的是Ubuntu系统,rknn相关的程序只有 uclibc(buildroot) 的版本,在Ubuntu 下是无法运行或调用的,同时Ubuntu在系统构建时也没有为RKNN环境适配作准备

Re: start_rknn.sh报错

Posted: 2024-09-28 4:46
by huangzr
但是终端输入没问题,能出rknn_server进程

Re: start_rknn.sh报错

Posted: 2024-09-28 6:12
by Crocodile
可以换成

Code: Select all

/oem/usr/bin/rknn_server & 
试一下,但是还是需要提醒一下在ubuntu下这些尝试意义不大,我们就是受限与RKNN 和 ROCKIT 只能在uclibc上运行才主推 buildroot ,如果有任何可以让rknn可以在glibc运行的方法我们都会尝试