Closed menggui1993 closed 3 years ago
Each conv block contains two conv layers,so dropblock is inserted after the second conv block. And SPP is inserted after the first layer of the second block.
Is SPP inserted or replacing the conv? In the code, it seems that it will replace the second conv of the second block.
In fact, the SPP module is consisted of spp layer and a conv layer, so the SPP module replaces the second conv of the second layer while ths spp layer is inserted the first layer of the second block.
Thanks.
In pp-yolov2, dropblock and spp are used in the PAN. In the paper, it seems that dropblock and spp are inserted after the second Conv Block in the Detection Block.
However, in your code, it seems they are inserted after the third Conv Block. https://github.com/PaddlePaddle/PaddleDetection/blob/66d7eefab9aca8243ddf49a52b748b786b80ffb5/ppdet/modeling/necks/yolo_fpn.py#L910
Though I think this might not affect the results much, is there any reason for making the change?