-
Notifications
You must be signed in to change notification settings - Fork 136
Very slow, use new version caffe2 #31
Comments
By the way , recogition result not correct |
the size libcaffe2 which I use build_android.sh: |
below is the cmake summary: Summary -- BUILD_SHARED_LIBS : OFF |
I got the same problem @northeastsquare |
You're going to want to compile with -O3, let me add that to the CMakeLists in caffe2 :) To do so yourself right now, edit this line to say
edit: waiting on tests to pass here facebookarchive/caffe2#1000 |
libCaffe2_CPU.a libCAFFE2_NNPACK.a libCAFFE2_PTHREADPOOL.a libcpufeatures.a
CREATE libcaffe2.a
ADDLIB libCAFFE2_NNPACK.a
ADDLIB libCAFFE2_PTHREADPOOL.a
ADDLIB libcpufeatures.a
ADDLIB libCaffe2_CPU.a
SAVE
END
4.replace AICamera libcaffe2.a with the generated libcaffe2.a
5.in AICamera2/app/src/main/cpp, make a soft link to the new caffe2 source code, copy some proto.pb.h files
7.run with android studio
the result, speed very slow, Can you give me help? Where am I wrong?
@bwasti
The text was updated successfully, but these errors were encountered: