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和caffe2相比速度优势在什么地方呢 #96

Closed
tao-githup opened this issue Aug 17, 2017 · 9 comments
Closed

请问ncnn和caffe2相比速度优势在什么地方呢 #96

tao-githup opened this issue Aug 17, 2017 · 9 comments

Comments

@tao-githup
Copy link

No description provided.

@tao-githup
Copy link
Author

有人对比过ncnn和caffe2的速度吗

@cgoxopx
Copy link

cgoxopx commented Aug 19, 2017

不知道。我在arm上,caffe从来就没编译成功过

@lzx1413
Copy link
Contributor

lzx1413 commented Aug 21, 2017

在自己的项目中似乎caffe2 加nnpack 和ncnn差不多快,但是squeeze确实是ncnn快,而且ncnn依赖少,包也小,支持android版本更低

@Soledad89
Copy link

@lzx1413 Why my compiled caffe2 with NNPack support is much slower than ncnn on the same android platform? My computer does not support PinYin input, sorry about that.

@tao-githup
Copy link
Author

@lzx1413 caffe2你怎么加nnpack的,我也用了nnpack,但是打印出来,仍然是用的是eigen

@lzx1413
Copy link
Contributor

lzx1413 commented Aug 24, 2017

Nnpack 对3x3卷积支持更好,不同网络结构效率不太一样吧

@cuihao19931030
Copy link

没用过caffe2,不过caffe给我留下了深刻印象。
arm上caffe超难安,依赖的东西太多,各种版本不对,配置不对,成功那一刻简直都快留下喜悦的泪花了 -lopencv_core -lopencv_highgui -lopencv_imgproc -fopenmp -pthread -lcudart -lcuda -lcublas -lglog -lgflags -lboost_filesystem -lboost_graph -lboost_system -lboost_program_options -lboost_chrono -lboost_thread -lhdf5_serial -lhdf5_serial_hl -lopenblas -lprotobuf -lcurand,哦,对了,还有${CAFFE}/build/lib/libcaffe.so 简直要人命啊

@minipeach
Copy link

caffe2在iphone 6s (iOS10)上运行无压力啊,Eigen速度也很快

@nihui
Copy link
Member

nihui commented Feb 25, 2020

ncnn目前在手机cpu上已做了多轮优化,速度更快

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

7 participants