Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Keras does not utilize 100% cpu

I build sequential model with keras and tensorflow backend. As you seen on picture, model uses all cores but none of them 100%. I would like to know, how to make keras+tf utilize every core by 100%.

I tried to build tensorflow from scratch and reinstall, but it didn't help.

enter image description here

like image 874
Nick Avatar asked Apr 20 '17 17:04

Nick


1 Answers

It turned out, my model was too simple to utilize 100% cpu. After adding more neurons to the network, cpu utilization increased to almost 100%.

I dont know, why keras don't use availible cpu power to compute simple models faster.

like image 146
Nick Avatar answered Oct 01 '22 00:10

Nick