![](https://neoshare.net/wp-content/uploads/2020/12/Computer-Vision-Tutorial — Lesson-4.jpeg)
![Rakesh TS](https://neoshare.net/wp-content/uploads/2020/12/Computer-Vision-Tutorial — Lesson-4.jpeg)
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")))