Artelnics / opennn

OpenNN - Open Neural Networks Library
http://www.opennn.net
GNU Lesser General Public License v3.0
1.12k stars 354 forks source link

Segmentation Fault running the mnist example #273

Open usptact opened 11 months ago

usptact commented 11 months ago

The mnist example builds just fine but a segmentation fault occurs during training. Please see attached screenshot. Let me know how I can provide useful information.

System: Ubuntu 22.04, 16GB RAM

gcc --version
gcc (Ubuntu 11.3.0-1ubuntu1~22.04.1) 11.3.0
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Building and running examples using Qt Creator.

Screenshot from 2023-05-28 23 57 26

leondavi commented 10 months ago

Strange On version 6.0.0 this function is empty Screenshot 2023-07-02 at 2 37 50

Can you try to remove it and see if it solves the issue? Maybe this "outputs_data" is cleared somewhere else