Question about running yolov3 demo in VIM3 pro

@numbqq , @Frank
when i run UVC demo,

root@Khadas:~/aml_npu_demo_binaries/detect_demo# ./detect_demo_uvc /dev/videoX 1 > /dev/null

i got error …

error while loading shared shared libraries: libovxlib.so: cannot open shared object file: No such file or directory

anyone can help?

You need to instll the libraries first.

$ sudo ./INSTALL

@numbqq

i already run
:~/aml_npu_demo_binaries/detect_demo# ./INSTALL

but it still get the error
error while loading shared shared libraries: libovxlib.so: cannot open shared object file: No such file or directory

Which image you used to test?

@numbqq

i use VIMx.Ubuntu.mainline.5.5.xfce.bionic.test.emmc.kresq

thx

Only 4.9 kernel support NPU now, please use 4.9 kernel image.

@Frank @numbqq

I reinstall the 4.9 kernel image ,

I used FB mode to runt eh yolov3_Demo

i use the command : ./detect_demo_uvc /dev/video0 2
but still get an error

how to fix it? thx

@wongts Do you change the nb file which train by youself

i just download the yolov3 demo from gitlab without change anything, but it got this error message

@wongts Do you run .INSTALL ?

yes , i follow all the instructions

@wongts Which one images you use ? I will try it .

thx , I am using VIMx.Ubuntu-xfce-bionic_Linux-4.9_arm64_V20191231.emmc,
update my situation:

I got the error by running the detect_demo
But i am successful to run the detect_demo_khadas

@wongts That is a very old image, please use latest 4.9 image,

@wongts Every time you run different demo . You all need to run ./INSTALL again . Becuase the share library and nb file was different . Do you run ./INSTALL again before you run detect_demo ?

1 Like

everytime i run ./INSTALL before run ./detect_demo_uvc
My os image : VIM3_Ubuntu-xfce-bionic_Linux-4.9_arm64_EMMC_V20191231
DDK version: DDK 6.3.3.4
i get some error by using my own trained yolo3

@wongts So the origin SDK works fine ?

Do you followup our docs to modified the code ?

i am successful to run the detect_demo_khadas

but fail to run my own model

i follow all the procedures from https://docs.khadas.com/vim3/HowToTransformYolo.html)

1 Like

@wongts There have a error,

change the lastest value of size[3] to num_class*3

it should be

change the lastest value of size[3] to (num_class+5)*3