Replies: 1 comment 6 replies
-
Glad you like Rich! I have been thinking about a log renderable which would give you a scrolling window of text in a layout. Although it may be of limited use until I've added more dynamic features to make it interactive (keyboard/mouse scroll).
There's no explicit support for that at the moment, although I'm sure something along those lines is possible. In the meantime, if you want a fullscreen display you might want to do your logging with the Python |
Beta Was this translation helpful? Give feedback.
-
First of all, many thanks for this wonderful library. It helps a lot!
I was wondering something. I would like to use rich to follow the training of my deep learning code.
To do so, I really think the following example (https://github.com/willmcgugan/rich/blob/master/examples/fullscreen.py) is of interest of what I want to get.
My question is about the layout and the logging system. Having the progress bars at the bottom to measure the progress of the training is pretty interesting. I can also imagine to report metrics result in a table for visual progression. But I wonder if we can combine a fullscreen application (like in the above example) with some logging. I need to get logs to allow debugging during the training and it would be awesome if I can branch it to an element of the proposed layout.
For instance, would it be possible to redirect console/progress bars/other logs to the body element of the layout? If that is possible, how to proceed?
Thanks in advance for your time!
Beta Was this translation helpful? Give feedback.
All reactions