pystruct.inference.
inference_qpbo
(unary_potentials, pairwise_potentials, edges, **kwargs)[source]¶Inference with PyQPBO backend.
Used QPBOI based movemaking for undergenerating inference.
Parameters:  unary_potentials : ndarray, shape (n_nodes, n_nodes)
pairwise_potentials : ndarray, shape (n_states, n_states) or (n_states, n_states, n_edges).
edges : ndarray, shape (n_edges, 2)


Returns:  labels : ndarray
