Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running trials not showing in the Timeline graph #820

Closed
mikazlopes opened this issue Mar 4, 2024 · 6 comments
Closed

Running trials not showing in the Timeline graph #820

mikazlopes opened this issue Mar 4, 2024 · 6 comments
Labels
bug Something isn't working

Comments

@mikazlopes
Copy link

Description

In the Timeline graph, the Trials status that completed, were pruned or failed, displays correctly with the correct duration in terms of bar length. The running trials are not displayed, it is just an empty space, they eventually show when they complete, fail or are pruned.

image

How to Reproduce

Start the Trials and check the Timeline horizontal bar graph in the dashboard. Trials only start showing if they fail, are completed or are pruned.

Python version

3.10

Optuna version

3.5.0

optuna-dashboard version or git revision

0.14.0

Web browser

Same behavior on all browsers

@mikazlopes mikazlopes added the bug Something isn't working label Mar 4, 2024
@nabenabe0928
Copy link
Collaborator

nabenabe0928 commented Mar 4, 2024

Thank you for the report, and fortunately, this issue was already solved in this PR:

$ pip install git+https://github.com/optuna/optuna-dashboard@main

@mikazlopes
Copy link
Author

Thank you for the quick reply

@mikazlopes
Copy link
Author

mikazlopes commented Mar 4, 2024

Quick question the pip install, is it for optuna-integration or optuna-dashboard? It should be optuna-dashboard right?

Update:

I did the install command using optuna-dashboard and ran it.

The dashboard stays stuck saying loading and I had this line on my console

optuna>=3.6.0 is required for PedAnovaImportanceEvaluator.

uninstalled and installed 0.14 and it is working again. I guess this dev version requires me to also get the latest dev from optuna and build it.

@nabenabe0928
Copy link
Collaborator

nabenabe0928 commented Mar 5, 2024

@mikazlopes
Sorry, it was optuna-dashboard not optuna-integration.

The dashboard stays stuck saying loading and I had this line on my console

Hm, it works in my environment...

$ python -c "import optuna_dashboard; print(optuna_dashboard.__version__)"
optuna>=3.6.0 is required for PedAnovaImportanceEvaluator.
0.14.0

$ optuna-dashboard sqlite:///dev-test.db
optuna>=3.6.0 is required for PedAnovaImportanceEvaluator.
[2024-03-05 04:00:00 +0100] [13234] [INFO] Starting gunicorn 20.0.4
[2024-03-05 04:00:00 +0100] [13234] [INFO] Listening at: http://127.0.0.1:8080 (13234)
[2024-03-05 04:00:00 +0100] [13234] [INFO] Using worker: threads
[2024-03-05 04:00:00 +0100] [13256] [INFO] Booting worker with pid: 13256

$ python -c "import optuna; print(optuna.__version__)"
3.5.0

Did you make sure that your local host 8080 was not in use when you tried launching the dashboard?

It would be helpful if you could provide me with an example code/command to reproduce your issue.

@c-bata
Copy link
Member

c-bata commented Mar 5, 2024

@mikazlopes @nabenabe0928 Thank you for trying out the Optuna Dashboard!

Actually, the command pip install git+https://github.com/optuna/optuna-dashboard@main doesn't work as it stands because Optuna Dashboard requires a pre-built JavaScript file. You'll have to wait for the next minor release, or alternatively, you can use the development version in the following steps:

$ git clone git@github.com:optuna/optuna-dashboard.git
$ cd optuna-dashboard/
$ npm install
$ npm run build:dev
$ pip install .

Please refer to CONTRIBUTING.md for further details.

@nabenabe0928
Copy link
Collaborator

@c-bata
Thank you for your comment and sorry for the confusion, @mikazlopes ..!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants