reiinakano / xcessiv

A web-based application for quick, scalable, and automated hyperparameter tuning and stacked ensembling in Python.
http://xcessiv.readthedocs.io
Apache License 2.0
1.27k stars 105 forks source link

xcessiv server #66

Open benman1 opened 6 years ago

benman1 commented 6 years ago

Hi This project looks very cool, but I am having some problems with the setup. I am running this in a container (my own), and I can't get the server to show up. From inside the container I can see the server running - ps shows xcessiv running and curl localhost:1994 gives me some HTML from xcessiv. From outside the container, however, there's nothing.

I suppose that's down to the server.py file which I have now changed to this:

  1 from __future__ import absolute_import, print_function, division, unicode_literals¬                                                                              
  2 from gevent.wsgi import WSGIServer¬
  3 # import webbrowser¬
  4 ¬
  5 ¬
  6 def launch(app):¬
  7     http_server = WSGIServer(('0.0.0.0', app.config['XCESSIV_PORT']), app)¬
  8     # webbrowser.open_new('http://localhost:' + str(app.config['XCESSIV_PORT']))¬
  9     http_server.serve_forever()¬

I have changed the WSGIServer setup to be open to outside connection (I suppose that's what I changed), but it's still not showing up.

Feedback appreciated. I'd like to try this out. Thanks!