yangsenius / TransPose

PyTorch Implementation for "TransPose: Keypoint localization via Transformer", ICCV 2021.

Home Page:https://github.com/yangsenius/TransPose/releases/download/paper/transpose.pdf

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Transfer to other Datasets

EckoTan0804 opened this issue · comments

Hi,

Can TransPose be transferred to other datasets, e.g. MPII and PoseTrack? If yes, how should I perform the fine-tuning?

Many thanks in advance!

Yes, please see this version for reference.

Thanks for the response! I have read this update version and seen that pretrained TransPose models can be successfully transferred to MPII dataset.

I am trying to transfer TransPose to PoseTrack dataset and I have a few questions about the details:

  1. Should I prepare PoseTrack dataset and annotations just like preparing COCO described in README?
    Should human detection results of PoseTrack be prepared in advance?

  2. In PoseTrack, there're only 15 keypoints annotation (left_ear and right_ear are excluded compared to COCO). To transfer TransPose to PoseTrack, I try to replace the final layer of the pre-trained TransPose model with a uniform-initialized dx15 linear layer and freeze other parts of the model. Is this the correct way?

  3. How should I correctly conduct the fine-tuning? (I plan to train only the re-initialized last layer for a few epochs, then fine-tune the entire model for a few epochs. )

  1. I suggest following the dataset preparation of mmpose for Posetrack.
  2. Yes. You also can use a smaller learning rate for the pre-trained layers.
  3. Your plan seems to be effective. And setting different learning rates for pre-trained layers and the final layer might work well.

Thanks for your suggestion!