FIX plotting shouldn't happen within AbstractEndToEnd.py

Issue #11 resolved
Mike Hughes repo owner created an issue

If --nocapture is on in nosetests, AbstractEndToEnd.py calls plotGauss2DFromHModel, which relies on the allocModel having a w attribute (FiniteHMM, however, doesn't have a w). This is the relevant part of the traceback:

Comments (2)

  1. Mike Hughes reporter
    • tests shouldn't automatically plot things. I wrote this in to debug, but I guess I forgot to remove it. We should go ahead and remove this call to plotting. There maybe should be some flag for plotting debugging info for a test, but until we figure out the right framework, let's remove this stuff.
    • plotGauss2D should in the future be able to show a 2D contour plot of learned ellipses even for your HMM stuff. I'll dig into the relevant code and figure out the right interface... maybe we just need the HMM model to support something like "get_comp_appearance_probs()" that would return a "w" vector (or even just a coarse estimate).
  2. Log in to comment