Skip to content
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

CHW in yaml definition not working as expected #345

Open
yousefbilal opened this issue Feb 11, 2025 · 0 comments
Open

CHW in yaml definition not working as expected #345

yousefbilal opened this issue Feb 11, 2025 · 0 comments

Comments

@yousefbilal
Copy link

I am using MAX78002 which is supposed to handle up to 286×286 without streaming. I attached my yaml (as txt since yaml is not allowed here) file for reference. When the data format is not specified I get this error:
ERROR: Layer 0: 4 channels/word 224x224 input (size 200704) with input offset 0x0000 and expansion 1x exceeds data memory instance size of 81920.

When I add data_format: CHW I get more or less the same error:
ERROR: Layer 0: HWC (4 channels/word) 8-bit 224x224 output (size 200704) with output offset 0x4000 and expansion 1x exceeds data memory instance size of 81920.

I don't know where the 4 channels are coming from since my data is (3,224,224). When I enable streaming mode, it works but I don't want to enable it because of application restrictions.

mymobilenet.txt

@yousefbilal yousefbilal changed the title CHW in yaml desfinition not working as expected CHW in yaml definition not working as expected Feb 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant