Open gcmike opened 6 years ago
Did you program segfault before training, or segfault during training?
Segfault happened before training. Error popped up right after command execution.
I've done a bit more testing, and found that the segfault happens after the first conv1d and before the first relu. Does this help?
Hi there. I am dealing with 1D signal and hence I have modified the mnist-cnn.c example and changed the model like shown below:
I added the padding so as to keep the length. My input is 200 in length and output is a simple true/false. However, when I compile and run training on this, the terminal immediately shows "Segmentation fault: 11." I believe the model to be correct, so I suspect the issue is from 1d-related function?
Thanks in advance!