Skip to content

Commit

Permalink
Fix getPoseMaxPeaks bug in Python API (CMU-Perceptual-Computing-Lab#930)
Browse files Browse the repository at this point in the history
  • Loading branch information
wbadart authored and gineshidalgo99 committed Nov 16, 2018
1 parent 0fff5a6 commit eedc754
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/openpose/_openpose.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ OP_API class OpenPose {
resizeAndMergeCaffe->Reshape(caffeNetOutputBlobs, { heatMapsBlob.get() },
op::getPoseNetDecreaseFactor(poseModel), 1.f / 1.f, true,
0);
nmsCaffe->Reshape({ heatMapsBlob.get() }, { peaksBlob.get() }, op::getPoseMaxPeaks(poseModel),
nmsCaffe->Reshape({ heatMapsBlob.get() }, { peaksBlob.get() }, op::getPoseMaxPeaks(),
op::getPoseNumberBodyParts(poseModel), 0);
bodyPartConnectorCaffe->Reshape({ heatMapsBlob.get(), peaksBlob.get() });

Expand Down

0 comments on commit eedc754

Please sign in to comment.