jswulff / pcaflow

Other
87 stars 29 forks source link

Unable to run demo.py #4

Closed GMNetto closed 6 years ago

GMNetto commented 6 years ago

Hi,

I am able to normally compile with build.sh. However, when running demo.py I am getting the following python error

Re-allocating matcher...
Traceback (most recent call last):
  File "demo.py", line 46, in <module>
    u,v = P.compute_flow()
  File "/home/gustavo/pcaflow/pcaflow/PCAFlow.py", line 380, in compute_flow
    **kwargs)
  File "/home/gustavo/pcaflow/pcaflow/solver/EMSolver.py", line 364, in solve
    inliers,H,shape_I_orig)
  File "/home/gustavo/pcaflow/pcaflow/solver/EMSolver.py", line 493, in get_flow_GC
    point_models)
  File "/home/gustavo/pcaflow/pcaflow/solver/EMSolver.py", line 639, in _compute_unaries_color
    G = mixture.GMM(n_components=nc,covariance_type='full').fit(P)
AttributeError: 'module' object has no attribute 'GMM'