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 may have made some mistakes during packing binary.
The prebuilt package has been removed currently.
sorry for the inconvenience. I will inform you once update occurs. :)
@nihui, never mind for a known issue, this is also my laziness. Looking forward to the next released version. I will try to rebuild ncnn with source code in my environment.
@nihui, excellent. I have tested the latest version just, the model is working. thanks
./test_ncnn plane.jpg
404 = 0.990238
908 = 0.004614
405 = 0.003835
i built test example with source code from examples/squeezenet.cpp, but got weird results with any images as below:
./test_ncnn plane.jpg
0 = 0.000000
0 = 0.000000
0 = 0.000000
i built test_ncnn with linking opencv3 and prebuilt libncnn.a using ndk13b, and below is my ndk makefile:
LOCAL_PATH := $(call my-dir)
#libncnn.a
include $(CLEAR_VARS)
LOCAL_MODULE := libncnn
LOCAL_SRC_FILES :=$(LOCAL_PATH)/../../arm64-v8a/libncnn.a
include $(PREBUILT_STATIC_LIBRARY)
#libomp.a
include $(CLEAR_VARS)
LOCAL_MODULE := libomp
LOCAL_SRC_FILES :=$(LOCAL_PATH)/../../arm64-v8a/libomp.a
include $(PREBUILT_STATIC_LIBRARY)
include $(CLEAR_VARS)
#opencv
OPENCV_INSTALL_MODULES := on
OPENCV_CAMERA_MODULES := off
#OPENCV_LIB_TYPE := SHARE
include ${LOCAL_PATH}/../../3rdparty/opencv/native/jni/OpenCV.mk
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../include \
$(LOCAL_PATH)/../../3rdparty/opencv/native/jni/include \
LOCAL_SRC_FILES := $(LOCAL_PATH)/../../src/test.cpp \
LOCAL_STATIC_LIBRARIES += libncnn \
libomp
LOCAL_CFLAGS += -O0 -g
LOCAL_MODULE := test_ncnn
include $(BUILD_EXECUTABLE)
The text was updated successfully, but these errors were encountered: