tensorflow-on-raspberry-pi icon indicating copy to clipboard operation
tensorflow-on-raspberry-pi copied to clipboard

What is the optimal time for warm-up ?

Open kangskii opened this issue 7 years ago • 0 comments

Describe the Issue

As suggested, I warmed up for 10 times, and the prediction time dropped from 8s to 2s. And I changed the warm-up time to 50, however, the prediction time increased from 2 s to 3.68 s.

(1) Do you know the issue ?

(2) What is the meaning of warm up here ? I am confused what the prediction can be decreased by running the session.run() several time.

Steps to Reproduce

Hardware/Software Info

Please provide the following information about your Raspberry Pi setup:

  • Raspberry Pi model: 3
  • Operating System used: Raspbian
  • Version of Python used: 2.7
  • SD card memory size: 32G
  • Size of USB/other device used as swap (if building from source):
  • TensorFlow git commit hash (if building from source):

Relevant Console Output/Logs

kangskii avatar Apr 02 '18 06:04 kangskii