v3 python bindings missing artificial neural network load method [closed]

asked 2015-08-06 23:27:23 -0600

Hi, I've been using artificial neural nets with cv2 within python for a while. Previously, in the v2.x bindings, there was a load method (to load an output ANN saved via the corresponding save method). This doesn't seem to exist anymore (in the v3.x bindings). So, how can I load my output ANN?

>>> import cv2
>>> ann = cv2.ml.ANN_MLP_create()
>>> help(ann)
Help on ml_ANN_MLP object:

    class ml_ANN_MLP(ml_StatModel)
    <snip>
 |  ----------------------------------------------------------------------
 |  Methods inherited from Algorithm:
 |
 |  clear(...)
 |      clear() -> None
 |
 |  getDefaultName(...)
 |      getDefaultName() -> retval
 |
 |  save(...)
 |      save(filename) -> None
edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by sturkmen
close date 2020-10-15 09:40:26.627325

Comments

unsolved issue , unfortunately ;(

berak gravatar imageberak ( 2015-08-07 00:16:38 -0600 )edit