Backprop implementation is buggy (Bug #4077)


Added by Bruno Nascimento about 10 years ago. Updated about 10 years ago.


Status:Done Start date:2014-12-19
Priority:Normal Due date:
Assignee:Maksim Shabunin % Done:

100%

Category:ml
Target version:3.0
Affected version:branch 'master' (3.0-dev) Operating System:Any
Difficulty:Easy HW Platform:Any
Pull request:https://github.com/Itseez/opencv/pull/3668

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

Also available in: Atom PDF