DeepPoseKit icon indicating copy to clipboard operation
DeepPoseKit copied to clipboard

Cyclic pose graph freezing

Open richard-warren opened this issue 4 years ago • 2 comments

When the pose graph is cyclic (e.g. A->B->C->A), the while loop in graph_to_edges is infinite. I solved this in my fork by detecting cycles and giving them all their own edge group label.

It was also necessary to change this: edge_confidence = edge_confidence[..., 1:] to this: edge_confidence = edge_confidence[..., lines>=0].

I believe the former assumes the first confidence map corresponds to the parent of all parents. In cycles no such parent exists, so all the confidence maps should be shown. I'm sure you will have more elegant solutions to this problem. Please let me know if you have some ideas. Thanks!

richard-warren avatar Aug 23 '20 18:08 richard-warren

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

stale[bot] avatar Aug 30 '20 21:08 stale[bot]

This issue has been automatically closed because it has not had recent activity.

stale[bot] avatar Sep 06 '20 21:09 stale[bot]