You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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?The text was updated successfully, but these errors were encountered: