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

the latest release version is faster than the latest master version #464

Closed
onexuan opened this issue Jul 3, 2018 · 13 comments
Closed

the latest release version is faster than the latest master version #464

onexuan opened this issue Jul 3, 2018 · 13 comments

Comments

@onexuan
Copy link

onexuan commented Jul 3, 2018

I found that the latest release version is faster than the latest master version. Average fast 200ms

@nihui
Copy link
Member

nihui commented Jul 3, 2018

wired
please provide more info about your platform and model
be sure that the latest master code has been compiled in release mode and arm-neon enabled, targeted the right platform

@onexuan
Copy link
Author

onexuan commented Jul 3, 2018

I use "sh build.sh" to compile after cd to the latest master folder.
arm-neon enabled
the targeted platform is right, I use armeabi-v7a in android
How to build it in release mode?

@onexuan
Copy link
Author

onexuan commented Jul 3, 2018

I try build ncnn again use https://github.com/Tencent/ncnn/wiki/how-to-build
The same question, i build the latest release version and master version are show
Maybe the compilation environment is different

@onexuan
Copy link
Author

onexuan commented Jul 3, 2018

Is it possible to build the latest master version for me? I can compare the tests.

@nihui
Copy link
Member

nihui commented Jul 3, 2018

so, what is your model network structure, mobilenet ? resnet ?

@nihui
Copy link
Member

nihui commented Jul 3, 2018

you can try running the ncnn benchmark and see how fast your platform is compared with others

@onexuan
Copy link
Author

onexuan commented Jul 3, 2018

MTCNN mobilefacenet

@onexuan
Copy link
Author

onexuan commented Jul 3, 2018

I have test, this https://github.com/Tencent/ncnn/releases/tag/20180427 version is fastest that you built
I build some other versions by android-ndk-r17b, android-ndk-r16b, android-ndk-r15c, They are not performing well
I am waiting for your new release

@nihui
Copy link
Member

nihui commented Jul 4, 2018

new release package uploaded

@onexuan
Copy link
Author

onexuan commented Jul 4, 2018

I have updated to the latest release version, It performs well
I think it may be that my build environment is different from yours. I am in mac.

@nihui
Copy link
Member

nihui commented Jul 5, 2018

please post your benchncnn result for each release version

@onexuan
Copy link
Author

onexuan commented Jul 5, 2018

I have done a contrastive test, the release 20180704 is faster than 20180427, thread num is 2, improved about 60ms~90ms for me

@nihui
Copy link
Member

nihui commented Feb 25, 2020

You can try the latest ncnn code, with opt.use_packing_layout enabled, it should run faster

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