Product Guide
For the detailed process of model export, quantization, and compilation of DepthAnything, please refer to Depth Anything based on AX650N.
Run:
./axcl_demo/axcl_depth_anything -m axcl_demo/depth_anything_v2_vits_ax650.axmodel -i axcl_demo/ssd_horse.jpg
The running result is as follows:
m5stack@raspberrypi:~/rsp $ ./axcl_demo/axcl_depth_anything -m axcl_demo/depth_anything_v2_vits_ax650.axmodel -i axcl_demo/ssd_horse.jpg
--------------------------------------
model file : axcl_demo/depth_anything_v2_vits_ax650.axmodel
image file : axcl_demo/ssd_horse.jpg
img_h, img_w : 384 640
--------------------------------------
axclrtEngineCreateContextt is done.
axclrtEngineGetIOInfo is done.
grpid: 0
input size: 1
name: input
1 x 518 x 518 x 3
output size: 1
name: output
1 x 1 x 518 x 518
==================================================
Engine push input is done.
--------------------------------------
post process cost time:4.18 ms
--------------------------------------
Repeat 1 times, avg time 33.24 ms, max_time 33.24 ms, min_time 33.24 ms
--------------------------------------
--------------------------------------