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

NCNN different output for PC and Android? #383

Closed
furiouslee opened this issue May 3, 2018 · 1 comment
Closed

NCNN different output for PC and Android? #383

furiouslee opened this issue May 3, 2018 · 1 comment

Comments

@furiouslee
Copy link

I loaded my parameters and model weights in the form of unsigned character array made using the ncnn2mem. However, they provide different outputs in PC and Android.

Previously I couldn't load the unsigned character array because it was not aligned properly.
Can this be a problem in declaring ncnn::Net or ncnn::Extractor or ncnn::Mat classes?
Should I be adding __attribute__((aligned(4))) everywhere?

@nihui
Copy link
Member

nihui commented Jul 3, 2019

please try the latest code.
feel free to reopen this if the output is still different.

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

2 participants