mnist-ncnn

Dependency

protobuf

sudo apt-get install protobuf-compiler libprotobuf-dev

vulkan-drivers

sudo apt install mesa-vulkan-drivers

opencv

sudo apt install libopencv-dev python3-opencv

Build & Test

ncnn

git submodule update --init --recursive

mnist-ncnn

mkdir build
cmake -DNCNN_VULKAN=ON -DNCNN_SYSTEM_GLSLANG=ON ..
make -j8
cd src
./mnist ../../image/8.png

references