Try NPU demo with Ubuntu

Which Khadas SBC do you use?

VIM3

Which system do you use? Android, Ubuntu, OOWOW or others?

Ubuntu ,

Which version of system do you use? Khadas official images, self built images, or others?

Image file : vim3-ubuntu-20.04-gnome-linux-4.9-fenix-1.3-221118-emmc.img.xz

Please describe your issue below:

I try to follow below step, but I can not run.
https://docs.khadas.com/products/sbc/vim3/npu/npu-prebuilt-demo-usage

npu

Could you please advise?

Hello @Lazer

X11 demo need to run under the desktop shell, can’t run under ssh.

I see, I try x11 and fb both on desktop and ssh,
The result is same.

Theres an error in the docs i pointed out to @Frank a while ago - you need to use the -m and-p in the latest demos. So the correct command line is ./detect_demo_fb -m 2 -p 1080p.bmp

@birty @Lazer Follow this to test,

khadas@Khadas:~/aml_npu_demo_binaries/detect_demo_picture$ ./detect_demo_fb -h
./detect_demo_fb: option requires an argument -- 'h'
./detect_demo_fb [-p picture path] [-w width] [-h height] [-m model type] [-f facenet flag] [-H]

I will update NPU docs.