論文:https://arxiv.org/abs/1603.06937
代碼:https://github.com/princeton-vl/pytorch_stacked_hourglass
結構圖:

這個模塊的代碼為:

主要class Hourglass:這個類包含了圖中的結構,為什么結構是這樣的?代碼中由遞歸,所以結果為如此?
一個小的組成部分Residual模塊為如下圖中左邊的圖:

Hourglass結構在多人姿態(tài)估計中使用,被引入到目標檢測中,在CornerNet[1]和CenterNet[2]中兩篇論文中使用Hourglass結構。
[1].Law H, Deng J. CornerNet: Detecting Objects as Paired Keypoints[C]. european conference on computer vision, 2018: 765-781
[2].Duan K, Bai S, Xie L, et al. Centernet: Keypoint triplets for object detection[C]//Proceedings of the IEEE International Conference on Computer Vision. 2019: 6569-6578.