Ask Your Question

how to use ANN with multi cores

asked 2017-05-25 13:43:52 -0500

damiya14 gravatar image

I am using ANN library in opencv 3.xx . currently it only use one core in my processor. is there a way to use more cores and is there a way to use gpu for training the network.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2017-05-25 13:55:37 -0500

berak gravatar image

if you're talking about ann_mlp, it seems, that only the rprop method uses multi cores. if you're using standard backprop, more cores, or any kind of tbb/omp/pthread support won't help.

gpu support is an entirely different beast. if the Mat sizes are large enough to justify the upload cost, opencl will be used under the hood (think gemm).

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2017-05-25 13:43:52 -0500

Seen: 99 times

Last updated: May 25 '17