Repository navigation
Fix export script path in backends-mediatek.md - #24142
shyhyawJou wants to merge 1 commit into
Conversation
The script uses paths relative to examples/mediatek (e.g. model_export_scripts/...), so running it from the repo root fails with ``` Export model: mobilenetv3 python3: can't open file '/media/user/disk2/mateo/zza/executorch/model_export_scripts/mobilenet_v3.py': [Errno 2] No such file or directory ``` This PR updates the instructions to cd into examples/mediatek first.
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/24142
Note: Links to docs will display an error until the docs builds have been completed.
|
|
Hi @shyhyawJou! Thank you for your pull request and welcome to our community. Action RequiredIn order to merge any pull request (code, docs, etc.), we require contributors to sign our Contributor License Agreement, and we don't seem to have one on file for you. ProcessIn order for us to review and merge your suggested changes, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA. Once the CLA is signed, our tooling will perform checks and validations. Afterwards, the pull request will be tagged with If you have received this in error or have any questions, please contact us at cla@meta.com. Thanks! |
|
|
|
@pytorchbot label "release notes: none" |
|
Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Meta Open Source project. Thanks! |
Summary
The script uses paths relative to examples/mediatek (e.g. model_export_scripts/...), so running it from the repo root fails with
This PR updates the instructions to cd into examples/mediatek first.
Test plan
Ran the updated instructions and confirmed they work:
cd executorch/examples/mediatek ./shell_scripts/export_oss.sh mobilenetv3Previously, running
./examples/mediatek/shell_scripts/export_oss.sh mobilenetv3from the repo root failed because the script uses paths relative toexamples/mediatek(e.g.model_export_scripts/mobilenet_v3.py).cc @nil-is-all