Qualcomm AI Engine Direct - Add depth_anything_v2_small to oss_scripts#18657
Open
zhaoxul-qti wants to merge 1 commit intopytorch:mainfrom
Open
Qualcomm AI Engine Direct - Add depth_anything_v2_small to oss_scripts#18657zhaoxul-qti wants to merge 1 commit intopytorch:mainfrom
zhaoxul-qti wants to merge 1 commit intopytorch:mainfrom
Conversation
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
oss_scripts/.--dump_example_outputflag to dump the example image and export depth‑estimation images from both source model and QNN outputs.Notes
Constraints
Test plan
Test with random images from ImageNet:
python examples/qualcomm/oss_scripts/depthanything_v2_small.py -a $ARTIFACT -d $IMAGENET_FOLDER_PATH -b build-android/ -H $HOST_NAME -s $DEVICE_ID -m $SOC_ID --seed 1126Test with the example image and export the post-processed source model output and QNN output into depth-estimation images:
python examples/qualcomm/oss_scripts/depthanything_v2_small.py -a $ARTIFACT -d $IMAGENET_FOLDER_PATH -b build-android/ -H $HOST_NAME -s $DEVICE_ID -m $SOC_ID --dump_example_outputResults
Example Image:

Source Model Output (with depth-estimation post-processing):

QNN-HTP Output (with depth-estimation post-processing):
