Quantcast
Channel: OpenCV Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 41027

v3 python bindings missing artificial neural network load method

$
0
0
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) | ---------------------------------------------------------------------- | Methods inherited from Algorithm: | | clear(...) | clear() -> None | | getDefaultName(...) | getDefaultName() -> retval | | save(...) | save(filename) -> None

Viewing all articles
Browse latest Browse all 41027

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>