instance-segmenation-with-maskrcnn
Use MaskRCNN to do the Instance segmentation
https://github.com/skchen1993/instance-segmenation-with-maskrcnn
Science Score: 44.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (9.1%) to scientific vocabulary
Repository
Use MaskRCNN to do the Instance segmentation
Basic Info
Statistics
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
Using MaskRCNN for nuclei instance segmentation
MaskRCNN for nuclei instance segmentation
- nuclei dataset: 24 training image (each with hundreds of mask label), 6 testing image
Environment
- Python 3.7.3
- Pytorch 1.7.0
- CUDA 10.2
step for producing submission
- Install requirement
- Download pretrained model and annotaion files
- Model config setting
- Training
- Testing
Install requirement
- Download project:
Install mmdetection:
Follow the official setup instruction in mmdetection github (link)Download annotayion files:
Annotation file
Download the annotation files and put them into./data/coco/annotations/
(You can use jupyter notebook file here to visualize you annotation file on image to make sure your annotation file is correct)Download model weight:
checkpoints
Download the model weight and put them into./checkpoints
Model config setting
check the model config file in ./configs/mask_rcnn/nuclei.py
modified the work_dir, load_from, ann_file
Training
Training the model:
First, download the ResNext101 pretrained model(here) weight and then put it into./checkpoints/, and remember to modified theload_frompath in model config.use command below to train:
./tools/dist_train.sh ./configs/mask_rcnn/nuclei.py {number of GPU}
Testing
- Prepare the trained model weight and put it into
./checkpoints/, and remember to modified theload_frompath in model config. use command below to test and generate json.file:
python tools/test.py ./configs/mask_rcnn/nuclei.py {path of trained model} --format-only --options "jsonfile_prefix={path of result}"if you want to visualize testing result, cau use command below:
python tools/test.py ./configs/mask_rcnn/nuclei.py {path of trained model} --eval bbox segm --show
Reference
Owner
- Login: skchen1993
- Kind: user
- Repositories: 13
- Profile: https://github.com/skchen1993
Citation (CITATION.cff)
cff-version: 1.2.0 message: "If you use this software, please cite it as below." authors: - name: "MMDetection Contributors" title: "OpenMMLab Detection Toolbox and Benchmark" date-released: 2018-08-22 url: "https://github.com/open-mmlab/mmdetection" license: Apache-2.0
GitHub Events
Total
Last Year
Dependencies
- actions/checkout v2 composite
- actions/setup-python v2 composite
- codecov/codecov-action v1.0.10 composite
- codecov/codecov-action v2 composite
- actions/checkout v2 composite
- actions/checkout v2 composite
- actions/setup-python v2 composite
- actions/checkout v2 composite
- actions/setup-python v2 composite
- pytorch/pytorch ${PYTORCH}-cuda${CUDA}-cudnn${CUDNN}-devel build
- pytorch/pytorch ${PYTORCH}-cuda${CUDA}-cudnn${CUDNN}-devel build
- cython *
- numpy *
- docutils ==0.16.0
- recommonmark *
- sphinx ==4.0.2
- sphinx-copybutton *
- sphinx_markdown_tables *
- sphinx_rtd_theme ==0.5.2
- mmcv-full >=1.3.17
- cityscapesscripts *
- imagecorruptions *
- scipy *
- sklearn *
- mmcv *
- torch *
- torchvision *
- matplotlib *
- numpy *
- pycocotools *
- pycocotools-windows *
- six *
- terminaltables *
- asynctest * test
- codecov * test
- flake8 * test
- interrogate * test
- isort ==4.3.21 test
- kwarray * test
- onnx ==1.7.0 test
- onnxruntime >=1.8.0 test
- pytest * test
- ubelt * test
- xdoctest >=0.10.0 test
- yapf * test