mx-maskrcnn icon indicating copy to clipboard operation
mx-maskrcnn copied to clipboard

why should fix parameters in training maskrcnn?

Open gaosanyuan opened this issue 7 years ago • 4 comments

In mx-maskrcnn, there are FIXED_PARAMS and FIXED_PARAMS_SHARED in the config. It it obvious that FIXED_PARAMS_SHARED is needed, but why should need FIXED_PARAMS? I tried in faster rcnn, the result would be better if FIXED_PARAMS is set empty. In default, the FIXED_PARAMS is: ['conv0', 'stage1', 'gamma', 'beta'].

gaosanyuan avatar Feb 28 '18 02:02 gaosanyuan

@gaosanyuan , I met similar problem to you. I want to ask you where this parameter 'FIXED_PARAMS_SHARED' is used? What's the meaning of this part? Any advice will be appreciated. Thank you very much.

hdjsjyl avatar Mar 15 '18 01:03 hdjsjyl

Generally, once a parameter is fixed, it will not be updated in the training process. In mxnet framework, the fixed parameter works as a parameter of the Module class. Please refer to mxnet.module.Module. @hdjsjyl

gaosanyuan avatar Mar 16 '18 02:03 gaosanyuan

@gaosanyuan , I get it. Thanks

hdjsjyl avatar Mar 23 '18 16:03 hdjsjyl

@gaosanyuan In the last train_maskrcnn stage, it was initialized with rpn2+rcnn1. But I found it actually be initialized with rcnn1 for the rpn2's feature extraction part was initialized with rcnn1 and fixed during the training. Is that right?

zl1994 avatar Apr 18 '18 02:04 zl1994