lihongjie commited on
Commit
f55c98d
·
1 Parent(s): 94b7d51
Files changed (1) hide show
  1. README.md +39 -0
README.md CHANGED
@@ -107,3 +107,42 @@ root@ax650:~/AXERA-TECH/Depth-Anything-V2# ls
107
  Output image:
108
 
109
  ![](output-ax.png)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
107
  Output image:
108
 
109
  ![](output-ax.png)
110
+
111
+ #### Inference with M.2 Accelerator card
112
+ Input image:
113
+
114
+ ![](examples/demo01.jpg)
115
+
116
+ ```
117
+ (base) axera@raspberrypi:~/lhj/Depth-Anything-V2 $ ./axcl_aarch64/axcl_depth_anything -m depth_anything_v2_vits_ax650.axmodel -i examples/demo01.jpg -g 518,518
118
+ --------------------------------------
119
+ model file : depth_anything_v2_vits_ax650.axmodel
120
+ image file : examples/demo01.jpg
121
+ img_h, img_w : 518 518
122
+ --------------------------------------
123
+ axclrtEngineCreateContextt is done.
124
+ axclrtEngineGetIOInfo is done.
125
+
126
+ grpid: 0
127
+
128
+ input size: 1
129
+ name: input
130
+ 1 x 518 x 518 x 3
131
+
132
+
133
+ output size: 1
134
+ name: output
135
+ 1 x 1 x 518 x 518
136
+
137
+ ==================================================
138
+
139
+ Engine push input is done.
140
+ --------------------------------------
141
+ post process cost time:7.07 ms
142
+ --------------------------------------
143
+ Repeat 1 times, avg time 33.25 ms, max_time 33.25 ms, min_time 33.25 ms
144
+ ```
145
+
146
+ Output image:
147
+
148
+ ![](depth_anything_out.png)