New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Got blank webpage #5
Comments
@sunshineatnoon : Any update on this? Did it work for you? I seem to have the same issue. Nothing shows up on the graph, although the model appears to do fine publishing data to the web server. I tried the solution suggested by @tjrileywisc, using the ip address in the callback instead of 'localhost', still got the blank page. Any advice on this? Appreciate any feedback as soon as you can. Thanks. |
@dxdoan What browser are you using? If you bring up the browser's dev console (F12 I think in all browsers, you'll have to double check), do you see any errors listed there? |
@tjrileywisc I'm using Chrome. In the browser dev console's Network tab, besides the successful loads of js and css, I see a request for resource called end/ that's "pending" like forever, and it's requesting the URL http://192.168.99.100:9000/subscribe/epoch/end/ (192.168.99.100 is of course the IP of my virtual machine). |
@tjrileywisc I'm not sure if the problem is due to my model script and/or data itself. It runs over only 55 epoches, and it appears to complete them all fine. But right after that, the script encounters an exception. I'm not sure if the graph not showing up is because of this exception? I suspect not, because as soon as the script publishes some data to the server in each epoch (and it does that for the entire 55 epoches), that data should be available for the client to plot on the graph, right? The graph plots data live in basically real-time, right? |
Figured out the problem. In file api.py, line 35, the statement self.desc_map.iteritems() causes exception, since I use python 3. Changing it to self.desc_map.items() works. |
In my case, when I use the default header, i.e. |
@bigben-plusplus I just had same issues with headers. Not sure why it's happening, but seems to be a result of this commit. Mine also works if I just set headers to None when constructing new instance of RemoteMonitor. keras-team/keras@ad5e29a |
I am using python 3.5.2 and the fix that worked for me is as follow: I updated the encode method in the api.py file to use items() instead of iteritems(). Cheers |
Awesome project!
I use Keras 0.32 with theano backend and add the callback in model.fit_generator() function, but nothing appears on my webpage. Did I do anything wrong? I did get some messages on the command line:
I use firefox by the way. THX
The text was updated successfully, but these errors were encountered: