xyupeng / ContrastiveCrop

[CVPR 2022 Oral] Crafting Better Contrastive Views for Siamese Representation Learning

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How can I use it for downstream tasks

123456789-qwer opened this issue · comments

If I want to use representation information for downstream tasks, which part of the feature should I use ?

For linear classification, please follow README. For object detection and instance segmentation, we use the same code as in MoCo.

I still haven't found how the pre-training model is used for target detection, could you give a specific explanation

Transferring to detection is the same as MoCo.

To be more specific, you need to first convert the saved model (last.pth) to detectron2's format. Then use detectron2's code to train detection.