Operating environment
Ubuntu 14.04 LTS desktop amd64
GeForce GTX 750 Ti
ASRock Z170M Pro4S [Intel Z170chipset]
TensorFlow v0.11
cuDNN v5.1 for Linux
CUDA v7.5
Python 2.7.6
I'm learning the process of class identification using a mechanism called TensorFlow.
I'm studying here. http://blog.brainpad.co.jp/entry/2016/03/28/170000
fully_connected_feed.py In, time.time () is used as a method to measure the processing speed.
import time
...
start_time = time.time()
#Processing something
duration = time.time() - start_time
print('Step %d: loss = %.2f (%.3f sec)' % (step, loss_value, duration))
It seems to be in seconds.
https://docs.python.org/2.7/library/time.html#time.time
Recommended Posts