├── .gitignore ├── .gitmodules ├── LICENSE ├── README.md ├── data ├── images │ ├── 0.jpg │ ├── 1.jpg │ ├── 10.jpg │ ├── 11.jpg │ ├── 12.jpg │ ├── 13.jpg │ ├── 14.jpg │ ├── 15.jpg │ ├── 16.jpg │ ├── 17.jpg │ ├── 2.jpg │ ├── 3.jpg │ ├── 4.jpg │ ├── 5.jpg │ ├── 6.jpg │ ├── 7.jpg │ ├── 8.jpg │ └── 9.jpg └── trainval.json └── mmdetection_train_custom_coco_data_segmentation.ipynb /.gitignore: -------------------------------------------------------------------------------- 1 | *.pyc 2 | *.ipynb_checkpoints 3 | __pycache__ 4 | .vscode/ 5 | experiments/ -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "mmdetection"] 2 | path = mmdetection 3 | url = https://github.com/open-mmlab/mmdetection.git 4 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | COPYRIGHT 2 | 3 | All contributions by François Chollet: 4 | Copyright (c) 2015 - 2018, François Chollet. 5 | All rights reserved. 6 | 7 | All contributions by Google: 8 | Copyright (c) 2015 - 2018, Google, Inc. 9 | All rights reserved. 10 | 11 | All contributions by Microsoft: 12 | Copyright (c) 2017 - 2018, Microsoft, Inc. 13 | All rights reserved. 14 | 15 | All other contributions: 16 | Copyright (c) 2015 - 2018, the respective contributors. 17 | All rights reserved. 18 | 19 | Each contributor holds copyright over their respective contributions. 20 | The project versioning (Git) records all such contribution source information. 21 | 22 | LICENSE 23 | 24 | The MIT License (MIT) 25 | 26 | Permission is hereby granted, free of charge, to any person obtaining a copy 27 | of this software and associated documentation files (the "Software"), to deal 28 | in the Software without restriction, including without limitation the rights 29 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 30 | copies of the Software, and to permit persons to whom the Software is 31 | furnished to do so, subject to the following conditions: 32 | 33 | The above copyright notice and this permission notice shall be included in all 34 | copies or substantial portions of the Software. 35 | 36 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 37 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 38 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 39 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 40 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 41 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 42 | SOFTWARE. 43 | 44 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # [How to train an instance segmentation model with mmdetection](https://www.dlology.com/blog/how-to-create-custom-coco-data-set-for-instance-segmentation/) | DLology blog 2 | 3 | ## Quick start 4 | Train an object detection with Google Colab and free GPU. 5 | 6 | 7 | Train with custom COCO dataset. 8 | [![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/Tony607/mmdetection_instance_segmentation_demo/blob/master/mmdetection_train_custom_coco_data_segmentation.ipynb) -------------------------------------------------------------------------------- /data/images/0.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tony607/mmdetection_instance_segmentation_demo/df8f8d10fb34103a21834bf6386d4101a9b9fe3e/data/images/0.jpg -------------------------------------------------------------------------------- /data/images/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tony607/mmdetection_instance_segmentation_demo/df8f8d10fb34103a21834bf6386d4101a9b9fe3e/data/images/1.jpg -------------------------------------------------------------------------------- /data/images/10.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tony607/mmdetection_instance_segmentation_demo/df8f8d10fb34103a21834bf6386d4101a9b9fe3e/data/images/10.jpg -------------------------------------------------------------------------------- /data/images/11.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tony607/mmdetection_instance_segmentation_demo/df8f8d10fb34103a21834bf6386d4101a9b9fe3e/data/images/11.jpg -------------------------------------------------------------------------------- /data/images/12.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tony607/mmdetection_instance_segmentation_demo/df8f8d10fb34103a21834bf6386d4101a9b9fe3e/data/images/12.jpg -------------------------------------------------------------------------------- /data/images/13.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tony607/mmdetection_instance_segmentation_demo/df8f8d10fb34103a21834bf6386d4101a9b9fe3e/data/images/13.jpg -------------------------------------------------------------------------------- /data/images/14.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tony607/mmdetection_instance_segmentation_demo/df8f8d10fb34103a21834bf6386d4101a9b9fe3e/data/images/14.jpg -------------------------------------------------------------------------------- /data/images/15.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tony607/mmdetection_instance_segmentation_demo/df8f8d10fb34103a21834bf6386d4101a9b9fe3e/data/images/15.jpg -------------------------------------------------------------------------------- /data/images/16.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tony607/mmdetection_instance_segmentation_demo/df8f8d10fb34103a21834bf6386d4101a9b9fe3e/data/images/16.jpg -------------------------------------------------------------------------------- /data/images/17.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tony607/mmdetection_instance_segmentation_demo/df8f8d10fb34103a21834bf6386d4101a9b9fe3e/data/images/17.jpg -------------------------------------------------------------------------------- /data/images/2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tony607/mmdetection_instance_segmentation_demo/df8f8d10fb34103a21834bf6386d4101a9b9fe3e/data/images/2.jpg -------------------------------------------------------------------------------- /data/images/3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tony607/mmdetection_instance_segmentation_demo/df8f8d10fb34103a21834bf6386d4101a9b9fe3e/data/images/3.jpg -------------------------------------------------------------------------------- /data/images/4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tony607/mmdetection_instance_segmentation_demo/df8f8d10fb34103a21834bf6386d4101a9b9fe3e/data/images/4.jpg -------------------------------------------------------------------------------- /data/images/5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tony607/mmdetection_instance_segmentation_demo/df8f8d10fb34103a21834bf6386d4101a9b9fe3e/data/images/5.jpg -------------------------------------------------------------------------------- /data/images/6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tony607/mmdetection_instance_segmentation_demo/df8f8d10fb34103a21834bf6386d4101a9b9fe3e/data/images/6.jpg -------------------------------------------------------------------------------- /data/images/7.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tony607/mmdetection_instance_segmentation_demo/df8f8d10fb34103a21834bf6386d4101a9b9fe3e/data/images/7.jpg -------------------------------------------------------------------------------- /data/images/8.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tony607/mmdetection_instance_segmentation_demo/df8f8d10fb34103a21834bf6386d4101a9b9fe3e/data/images/8.jpg -------------------------------------------------------------------------------- /data/images/9.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tony607/mmdetection_instance_segmentation_demo/df8f8d10fb34103a21834bf6386d4101a9b9fe3e/data/images/9.jpg --------------------------------------------------------------------------------