Skip to content
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

Old context get lost when too many WebGL contexts exist #137

Closed
tommy-qichang opened this issue Aug 20, 2017 · 3 comments
Closed

Old context get lost when too many WebGL contexts exist #137

tommy-qichang opened this issue Aug 20, 2017 · 3 comments

Comments

@tommy-qichang
Copy link

tommy-qichang commented Aug 20, 2017

Hi,
When I use visdom, there are two things really annoying. One is the order of the plot is messed up(as #134 mentioned). Another one is old context get lost when too many WebGL contexts exist, even after sorting the plot. I save few 3d scatter plots every epoch, and I found the plots from past epoch disappeared even if I filter the plot and just allow few plot to show.
disappeared plot

I think I can fix this part next few weeks if you think it's necessary.

Thanks.
Qi

@tommy-qichang tommy-qichang changed the title [Feature Request] Old context get lost when too many WebGL contexts exist Aug 20, 2017
@lvdmaaten
Copy link
Contributor

lvdmaaten commented Aug 20, 2017 via email

@tommy-qichang
Copy link
Author

tommy-qichang commented Aug 20, 2017

Thanks for your timely reply, Ivdmaaten,

I think there are several ways to accelerate the process. I just quickly checked the implementation in Visdom. When filtering the plots, Visdom simply hides the other grid. That's the reason the plot still blank when filter.
screen shot 2017-08-20 at 12 37 24 pm

I think if there are too many Plotly plots, it's reasonable to disable the older plots. However, if we filter and narrow down the number of results, Visdom should refresh the whole layout and just render few nodes.

Side notes, it's very strange plot.ly use SVG instead of WebGL to render the plot. I use Chrome which should support WebGL.
screen shot 2017-08-20 at 12 33 19 pm

@JackUrb
Copy link
Contributor

JackUrb commented Apr 18, 2018

Closing this issue as more on the plotly side than visdom - even if we did disable plots on filter, how would we select which ones to re-enable moving forward? Using multiple envs seems to be the correct approach to prevent loss of context in visdom.

If somebody comes up with a good solution/behavior for this issue I'd be happy to accept a PR that implements their solution, otherwise we'll await plot.ly

@JackUrb JackUrb closed this as completed Apr 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants