Detectron2: How to do semantic segmentation with detectron2?

Created on 15 Mar 2020  ยท  12Comments  ยท  Source: facebookresearch/detectron2

โ“ How to use Detectron2 to do semantic segmentation

Q: How to do semantic segmentation with detectron2?
Does anyone have any tutorials? Thx.

All 12 comments

@GiovanniPasq the colab has instance segmentation.
@Simon32 I'm also trying to write a semantic segmentation with detectron2.
you should have a look on this: https://github.com/facebookresearch/detectron2/blob/master/configs/Misc/semantic_R_50_FPN_1x.yaml

see the official tutorial: https://colab.research.google.com/drive/16jcaJoc6bCFAQ96jDe2HwtXj7BMD_-m5

Not this one, I want to do semantic segmentation. The official tutorial doesn't provide the corresponding tutorial.

@GiovanniPasq the colab has instance segmentation.
@Simon32 I'm also trying to write a semantic segmentation with detectron2.
you should have a look on this: https://github.com/facebookresearch/detectron2/blob/master/configs/Misc/semantic_R_50_FPN_1x.yaml

Hello, I want to use my custom dataset to do semantic segmentation.
Do you know how to preprocess the custom dataset?
Do you have any tutorials? thx.

@pvtien96 I'm also trying to do semantic segmentation with custom dataset using detectron2. Is the config in the link you sent for Mask-RCNN?

@Simon32 maybe yes. but what is the format of your datasets?
@vdopp234 I''m not sure. I'm training and will feedback later.

@Simon32 maybe yes. but what is the format of your datasets?
@vdopp234 I''m not sure. I'm training and will feedback later.

The coco format dataset.

@Simon32 maybe yes. but what is the format of your datasets?
@vdopp234 I''m not sure. I'm training and will feedback later.

The coco format dataset.

So it's easy. Just follow the official Colab tutorial.

@Simon32 maybe yes. but what is the format of your datasets?
@vdopp234 I''m not sure. I'm training and will feedback later.

The coco format dataset.

So it's easy. Just follow the official Colab tutorial.

Have you managed to make it work ?
Can you explain how to register a dataset with the expected input for semantic segmentation ? It's unclear how we should do that

Hello, any sample code for performing inference using "Semantic Segmentation

  • no sample for Semantic Segmentation available in the official document.

There are some examples here for using DeepLab for semantic segmentation with detectron2: https://github.com/facebookresearch/detectron2/tree/master/projects/DeepLab

Was this page helpful?
0 / 5 - 0 ratings

Related issues

marcoippolito picture marcoippolito  ยท  4Comments

guy4261 picture guy4261  ยท  4Comments

joeythegod picture joeythegod  ยท  4Comments

danielgordon10 picture danielgordon10  ยท  3Comments

invisprints picture invisprints  ยท  4Comments