sherpa-ai / sherpa

Hyperparameter optimization that enables researchers to experiment, visualize, and scale quickly.
http://parameter-sherpa.readthedocs.io/
GNU General Public License v3.0
333 stars 54 forks source link

Dashboard not accessible #59

Closed martsalz closed 5 years ago

martsalz commented 5 years ago

I have installed all required packages and executed the above example. The web interface is not reachable. An error message etc. is not displayed - what could be the reason?

Running in a venv under Python 3.5

image

image

LarsHH commented 5 years ago

Hi Martin, Did you try both of the provided URLs? If there is no error message I’m assuming the dashboard is running but the displayed address is wrong. The port should be correct. Are you on MacOS or Ubuntu?

martsalz commented 5 years ago

Yes, both. I installed Sherpa under Ubuntu 16.04. I also have admin rights on my system.

martsalz commented 5 years ago

(This was a "clean" installation without other software or packages)

martsalz commented 5 years ago

Which system do you use for Sherpa? Which Python version? A virtual environment?

Thanks

LarsHH commented 5 years ago

I have two setups:

I have just merged pull request https://github.com/sherpa-ai/sherpa/pull/51 that I'm wondering if it could help with your issue. When you get a chance could you pull from master and try again? If you pip-installed can you clone from Github instead? If you previously pip installed and are cloning now let me know if you run into any issues in setting up - it is mainly that the PyPi version is always a little bit behind the Github version.

martsalz commented 5 years ago

It seems to be working now. I executed simple.py, probably the webserver was shut down immediately afterwards.

When I run the simple.ipynb or mnist_mlp.ipynb, the server is started and can be reached via the browser. However, the display in the upper area irritates me slightly:

image

(tested with Firefox and Chrome)

LarsHH commented 5 years ago

Could you pull once more from master and rerun? I just added a fix for this.

LarsHH commented 5 years ago

The file sherpa/sherpa/app/templates/index.html should have this on line 4: <div class="mdl-card mdl-shadow--2dp" style="position: absolute; height: 60%; width: 100%;">

martsalz commented 5 years ago

It works, thanks.