Closed zhiqi-li closed 10 months ago
We support DCNv4 in InternImage.
with DCNv3: ./dist_test.sh configs/coco/mask_rcnn_internimage_t_fpn_1x_coco.py mask_rcnn_internimage_t_fpn_1x_coco.pth 8 --eval bbox
./dist_test.sh configs/coco/mask_rcnn_internimage_t_fpn_1x_coco.py mask_rcnn_internimage_t_fpn_1x_coco.pth 8 --eval bbox
with DCNv4 (install pip install DCNv4) ./dist_test.sh configs/coco/mask_rcnn_internimage_t_fpn_1x_coco_with_dcnv4.py mask_rcnn_internimage_t_fpn_1x_coco.pth 8 --eval bbox
pip install DCNv4
./dist_test.sh configs/coco/mask_rcnn_internimage_t_fpn_1x_coco_with_dcnv4.py mask_rcnn_internimage_t_fpn_1x_coco.pth 8 --eval bbox
Due to the special design of DCNv4, DCNv4 is slightly incompatible with InternImage and requires conversion before it can be used, which affects efficiency to a certain extent. For a better experience, users can try to use FlashInternImage.
We support DCNv4 in InternImage.
with DCNv3:
./dist_test.sh configs/coco/mask_rcnn_internimage_t_fpn_1x_coco.py mask_rcnn_internimage_t_fpn_1x_coco.pth 8 --eval bbox
with DCNv4 (install
pip install DCNv4
)./dist_test.sh configs/coco/mask_rcnn_internimage_t_fpn_1x_coco_with_dcnv4.py mask_rcnn_internimage_t_fpn_1x_coco.pth 8 --eval bbox
Due to the special design of DCNv4, DCNv4 is slightly incompatible with InternImage and requires conversion before it can be used, which affects efficiency to a certain extent. For a better experience, users can try to use FlashInternImage.