adaptive icon indicating copy to clipboard operation
adaptive copied to clipboard

(Runner) add live-info to runner in a terminal

Open basnijholt opened this issue 5 years ago • 2 comments

(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)

basnijholt avatar Dec 19 '18 16:12 basnijholt

originally posted by Anton Akhmerov (@anton-akhmerov) at 2018-07-05T18:56:02.990Z on GitLab

Maybe use tqdm.

basnijholt avatar Dec 19 '18 16:12 basnijholt

I just had a need for this as well, see what I made here https://github.com/basnijholt/adaptive-scheduler/commit/cbf404397fd914ab9efda373f0a5200223e0f1fb.

basnijholt avatar May 15 '19 21:05 basnijholt