Demo
Notebooks
Tensorflow:
The four notebooks in this section use MaskRCNN and are from Matterport’s original implementation - as such they will not work in TF2. For newer versions see the TF Model Garden or the optimized for TPU repo.- This notebook demos MaskRCNN.
- This notebook visualizes the different pre-processing steps to prepare the training data.
- This notebook goes in depth into the steps performed to detect and segment objects. It provides visualizations of every step of the pipeline.
- This notebook inspects the weights of a trained model and looks for anomalies and odd patterns.
Pytorch:
There are two main implementations of MaskRCNN. The Detectron2 library, that is oriented towards research projects, offering more flexibility but a steeper learning curve and the model shipped as part of the torchvision library that is simpler to use at the expense of configurability.- Detectron shows how an existing pretrained model can be used to do instance segmentation on new classes and how video can be processed via a relevant pipeline.
- Torchvision shows how an existing pretrained model can be used to do instance segmentation on new classes and how video can be processed via a relevant pipeline.
References
- Chen, L., Zhu, Y., Papandreou, G., Schroff, F., Adam, H. (2018). Encoder-decoder with atrous separable convolution for semantic image segmentation.
- He, K., Gkioxari, G., Dollár, P., Girshick, R. (2017). Mask R-CNN.
- Peng, C., Xiao, T., Li, Z., Jiang, Y., Zhang, X., et al. (2017). MegDet: A Large Mini-Batch Object Detector.
- Ren, S., He, K., Girshick, R., Sun, J. (2015). Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networks.

