Title: xx bytes lost due to alignment. To avoid this loss, please make sure the tensor_arena is 16 bytes aligned · Issue #21 · arduino/ArduinoTensorFlowLiteTutorials · GitHub
Open Graph Title: xx bytes lost due to alignment. To avoid this loss, please make sure the tensor_arena is 16 bytes aligned · Issue #21 · arduino/ArduinoTensorFlowLiteTutorials
X Title: xx bytes lost due to alignment. To avoid this loss, please make sure the tensor_arena is 16 bytes aligned · Issue #21 · arduino/ArduinoTensorFlowLiteTutorials
Description: I get this error message I get when I basically replicate the gesture recognition tutorial in Arduino ML guide. More importantly, though the arduino sketch builds, the model doesn't appear to be working, since the serial output doesn't r...
Open Graph Description: I get this error message I get when I basically replicate the gesture recognition tutorial in Arduino ML guide. More importantly, though the arduino sketch builds, the model doesn't appear to be wo...
X Description: I get this error message I get when I basically replicate the gesture recognition tutorial in Arduino ML guide. More importantly, though the arduino sketch builds, the model doesn't appear to b...
Opengraph URL: https://github.com/arduino/ArduinoTensorFlowLiteTutorials/issues/21
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"xx bytes lost due to alignment. To avoid this loss, please make sure the tensor_arena is 16 bytes aligned","articleBody":"I get this error message I get when I basically replicate the gesture recognition tutorial in [Arduino ML guide](https://blog.arduino.cc/2019/10/15/get-started-with-machine-learning-on-arduino/).\r\n\r\nMore importantly, though the arduino sketch builds, the model doesn't appear to be working, since the serial output doesn't report any gestures. \r\n\r\nThe workaround that worked for me was to change the header in the model.h encoding in the Google Colab ML notebook:\r\n\r\nOriginal: !echo \"const unsigned char model[] = {\"\r\n\r\nWhat worked for me: !echo \"alignas(8)const unsigned char model[] = {\"\r\n\r\nThe addition of alignas(8) fixed the issue in that the arduino sketch build is now working, and I am able to classify gestures.\r\n\r\n","author":{"url":"https://github.com/gmram","@type":"Person","name":"gmram"},"datePublished":"2020-10-08T10:23:18.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/21/ArduinoTensorFlowLiteTutorials/issues/21"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:6939f557-8bf6-0204-c958-f2b28c58b8d8 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8D00:113A61:7B685:A466D:6A4C1A20 |
| html-safe-nonce | f51ffa9d804557d73d6f84a440f2347d4f15453cdd52e0e1a0b11888628be827 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RDAwOjExM0E2MTo3QjY4NTpBNDY2RDo2QTRDMUEyMCIsInZpc2l0b3JfaWQiOiIyNzMzODg2NDkxMTY3ODI0NDE2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 62230dbe0cf05818208fcc0afd3284e11ba89fa8dc441be7122fa4f8aa972c45 |
| hovercard-subject-tag | issue:717216533 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/arduino/ArduinoTensorFlowLiteTutorials/21/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c9ad4b8e3dc665acdd37a62bf844433e76dc7ba424e12af1a201d80bee4047e7/arduino/ArduinoTensorFlowLiteTutorials/issues/21 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c9ad4b8e3dc665acdd37a62bf844433e76dc7ba424e12af1a201d80bee4047e7/arduino/ArduinoTensorFlowLiteTutorials/issues/21 |
| og:image:alt | I get this error message I get when I basically replicate the gesture recognition tutorial in Arduino ML guide. More importantly, though the arduino sketch builds, the model doesn't appear to be wo... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | gmram |
| hostname | github.com |
| expected-hostname | github.com |
| None | 0ccfc9e5281bfe12e38a4d632dc422843e4d5b6757917f7efda2f6567d72fea9 |
| turbo-cache-control | no-preview |
| go-import | github.com/arduino/ArduinoTensorFlowLiteTutorials git https://github.com/arduino/ArduinoTensorFlowLiteTutorials.git |
| octolytics-dimension-user_id | 379109 |
| octolytics-dimension-user_login | arduino |
| octolytics-dimension-repository_id | 213671336 |
| octolytics-dimension-repository_nwo | arduino/ArduinoTensorFlowLiteTutorials |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 213671336 |
| octolytics-dimension-repository_network_root_nwo | arduino/ArduinoTensorFlowLiteTutorials |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 17b2c8bc78100cad23202aad2074e77ead6bd1d6 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width