Floating point exception- Running sample program dnn module
I am using Opencv 3.1.0 on ubuntu 14.04. I have successfully built Opencv and wanted to try reading a caffe model and classifying.
I used the program and models from this tutorial
I am able to compile the program but running it gives me the error below-
Attempting to upgrade input file specified using deprecated V1LayerParameter: bvlc_googlenet.caffemodel Successfully upgraded file specified using deprecated V1LayerParameter
Floating point exception (core dumped)
The floating point exception is coming from line 109 in net.forward() method. I am not able to understand why this problem is coming up?