Detectron2: How to load only weights?

Created on 30 Jan 2020  路  2Comments  路  Source: facebookresearch/detectron2

I trying to start new train stage without loading optimizer and scheduler from previous checkpoint. The resume flag is set to false, but these states(optimizer, scheduler) are still loaded.... and i can't valuably configure new stage of training procedure.
How do i configure the train config to load only weights?

Most helpful comment

All 2 comments

You can read/write the weight file using torch.load/save and modify the object directly.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

invisprints picture invisprints  路  4Comments

ChungNPH picture ChungNPH  路  3Comments

joeythegod picture joeythegod  路  4Comments

kl720 picture kl720  路  3Comments

marcoippolito picture marcoippolito  路  4Comments