IntelLabs / coach

Reinforcement Learning Coach by Intel AI Lab enables easy experimentation with state of the art Reinforcement Learning algorithms
https://intellabs.github.io/coach/
Apache License 2.0
2.33k stars 461 forks source link

fix dashboard to allow connections from a remote machine. #231

Closed gal-leibovich closed 5 years ago

gal-leibovich commented 5 years ago

Closes #224

Altriaex commented 5 years ago

I am new to coach. Could you please provide some instructions for using dashboard from a remote machine. For example, say coach is running on a EC2 instance, and I am about to use dashboard on my local machine.

gal-leibovich commented 5 years ago

Hi @Altriaex, I haven't personally tried having dashboard run on a EC2 machine and view the results locally, but I don't see any reason for it not to work, as I do so with other remote machines.

The idea is that you have to run dashboard -rc -d <path_to_your_experiment_dir_containing_the_experiment_csv>, which will have a Bokeh server running on your remote machine, and serving for incoming http requests. You then can connect to that server, by firing up your browser, and connecting to your remote machine to - http://ip_address_goes_here:<port>/dashboard. You get the port number from the dashboard prints to the terminal. e.g. Bokeh app running at: http://localhost:47921/dashboard.