adaptive
adaptive copied to clipboard
(Runner) add live-info to runner in a terminal
(original issue on GitLab)
opened by Jorn Hoofwijk (@Jorn) at 2018-07-05T17:59:49.217Z
I often run adaptive in a terminal, and to me it seems very useful to print a status update or something so I can see how many points I already have and what the current loss is.
I would suggest:
- for the simple runner, just print a message with info every N'th point (where the user can specify N)
- for the BlockingRunner and AsyncRunner, print a message every
delta_t
seconds (similar to liveinfo in jupyter)
originally posted by Anton Akhmerov (@anton-akhmerov) at 2018-07-05T18:56:02.990Z on GitLab
Maybe use tqdm
.
I just had a need for this as well, see what I made here https://github.com/basnijholt/adaptive-scheduler/commit/cbf404397fd914ab9efda373f0a5200223e0f1fb.