Working a lot with AI and Machine Learning, it happens a lot that I need to run code that takes a lot of time to run.
One thing that I always like to use in this situation is a package called tqdm. To install it, fire up your terminal or command prompt and type: pip install tqdm When the package has been installed, it can be used to show the progress of a loop using a progress bar. For more info on more advanced methods such as Keras Callback, check out the package documentation which is very well written and full of examples.