Neural networks backward compatibility (Bug #4076)


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


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

100%

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

Description

Hi, I'm having backward compatibility problems between version 2.4.9 and 3.0.0 beta.

a trained neural network trained on 2.4.9 cant be opened on 3.0.0 beta via

m_classifier = StatModel::load<ANN_MLP>("constraints.yml");

throws the error:

OpenCV Error: Bad argument (The file node should be a numerical scalar or a sequence) in cvStartReadRawData, file ..\..\..\modules\core\src\persistence.cpp, line 3198


Associated revisions

Revision 41af58d1
Added by Vadim Pisarevsky almost 10 years ago

Merge pull request #4076 from kalistratovag:parallel_pthreads

History

Updated by Maksim Shabunin about 10 years ago

Thank you for bug report. We are currently working on this problem, solution will be available in a week or two.

  • Affected version changed from 2.4.9 (latest release) to branch 'master' (3.0-dev)
  • Category set to ml
  • Status changed from New to Open
  • Assignee set to Maksim Shabunin

Updated by Maksim Shabunin about 10 years ago

Should be fixed now.

  • % Done changed from 0 to 100
  • Status changed from Open to Done
  • HW Platform changed from x64 to Any
  • Operating System changed from Windows to Any
  • Pull request set to https://github.com/Itseez/opencv/pull/3537
  • Difficulty set to Easy

Also available in: Atom PDF