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!
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:
-
Should I prepare PoseTrack dataset and annotations just like preparing COCO described in README?
Should human detection results of PoseTrack be prepared in advance? -
In PoseTrack, there're only 15 keypoints annotation (
left_ear
andright_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-initializeddx15
linear layer and freeze other parts of the model. Is this the correct way? -
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. )
- I suggest following the dataset preparation of mmpose for Posetrack.
- Yes. You also can use a smaller learning rate for the pre-trained layers.
- 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!