Give feedback

How would you rate this Learning Path?

Review frequently asked questions

AI-assisted

These FAQs were drafted with an approved AI-assisted workflow and reviewed by Arm contributors before publication. Human technical review remains part of the process so the final page reflects engineering rigor, accuracy, and Arm editorial standards.

Close
?
How do I know if my phone is detected?
Run adb devices -l and confirm that your phone is listed as device. If you see unauthorized, unlock your phone and accept the debugging prompt. On Windows, you might also need the manufacturer’s USB driver.
Where should I place the downloaded model file so that the app can load it?
Download depth_anything_v2_small_executorch_optimized.pte into model/$MODEL_ID. Then, use adb push to copy it through /data/local/tmp and run-as to place it at files/models/$MODEL_ID/$MODEL_FILE in application-private storage. Verify the destination with run-as ... ls -l, then remove the temporary device copy.
How do I start the app from the command line and pick the correct model?
Run adb shell am start -n com.arm.learningpath.imagetoimage/.ui.MainActivity. In the app, select Depth Anything V2 Small INT8, select Load model, choose a JPEG or PNG image, and then select Run depth estimation.
What should I expect while the model loads or runs inference?
You’ll see that the model and image controls become unavailable while the app decodes the image, loads the model, or runs inference. The controls become available again when the operation finishes or reports an error. After inference, you’ll see a grayscale relative-disparity map and the model load and inference times.
How do I validate results across two inputs?
Run two different images and confirm that both runs finish without errors, each disparity range contains finite values, and the maps differ. Check that nearer regions appear brighter than farther regions and that each result aligns with its decoded image preview.

Share

Tell others about this Learning Path.

Return to Mobile, Graphics, and Gaming