Detectron2: config-description-eng

Created on 5 Mar 2020  路  7Comments  路  Source: facebookresearch/detectron2

馃殌 Feature

A clear and concise description of the feature proposal.
Full description of config like in Catalyst (https://github.com/catalyst-team/catalyst/blob/master/examples/configs/config-description-eng.yml).

Motivation & Examples

Dear developers of Detectron2. I like you product. But I have problems with you configs. Sometimes I don't understand, meaning of field in config.
Thank in Advance!

Instead of adding features inside detectron2,
you can implement many features by extending detectron2.
The projects/ directory
contains many of such examples.

All 7 comments

@ppwwyyxx I think this issue is relative to all config questions, so I will post my question here. In config there is field MODEL.BACKBONE.FREEZE_AT = 2. As I understand it freezes first 2 stages of ResNet by default. So for not freezing at all I should make MODEL.BACKBONE.FREEZE_AT = 0?

Yes

@ppwwyyxx what is the purpose of freezing first 2 conv layers and make it default value?

Papers of these algorithms did it.

When Fast R-CNN was originally developed, there wasn't enough GPU memory to perform the backward pass on the first 2 resolution stages with VGG-16, so they were frozen to make training feasible. Subsequently, we've found that when using ImageNet pretraining, freezing the first two resolution stages typically improves AP (as well as reducing memory usage and making training faster).

Thanks, I got it. May be it happens because of "common" domain between ImageNet and COCO, so it worth to experiment with unfreezing on custom datasets.

Was this page helpful?
0 / 5 - 0 ratings