Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

ConvNeXt port for Detectron2 framework. #43

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

shivamsnaik
Copy link

@shivamsnaik shivamsnaik commented Jan 26, 2022

The files are located at: object_detection/detectron2.

Summary of the files modified/added:

File Description
object_detection/detectron2/models/backbones/config.py - Contains the additional config entries.. add_convnext_config(cfg) to be imported and called during config build process.
object_detection/detectron2/models/backbones/convnext.py BACKBONE registery with Detectron2. Update BACKBONE.NAME to build_convnext_fpn_backbone in config file for using ConvNeXt as backbone.
object_detection/detectron2/models/configs/Base-RCNN-FPN.yaml Base YAML file(Standard file provided by Detectron2).
object_detection/detectron2/models/configs/convnext_mask_rcnn_fpn_1x.yaml Final config file to be used by the detectron2 framework to use ConvNeXt along with Faster-RCNN or Mask-RCNN.

I have tested the backbone with standard detectron2 project for training along with Mask-RCNN. As the project already exists at the Detectron2 repository, I only added the required module files to the pull request.

Kindly accept the PR if the changes follow the guidelines and helps in any way. Thanks!.

The files are located at: object_detection/detectron2.
- object_detection/detectron2/models/backbones/config.py
	- Contains the additional config entries.
	- add_convnext_config(cfg) to be imported and called in during config build process.
- object_detection/detectron2/models/backbones/convnext.py
	- BACKBONE registery with Detectron2.
	- Update BACKBONE.NAME to 'build_convnext_fpn_backbone' in config file for using ConvNeXt as backbone.
- object_detection/detectron2/models/configs/Base-RCNN-FPN.yaml
	- Base YAML file(Standard file provided by Detectron2).
- object_detection/detectron2/models/configs/convnext_mask_rcnn_fpn_1x.yaml
	- Final config file to be used by the detectron2 framework to use ConvNeXt along with Faster-RCNN or Mask-RCNN.
@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jan 26, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants