-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from zudi-lin/master
new pull
- Loading branch information
Showing
87 changed files
with
2,987 additions
and
2,777 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -123,6 +123,7 @@ dmypy.json | |
# vim | ||
*.swp | ||
*.swo | ||
.vscode/ | ||
.github/ | ||
*~ | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# For affinity prediction | ||
# All other configurations are set by default. If you want to add new config options, | ||
# please modify ../connectomics/config/config.py | ||
# 30x8x8 nm in (z,y,x), 1000x4096x4096 voxel | ||
SYSTEM: | ||
NUM_GPUS: 4 | ||
NUM_CPUS: 4 | ||
MODEL: | ||
ARCHITECTURE: 'unet_residual_3d' | ||
INPUT_SIZE: [32, 256, 256] | ||
OUTPUT_SIZE: [32, 256, 256] | ||
IN_PLANES: 1 | ||
OUT_PLANES: 3 | ||
LOSS_OPTION: [['WeightedBCE']] | ||
TARGET_OPT: ['2'] | ||
WEIGHT_OPT: [['1']] | ||
DATASET: | ||
IMAGE_NAME: 'im_train.json' | ||
LABEL_NAME: 'mito_train.json' | ||
INPUT_PATH: '<path/to/data>' | ||
OUTPUT_PATH: 'outputs/MitoEM_R_A/' | ||
PAD_SIZE: [16, 128, 128] | ||
DO_CHUNK_TITLE: 1 | ||
DATA_CHUNK_NUM: [8, 2, 2] | ||
DATA_CHUNK_ITER: 2500 | ||
LABEL_EROSION: 1 | ||
SOLVER: | ||
LR_SCHEDULER_NAME: "WarmupMultiStepLR" | ||
BASE_LR: 5e-04 | ||
ITERATION_STEP: 1 | ||
ITERATION_SAVE: 5000 | ||
ITERATION_TOTAL: 50000 | ||
SAMPLES_PER_BATCH: 4 | ||
INFERENCE: | ||
INPUT_SIZE: [32, 256, 256] | ||
OUTPUT_SIZE: [32, 256, 256] | ||
IMAGE_NAME: 'im_test.json' | ||
OUTPUT_PATH: 'outputs/MitoEM_R_A/test/' | ||
OUTPUT_NAME: 'result.h5' | ||
PAD_SIZE: [16, 128, 128] | ||
AUG_MODE: 'mean' | ||
AUG_NUM: 4 | ||
STRIDE: [16, 128, 128] | ||
SAMPLES_PER_BATCH: 16 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# For affinity & instance contour prediction. | ||
# All other configurations are set by default. If you want to add new config options, | ||
# please modify ../connectomics/config/config.py | ||
# 30x8x8 nm in (z,y,x), 1000x4096x4096 voxel | ||
SYSTEM: | ||
NUM_GPUS: 4 | ||
NUM_CPUS: 4 | ||
MODEL: | ||
ARCHITECTURE: 'unet_residual_3d' | ||
INPUT_SIZE: [32, 256, 256] | ||
OUTPUT_SIZE: [32, 256, 256] | ||
IN_PLANES: 1 | ||
OUT_PLANES: 4 | ||
LOSS_OPTION: [['WeightedBCE'],['WeightedBCE','DiceLoss']] | ||
LOSS_WEIGHT: [[2.0], [1.0, 1.0]] | ||
TARGET_OPT: ['2','4-2-1'] | ||
WEIGHT_OPT: [['1'],['1','0']] | ||
DATASET: | ||
IMAGE_NAME: 'im_train.json' | ||
LABEL_NAME: 'mito_train.json' | ||
INPUT_PATH: '<path/to/data>' | ||
OUTPUT_PATH: 'outputs/MitoEM_R_AC/' | ||
PAD_SIZE: [16, 128, 128] | ||
DO_CHUNK_TITLE: 1 | ||
DATA_CHUNK_NUM: [8, 2, 2] | ||
DATA_CHUNK_ITER: 2500 | ||
LABEL_EROSION: 1 | ||
SOLVER: | ||
LR_SCHEDULER_NAME: "WarmupMultiStepLR" | ||
BASE_LR: 5e-04 | ||
ITERATION_STEP: 1 | ||
ITERATION_SAVE: 2500 | ||
ITERATION_TOTAL: 100000 | ||
SAMPLES_PER_BATCH: 4 | ||
INFERENCE: | ||
INPUT_SIZE: [32, 256, 256] | ||
OUTPUT_SIZE: [32, 256, 256] | ||
IMAGE_NAME: 'im_test.json' | ||
OUTPUT_PATH: 'outputs/MitoEM_R_AC/test/' | ||
OUTPUT_NAME: 'result.h5' | ||
PAD_SIZE: [16, 128, 128] | ||
AUG_MODE: 'mean' | ||
AUG_NUM: 4 | ||
STRIDE: [16, 128, 128] | ||
SAMPLES_PER_BATCH: 16 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# For binary mask & instance contour prediction. | ||
# All other configurations are set by default. If you want to add new config options, | ||
# please modify ../connectomics/config/config.py | ||
# 30x8x8 nm in (z,y,x), 1000x4096x4096 voxel | ||
SYSTEM: | ||
NUM_GPUS: 8 | ||
NUM_CPUS: 8 | ||
MODEL: | ||
ARCHITECTURE: 'unet_residual_3d' | ||
INPUT_SIZE: [32, 256, 256] | ||
OUTPUT_SIZE: [32, 256, 256] | ||
IN_PLANES: 1 | ||
OUT_PLANES: 2 | ||
LOSS_OPTION: [['WeightedBCE'], ['WeightedBCE']] | ||
LOSS_WEIGHT: [[1.0], [1.0]] | ||
TARGET_OPT: ['0','4-2-1'] | ||
WEIGHT_OPT: [['1'],['1']] | ||
DATASET: | ||
IMAGE_NAME: 'im_train.json' | ||
LABEL_NAME: 'mito_train.json' | ||
INPUT_PATH: '<path/to/data>' | ||
OUTPUT_PATH: 'outputs/MitoEM_R_BC/' | ||
PAD_SIZE: [16, 128, 128] | ||
DO_CHUNK_TITLE: 1 | ||
DATA_CHUNK_NUM: [8, 2, 2] | ||
DATA_CHUNK_ITER: 2500 | ||
LABEL_EROSION: 1 | ||
SOLVER: | ||
LR_SCHEDULER_NAME: "WarmupMultiStepLR" | ||
BASE_LR: 1e-03 | ||
ITERATION_STEP: 1 | ||
ITERATION_SAVE: 2500 | ||
ITERATION_TOTAL: 100000 | ||
SAMPLES_PER_BATCH: 4 | ||
INFERENCE: | ||
INPUT_SIZE: [32, 256, 256] | ||
OUTPUT_SIZE: [32, 256, 256] | ||
IMAGE_NAME: 'im_test.json' | ||
OUTPUT_PATH: 'outputs/MitoEM_R_BC/test/' | ||
OUTPUT_NAME: 'result.h5' | ||
PAD_SIZE: [16, 128, 128] | ||
AUG_MODE: 'mean' | ||
AUG_NUM: 4 | ||
STRIDE: [16, 128, 128] | ||
SAMPLES_PER_BATCH: 16 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
## MitoEM Dataset: Large-scale 3D Mitochondria Instance Segmentation from EM Images | ||
|
||
### Introduction | ||
|
||
Serial electron microscopy (EM) allows identification of intracellular organelles such as mitochondria, which provides novel insights for both clinical and scientific studies. However, the mitochondria reconstruction benchmark only contains around 100 instances that are well-separated and exhibit simple morphologies. Therefore, existing automatic methods that have achieved almost human-level performance on the small dataset usually fail to produce preferred results due to object diversity in appearance and morphologies. | ||
|
||
To enable the development of robust models for large-scale biomedical analysis, we introduce **MitoEM**, a 3D mitochondria instance segmentation dataset consisting of two 30μm cubic volumes from human and rat cortices respectively, which are **3,600x** larger than the previous benchmark dataset. Our new dataset posts new challenges for existing state-of-the-art segmentation approaches as they consistently fail to generate object masks with quality on par with expert annotators. With approximately 40k mitochondria in our new dataset, we provide in-depth analysis of the dataset properties, as well as the performance of different combinations of deep learning models and post-processing methods. The MitoEM dataset and our comprehensive analysis will enable further researches in large-scale instance segmentation and a better understanding of mammalian brains. | ||
|
||
The configuration files provided in this folder are used to reproduce the results in the paper. We will add detailed usage soon! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.