Mmdetection: "Pretrained" vs "Load from"

Created on 23 Aug 2019  路  1Comment  路  Source: open-mmlab/mmdetection

What is the difference between these two params?

I've been using only "pretrained" to load pretrained model checkpoints for finetuning, and seeing poor results. I have not used "load_from."

After looking through the code, I can't seem to find a place where the value of "pretrained" is actually used to load weights, so I suspect I may actually have been training from scratch each time.

Do I need to use "load_from" in order to fine tune pretrained models? What is the purpose of each param and what is the difference?

Thanks

Most helpful comment

pretrained means using pretrained weights in backbone, this can be downloaded automatically

load_from means using pretrained weights in full model, including necks, heads, etc. This must be download manually.

>All comments

pretrained means using pretrained weights in backbone, this can be downloaded automatically

load_from means using pretrained weights in full model, including necks, heads, etc. This must be download manually.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

yangcong955 picture yangcong955  路  3Comments

liugaolian picture liugaolian  路  3Comments

fengxiuyaun picture fengxiuyaun  路  3Comments

tianxinhang picture tianxinhang  路  3Comments

happog picture happog  路  3Comments