The initial PR to create the Keypoint R-CNN was this one 4, where mask_rcnn.py was split into different files by @fmassa.
Based on this I assume the Mask R-CNN paper was the base of these implementations, but let’s see what Francisco says.