Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
NiftyNetExampleServer
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
CMIC
NiftyNetExampleServer
Commits
5270d9a4
Commit
5270d9a4
authored
Nov 29, 2017
by
Wenqi Li
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adding averaging script
parent
6533b1ce
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
7 deletions
+25
-7
anisotropic_nets_brats_challenge_model_zoo.md
anisotropic_nets_brats_challenge_model_zoo.md
+25
-7
No files found.
anisotropic_nets_brats_challenge_model_zoo.md
View file @
5270d9a4
...
...
@@ -13,7 +13,7 @@ to the online validation leaderboard of [BRATS challenge 2017](https://www.cbica
## Downloading model zoo files
If you cloned the NiftyNet repository,
If you cloned the NiftyNet repository,
the network weights and examples data can be downloaded with the command
```
bash
python net_download.py anisotropic_nets_brats_challenge_model_zoo
...
...
@@ -21,13 +21,31 @@ python net_download.py anisotropic_nets_brats_challenge_model_zoo
## Generating segmentations for example data
Generate segmentations for the included example image with the command
Generate segmentations for the included example image with the command,
For the network operates in axial view:
```
bash
net_run inference
-a
anisotropic_nets_brats_challenge.brats_seg_app.BRATSApp
\
-c
~/niftynet/extensions/anisotropic_nets_brats_challenge/whole_tumor_axial.ini
```
For the network operates in coronal view:
```
bash
net_run inference
-a
anisotropic_nets_brats_challenge.brats_seg_app.BRATSApp
\
-c
~/niftynet/extensions/anisotropic_nets_brats_challenge/whole_tumor_coronal.ini
```
For the network operates in sagittal view:
```
bash
net_segment inference
-c
~/niftynet/extensions/anisotropic_nets_brats_challenge/whole_tumor_axial.ini
net_segment inference
-c
~/niftynet/extensions/anisotropic_nets_brats_challenge/whole_tumor_coronal.ini
net_segment inference
-c
~/niftynet/extensions/anisotropic_nets_brats_challenge/whole_tumor_sagittal.ini
net_run inference
-a
anisotropic_nets_brats_challenge.brats_seg_app.BRATSApp
\
-c
~/niftynet/extensions/anisotropic_nets_brats_challenge/whole_tumor_sagittal.ini
```
Replace
`net_
segment`
with
`python net_segment.py`
if you cloned the NiftyNet repository.
Replace
`net_
run`
with
`python net_run.py`
if you cloned the NiftyNet repository.
Replace
`~/niftynet/`
if you specified a custom download path in the
`net_download`
command.
\ No newline at end of file
## Generating averaged volume from the outcomes of the previous step
A script has been created to compute the averaged volumes and
the Dice coefficients from the probabilistic outputs of the segmentation step.
```
bash
python ~/niftynet/extensions/anisotropic_nets_brats_challenge/average_volume.py
```
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment