Kindn / SimpleNN

A simple neural network framework written in C++.
GNU General Public License v3.0
22 stars 4 forks source link

Failed to load weights! #1

Open 2050airobert opened 2 years ago

2050airobert commented 2 years ago

Hi, here is a bug: ./examples/mnist/recognition ../examples/mnist/imgs/img_5.jpeg Failed to load weights How to solve it? tks

Kindn commented 2 years ago

Hi! Thanks for your issue! To solve this bug,you may change weight_path in recognition.cpp to the absolute path of the weigh file. And I'm going to make the program able to specify the weight file path in the terminal. Hope this will help you!