PKU-DAIR / open-box

Generalized and Efficient Blackbox Optimization System
https://open-box.readthedocs.io
Other
356 stars 52 forks source link

可视化显示问题Visualization Problem #93

Open dingzr2001 opened 2 months ago

dingzr2001 commented 2 months ago

当在可视化html文件夹下开启http服务时,未能正确显示图像与数据。经过分析,可能是由于可视化网页的js与html、css文件不在同一文件夹中,导致每次只能从根目录打开http服务进行可视化,再逐层通过浏览器操作,打开html文件,不太方便。 When opening an HTTP server in the folder where the visualization HTML file is located, the images and data are not displayed correctly. After analysis, it is possible that the issue is caused by the JavaScript file of the visualization webpage not being in the same folder as the HTML and CSS files. This results in the need to open the HTTP server from the root directory every time for visualization, which is not very convenient.

jhj0411jhj commented 2 months ago

Please try to open the HTML file directly instead of running an HTTP server (e.g., opening via PyCharm). We may update the file-locating logic in the future. Thanks for the issue.