forked from pytorch/executorch
-
Notifications
You must be signed in to change notification settings - Fork 0
Dl/yolo12 main #4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
daniil-lyakhov
wants to merge
2
commits into
main
Choose a base branch
from
dl/yolo12_main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cbf970d
to
853a16e
Compare
4c302d6
to
60d9cfb
Compare
794cf64
to
546c939
Compare
818e75a
to
f7997a6
Compare
…rch#10156) ### Summary Ultralytics Yolo12 Detection sample to expand example models with the detection task: 1) Export script to get executorch yolo model lowered to OpenVINO/XNNPACK 2) Demo app which gets a model and a video as an input and outputs an annotated video Changes in the OpenVINO backend: * OpenVINO repo branch is updated to support yolo12 models (Commit to Openvino master WIP) * Minor fixes in quantizer.py ### Test plan #### Warning: OpenCV should be installed in the environment. OpenVINO: ``` ./.ci/scripts/test_yolo12.sh -model yolo12n -mode openvino -pt2e_quantize OFF -upload tmp_ov_run -video_path path/to/mp4/file ``` XNNPACK: ``` ./.ci/scripts/test_yolo12.sh -model yolo12n -mode xnnpack -pt2e_quantize OFF -upload tmp_xnnpack_run -video_path path/to/mp4/file ``` ### Issues: * Quantization does not work in both backends, issues WIP. Marked by NonImplemented error by now * OpenVINO is being build twice because it is not present in the [executorch-config.cmake](https://github.com/pytorch/executorch/blob/main/tools/cmake/executorch-config.cmake) file. Perhaps we could add the OpenVINO backend to the config file? CC: @ynimmaga @suryasidd @alexsu52
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
[PLEASE REMOVE] See CONTRIBUTING.md's Pull Requests for ExecuTorch PR guidelines.
[PLEASE REMOVE] If this PR closes an issue, please add a
Fixes #<issue-id>
line.[PLEASE REMOVE] If this PR introduces a fix or feature that should be the upcoming release notes, please add a "Release notes: " label. For a list of available release notes labels, check out CONTRIBUTING.md's Pull Requests.
Test plan
[PLEASE REMOVE] How did you test this PR? Please write down any manual commands you used and note down tests that you have written if applicable.
TODO