Adding Start and End Time in a Deep Learning code

Rakesh TS
Dec 26, 2020

It is important to calculate the over all time taken for the system to run a DL pipeline.

Objective : To add start and end time to a Deep Learning code.

# start time - to be added at the beginning of code
print ("[STATUS] start time - {}".format(datetime.datetime.now().strftime("%Y-%m-%d %H:%M")))
start = time.time()
# end time - to be added at the end of code
end = time.time()
print ("[STATUS] end time - {}".format(datetime.datetime.now().strftime("%Y-%m-%d %H:%M")))

--

--