Tencent / ncnn

ncnn is a high-performance neural network inference framework optimized for the mobile platform
Other
20.58k stars 4.18k forks source link

编译成功后,运行试例代码报错 #3197

Open APeiZou opened 3 years ago

APeiZou commented 3 years ago

命令 ../build/examples/squeezenet ../images/256-ncnn.png fopen squeezenet_v1.1.param failed fopen squeezenet_v1.1.bin failed find_blob_index_by_name data failed Try find_blob_index_by_name prob failed Try Segmentation fault (core dumped)

APeiZou commented 3 years ago

@nihui

nihui commented 3 years ago

copy squeezenet_v1.1.param and squeezenet_v1.1.bin from ncnn/examples to your current working directory

lonngxiang commented 2 years ago

../build/examples/squeezenet ../images/256-ncnn.png

-bash: ../build/examples/squeezenet: No such file or directory ;麻烦问下这是表示没编译成功吗

lonngxiang commented 2 years ago

copy squeezenet_v1.1.param and squeezenet_v1.1.bin from ncnn/examples to your current working directory

image

lonngxiang commented 2 years ago

copy squeezenet_v1.1.param and squeezenet_v1.1.bin from ncnn/examples to your current working directory

cd ../benchmark ../build/benchmark/benchncnn 10 $(nproc) 0 0 这个能正常运行,就是上面的squeezenet运行不了