Brpnet
Pytorch Implement of Boundary-assisted Region Proposal Networks for Nucleus Segmentation
Install / Use
/learn @csccsccsccsc/BrpnetREADME
brpnet
Pytorch Implement of Boundary-assisted Region Proposal Networks for Nucleus Segmentation (MICCAI 2020) Paper can be found here: https://arxiv.org/abs/2006.02695.
Codes are built based on Python 3.6+ and Pytorch 1.1. For some reasons, there also exists MATLAB scripts in this project. The MATLAB scripts are tested based on MATLAB2016.
Dataset:
We wrap all images into a .npy file (data_after_stain_norm_ref1.npy). Stain normalization is also performed. Ground truth of segmentation and boundary is saved in anoth .npy file (gt.npy, bnd.npy).
The wrapped data file can be generated using the scripts in 'data_generator_scripts'.
tafe
TAFE is the first stage of BRP-Net.
TAFE can be trained through:
python main_train_kfold_tafe.py (dataset loc and other settings can be modified in main_train_kfold_tafe.py)
After training, evaluation is performed on validation set:
- pred.py: predict resulst of validation set for all saved snapshots.
- evaluate.py: evaluation for all saved snapshots.
- find the best snapshots, and modify the settings in pred_testset.py and evaluate_testset.py
- pred_testset.py
- evaluate_testset.py
prepare patch dataset for training patch-net
- prepare_pred_trainset.py
- prepare_postproc_trainset.py
- (MATLAB) prepare_match_instance_predictions.m
- (MATLAB) prepare_save_matched_patches.m (In prepare_save_matched_patches.m, training patch dataset and validation patch dataset are split.)
patch-net
Patch-Net is the second stage of BRP-Net
Train:
python main.py
Evaluation:
- python eval.py
- python evaluate.py
- python find_best_snapshot.py
- python eval_testset.py
- python evaluate_testset.py
Contact:
mailbox: c.shengcong@mail.scut.edu.cn
Related Skills
node-connect
349.9kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
109.8kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
349.9kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
349.9kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
