hding2455 / DSC

released code for CVPR2021: Deeply Shape-guided Cascade for Instance Segmentation
Other
15 stars 0 forks source link

DSC not in registry #7

Closed jaideep11061982 closed 2 years ago

jaideep11061982 commented 2 years ago

M not able to register the DSC to mm detect. I copy all the files that are needed for dsc.We cannot copy whole repo or else it might break some thing in latest version. So I am copying whatever got changed wrt to framework. let me know which step is still missing

!mkdir /kaggle/working/mmdetection/configs/dsc
!cp  /kaggle/input/dsc-configs/dsc_r50_fpn_1x_coco.py  /kaggle/working/mmdetection/configs/dsc
!cp /kaggle/input/dsc-configs/dsc_x101_32x4d_fpn_20e_coco.py  /kaggle/working/mmdetection/configs/dsc
!cp /kaggle/input/dsc-configs/dsc.py /kaggle/working/mmdetection/mmdet/models/detectors/
!cp /kaggle/input/dsc-configs/dsc_roi_head.py /kaggle/working/mmdetection/mmdet/models/roi_heads/
!cp /kaggle/input/dsc-configs/roi_heads_init.py /kaggle/working/mmdetection/mmdet/models/roi_heads/__init__.py

!cp ../input/dsc-configs/dsc_mask_head.py /kaggle/working/mmdetection/mmdet/models/roi_heads/mask_heads/

!cp /kaggle/input/dsc-configs/mask_head_init.py /kaggle/working/mmdetection/mmdet/models/roi_heads/mask_heads/__init__.py
!cp ../input/dsc-configs/dsc_bbox_head.py /kaggle/working/mmdetection/mmdet/models/roi_heads/bbox_heads/

!cp /kaggle/input/dsc-configs/bbox_heads_init.py /kaggle/working/mmdetection/mmdet/models/roi_heads/bbox_heads/__init__.py
jaideep11061982 commented 2 years ago

@hding2455

jaideep11061982 commented 2 years ago

@hding2455 any suggestion. if copy whole repo that will make latest version incompatible with rest of version. if you could suggest what else i missed, would be help ful

hding2455 commented 2 years ago

Sorry I was in the final week and didn't check the notification of the github. My suggestion is you can create a new virtual env to set up a corresponding version of packages and use the entire repo here.

jaideep11061982 commented 2 years ago

@hding2455 no worries thanks for your time. would you mind sharing the installation commands to install local version of mmdet. Latest version is looking to e incompatible with yours, so its installation will not work for your repo of mmdet. Request you to share installation commands to work with your mmdet version. Thanks in adavance.

jaideep11061982 commented 2 years ago

Update: I resolvd all the installation issue.