Closed chekh closed 3 weeks ago
👍 I have the same issue
I have the same issue. Seems to have something to do with the contour graph rendering.
Thank you for your report. @porink0424 is working on fixing this bug 🙏
@chekh @berombau @xianglun918 @ZWL-S @thomasroodnl Thank you again for reporting this bug. It has been fixed in #988 and is now available in the v0.17.0 release! https://github.com/optuna/optuna-dashboard/releases/tag/v0.17.0 https://pypi.org/project/optuna-dashboard/0.17.0/
Description
There is an issue with the visualization of contour plots in Optuna Dashboard when using categorical parameters. The problem occurs when trying to plot a contour graph with a categorical parameter on either the X or Y axis. The dashboard page turns completely white, and no content is displayed, although data is successfully loaded into the browser.
The issue seems to stem from an error in the JavaScript bundle.js script, which prevents the proper rendering of the page. This behavior is reproducible by running the provided Python script, launching the Optuna Dashboard, and navigating to the "Analytics" page to select categorical parameters for the contour plot.
This problem affects users who rely on Optuna Dashboard for visualizing the results of optimization studies, especially when using categorical parameters in their trials.
Chrome console log:
How to Reproduce
Optuna's Dashboard "Analitics" page works correctly with various types of parameters, including categorical ones. The issue appears when visualizing contour plots with categorical parameters.
Run the attached code: Use the provided Python script to create and optimize a study using Optuna, then launch the Optuna Dashboard.
Open the "Analytics" page, then select any categorical parameter for either axis in the contour plot. The problem occurs when selecting a categorical parameter.
An error occurs: When selecting a categorical parameter for the X or Y axis in the contour plot, the entire dashboard page turns white, leaving only a blank screen. Data is successfully loaded into the browser, but an error occurs in the bundle.js script, causing the page to fail rendering.
Test code to reproduce bug:
Python version
3.11
Optuna version
4.0.0
optuna-dashboard version or git revision
0.16.2
Web browser
Google Chrome, Yandex, Safari