pesser / edflow

Reduce boilerplate code for your ML projects. TensorFlow and PyTorch.
https://edflow.readthedocs.io/
MIT License
24 stars 13 forks source link

Adds colored logging output using logger.copyline #230

Closed jhaux closed 4 years ago

jhaux commented 4 years ago

This functionality is supposed to be used for outputs containing code snippets that can be copied like edeval commands. The color makes it so that these lines do not get lost and improve the workflow speed.

jhaux commented 4 years ago

This is what it now looks like: color_print

jhaux commented 4 years ago

Things are even more general now. I redid the colored_info wrapper and realized that it is far easier to wrap the underlying_log method. Now we can color any log command!

color_print