PRELU is pretty sloooow on windows caffe w/ cpu only :-(

18 views
Skip to first unread message

twan...@hotmail.com

unread,
Nov 7, 2017, 6:31:07 AM11/7/17
to Caffe Users
Hi,
I am trying to implement a caffe proj on my laptop using cpu. Everything works fine except that prelu layers are taking too many forward time. Is there any way to accelerate?

I1107 18:39:18.119951 39436 caffe.cpp:410]  conv5_1_1   forward: 5.3047 ms.
I1107 18:39:18.119951 39436 caffe.cpp:413]  conv5_1_1   backward: 5.7584 ms.
I1107 18:39:18.119951 39436 caffe.cpp:410] prelu5_1_1   forward: 4.8549 ms.
I1107 18:39:18.119951 39436 caffe.cpp:413] prelu5_1_1   backward: 0 ms.
I1107 18:39:18.119951 39436 caffe.cpp:410]  conv5_1_2   forward: 0.1502 ms.
I1107 18:39:18.119951 39436 caffe.cpp:413]  conv5_1_2   backward: 0.3135 ms.
I1107 18:39:18.119951 39436 caffe.cpp:410] eltwise5_1_4 forward: 0.6897 ms.
I1107 18:39:18.119951 39436 caffe.cpp:413] eltwise5_1_4 backward: 0 ms.
I1107 18:39:18.119951 39436 caffe.cpp:410] prelu5_1_4   forward: 18.4978 ms.
I1107 18:39:18.119951 39436 caffe.cpp:413] prelu5_1_4   backward: 0.1502 ms.

Alex Orloff

unread,
Nov 7, 2017, 8:06:25 PM11/7/17
to Caffe Users
how did you checked it?

twan...@hotmail.com

unread,
Nov 7, 2017, 9:16:38 PM11/7/17
to Caffe Users
I printed the time for each layer with timer in caffe.

在 2017年11月8日星期三 UTC+8上午9:06:25,Alex Orloff写道:
Reply all
Reply to author
Forward
0 new messages