I used the retrain code to train the final layer of the Inception model on my own images. But on my CPU machine, it is taking almost 0.5-0.8 second to extract the pool3 features.
pool3 = sess.graph.get_tensor_by_name('pool_3:0')
pf = sess.run(pool3, {png_data: imgBuffer.getvalue()})
The above lines of code take all the time. Is it because of my CPU memory? Any way to make it faster?