question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[RFC] Show progress bar based on `timeout`

See original GitHub issue

Motivation

The current study.optimize shows the progress bar when we specify the number of trials. We can show the progress bar based on the timeout value as well.

Note that before implementing this feature, we need to decide the priority of n_trials and timeout. When we specify both values as not None values, there are two ways to show the progress bar.

Moreover, we need to discuss the case when both None. I suppose not showing the progress bar makes sense when both are None.

Description

Alternatives (optional)

Additional context (optional)

We might need to support the n_jobs!=1 case depending on https://github.com/optuna/optuna/issues/2957.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6

github_iconTop GitHub Comments

2reactions
nzw0301commented, Nov 26, 2021

@toshihikoyanase suggested using only n_trials: the first candidate. A user wants to perform optimisation n_trials times ideally but, to avoid taking too much to perform optimisation, he/she specifies timeout at the same time. Indeed, I saw such a setting in a machine learning paper, so his suggestion is supposed to be natural.

So how about implementing candidate 1 at first? If the optuna community prefers the last candidates to the first one or sends feedback to us, we can change the logic.

Thanks, @toshihikoyanase for your comment.

1reaction
xadrianzetxcommented, Nov 26, 2021

Sure, I’ll prioritize n_trials then! Will come back with implementation after the weekend.

Read more comments on GitHub >

github_iconTop Results From Across the Web

RFC 3261 SIP: Session Initiation Protocol - IETF
The transaction layer handles application-layer retransmissions, matching of responses to requests, and application-layer timeouts. Any task that a user agent ...
Read more >
Can I display $timeout value in progress bar? - Stack Overflow
If what you want is after starting a $timeout, find out how long it has left - then the answer is no. It...
Read more >
RFC 2543: SIP: Session Initiation Protocol
1 INVITE The INVITE method indicates that the user or service is being invited to participate in a session. · 2 ACK The...
Read more >
curl.1 the man page
curl normally displays a progress meter during operations, indicating the amount of transferred data, transfer speeds and estimated time left, etc. The progress...
Read more >
wget(1) - Linux manual page - man7.org
That setting may be overridden from the command line. For example, to force the bar output without scrolling, use --progress=bar:force:noscroll. --show-progress ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found