facebookresearch / detectron2

Detectron2 is a platform for object detection, segmentation and other visual recognition tasks.
https://detectron2.readthedocs.io/en/latest/
Apache License 2.0
30.51k stars 7.48k forks source link

yaml file for regnet? #3805

Closed pure-rgb closed 2 years ago

pure-rgb commented 2 years ago

we can do

cfg.merge_from_file(model_zoo.get_config_file("COCO-InstanceSegmentation/mask_rcnn_X_101_32x8d_FPN_3x.yaml"))
cfg.MODEL.WEIGHTS = model_zoo.get_checkpoint_url("COCO-InstanceSegmentation/mask_rcnn_X_101_32x8d_FPN_3x.yaml") 

from this how to use

image

or

https://github.com/facebookresearch/detectron2/blob/main/configs/COCO-InstanceSegmentation/mask_rcnn_regnetx_4gf_dds_fpn_1x.py

ppwwyyxx commented 2 years ago

https://github.com/facebookresearch/detectron2/blob/main/MODEL_ZOO.md#how-to-read-the-tables has explained how to use the model zoo.