Backprop implementation is buggy (Bug #4077)
Description
Im trying to train a 10 layer 50 neurons neural network using opencv 3.0.0 beta using the backpropagation algorithm. I'm getting an index out of bounds at line 827 of ann_mlp.cpp:
x[i-1][n1] = 1.;
n1 value is 50 on a vector with 50 elements. I think it should be 49. Can someone please, confirm this?
Cheers,
Bruno
History
Updated by Maksim Shabunin about 10 years ago
- % Done changed from 0 to 100
- Category set to matlab bindings
- Status changed from New to Open
- Target version set to 3.0
- HW Platform changed from x64 to Any
- Operating System changed from Windows to Any
- Pull request set to https://github.com/Itseez/opencv/pull/3668
- Difficulty set to Easy
- Assignee set to Maksim Shabunin
Updated by Maksim Shabunin about 10 years ago
- Category changed from matlab bindings to ml
Updated by Maksim Shabunin about 10 years ago
- Status changed from Open to Done