wbenbihi / hourglasstensorflow

Tensorflow implementation of Stacked Hourglass Networks for Human Pose Estimation
MIT License
479 stars 177 forks source link

an issue about _hourglass #65

Closed lsvery666 closed 2 years ago

lsvery666 commented 4 years ago

I'm wondering a detail in _hourglass function: if n > 0: low_2 = self._hourglass(low_1, n-1, numOut, name = 'low_2') else: low_2 = self._residual(low_1, numOut, name = 'low_2') Why it is "n > 0" rather than "n > 1"? When nLow = 4, there should be 4 downsampling step. However, if you write "n > 0", there will be 5 downsampling step when nLow = 4. Did I make a mistake? Can someone give me an answer?