Transfer Learning Classification with MMPretrain #1669
-
Please correct me if I am missing something, but as far as I understood training "custom" datasets by using the given configs does not use any pretrained weights (e.g. for Resnet18), as this repo is meant to do the actual pretraining. Now if I instead do want to do some classic finetuning for classification tasks, using pretrained weights, is there some recommendation how to approach this task with this repo? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
as the example:
model.backbone.init_cfg = dict(type='Pretrained', checkpoint="path_or_url", prefix='backbone',) do the load pretrained weight configuration. |
Beta Was this translation helpful? Give feedback.
how to ft
refer to this tutorial.as the example: