-
Notifications
You must be signed in to change notification settings - Fork 694
Summary: Pico2 demo of simple neural network (MNIST) #15186
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
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/15186
Note: Links to docs will display an error until the docs builds have been completed. ❌ 2 New FailuresAs of commit f08f1af with merge base 1f114f1 ( NEW FAILURES - The following jobs have failed:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
This PR needs a
|
Test Plan: 1. Setup Conda 2. examples/arm/setup.sh --i-agree-to-the-contained-eula; source examples/ arm/ethos-u-scratch/setup_path.sh 3. cd examples/raspberry_pi/pico2 4. python export_mlp_mnist.py; ./build_firmware_pico.sh --model=balanced_tiny_mlp_mnist.pte Reviewers: Subscribers: Tasks: Tags:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❤️
@pytorchbot cherry-pick --onto release/1.0 -c docs |
Test Plan: 1. Setup Conda 2. examples/arm/setup.sh --i-agree-to-the-contained-eula; source examples/ arm/ethos-u-scratch/setup_path.sh 3. cd examples/raspberry_pi/pico2 4. python export_mlp_mnist.py 5. ./build_firmware_pico.sh --model=balanced_tiny_mlp_mnist.pte Results: PREDICTED: 4 (Expected: 4) ✅ CORRECT! ================================================== === Digit 7 === > > ############# > ############# > #### > #### > #### > #### > #### > #### > Input stats: 159 white pixels out of 784 total Running neural network inference... ✅ Neural network results: Digit 0: 370.000 Digit 1: 0.000 Digit 2: -3.000 Digit 3: -3.000 Digit 4: 860.000 Digit 5: -3.000 Digit 6: -3.000 Digit 7: 1640.000 ← PREDICTED Digit 8: -3.000 Digit 9: -3.000 � PREDICTED: 7 (Expected: 7) ✅ CORRECT! ================================================== � All tests complete! PyTorch neural network works on Pico2! Reviewers: Subscribers: Tasks: Tags: ### Summary [PLEASE REMOVE] See [CONTRIBUTING.md's Pull Requests](https://github.com/pytorch/executorch/blob/main/CONTRIBUTING.md#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: <area>" label. For a list of available release notes labels, check out [CONTRIBUTING.md's Pull Requests](https://github.com/pytorch/executorch/blob/main/CONTRIBUTING.md#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. Co-authored-by: Github Executorch <[email protected]> (cherry picked from commit 9b67fea)
Cherry picking #15186The cherry pick PR is at #15196 The following tracker issues are updated: Details for Dev Infra teamRaised by workflow job |
Test Plan:
Results:
PREDICTED: 4 (Expected: 4) ✅ CORRECT!
==================================================
=== Digit 7 ===
Input stats: 159 white pixels out of 784 total
Running neural network inference...
✅ Neural network results:
Digit 0: 370.000
Digit 1: 0.000
Digit 2: -3.000
Digit 3: -3.000
Digit 4: 860.000
Digit 5: -3.000
Digit 6: -3.000
Digit 7: 1640.000 ← PREDICTED
Digit 8: -3.000
Digit 9: -3.000
� PREDICTED: 7 (Expected: 7) ✅ CORRECT!
==================================================
� All tests complete! PyTorch neural network works on Pico2!
Reviewers:
Subscribers:
Tasks:
Tags:
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.