snorkel-team / snorkel

A system for quickly generating training data with weak supervision
https://snorkel.org
Apache License 2.0
5.81k stars 857 forks source link

Viewer: Empty Panel upon First Render #670

Closed jason-fries closed 7 years ago

jason-fries commented 7 years ago

When instantiating the SentenceNgramViewer class from a list of Candidate objects, the viewer's first first panel renders as blank

from snorkel.viewer import SentenceNgramViewer
SentenceNgramViewer(labeled, session)

empty

Navigating forward then backward fixes the issue filled

So some javascript render event isn't firing properly upon init?

ajratner commented 7 years ago

@jason-fries I've never had this happen, is this just on the default Spouses tutorial?

ajratner commented 7 years ago

Hi @jason-fries can't reproduce this issue in the intro tutorial, where should we look for it? Maybe just merge everything in and then see if it's still happening after the release?

jason-fries commented 7 years ago

I just tested this again on the public AWS instance and I can reproduce the error on:

Google Chrome 59.0.3071.115 (Official Build) (64-bit) Firefox 54.0.1 (64-bit) Safari 10.1.1 (10603.2.5)

See Slack for the connection information to test on your machine :)