question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

SCGM example in tutorial

See original GitHub issue

Hi,

I think there might be some flaw in the example uploaded, please correct me if I’m wrong.

According to SCGM challenge, we had to segment the GREY MATTER. Here is a snapshot of what training data and the labels look like (this is in ITKSnap a viewer for medical images, I have loaded the site1-sc01-image.nii.gz from the training set with the corresponding mask site1-sc01-mask-r1.nii.gz)

image

My understanding is that the grey matter is the red label stuff in the above image, so my trained model should take a slice (or group of slice) as input and output a mask which only highlights red rigion like stuff, however after few epochs (25 epochs) of running the code given in the example we get something like

input1 gt1 pred1

My doubt being why is the ground truth label a white blob-like stuff, should it not be very narrow and tiny like the red structure in the above ITKSnap image (and hence the prediction should also be something very fine not a blob-like structure)

What is being considered as ground truth in the code?

Please clarify.

Thank you so much for this amazing effort!!

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:2
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
peronecommented, Oct 17, 2018

Hi @udion, slice_axis=2 means that it will slice the volume on the 2 dimension, in this case on the axial dimension. It doesn’t mean it ignores the other axis, just that it is using one axis to train. There are many approaches to train, including the use of 3D kernels, however the model I made available is a 2d slice-wise model.

1reaction
udioncommented, Oct 16, 2018

@perone

I see that all the scans consist of 3 SLICES (am I right?)

and if that is the case then does slice_axis=2 mean that it will only train and test using axis=2?

and if that is the case does that mean that the example given in documentation ignores the other 2 slices and hence we may have to train other models with different slice axis (or a different model which processes 3 slices together)?

image

Read more comments on GitHub >

github_iconTop Results From Across the Web

nnU-Net : The no-new-UNet for automatic segmentation
nnU-Net Tutorial - automatic medical image segmentation using UNet ... How to ingest the SCGM Challenge Dataset to the nnUNet pipeline.
Read more >
Example results of adapted segmentation for SCGM Dataset ...
Example results of adapted segmentation for SCGM Dataset. Model is trained using combined adversarial and self ensembling domain adaptation. Source publication.
Read more >
Freesurfer Tutorial - Quantitative Imaging Toolkit
Exploring Freesurfer data with QIT. This page provides a tutorial for visualizing [https://surfer.nmr.mgh.harvard.edu/ FreeSurfer] results with QIT.
Read more >
brainGraph User Guide Version 3.0.0 - Christopher G. Watson
tutorial to walk them through the steps, and I hope I have succeeded in ... This example code uses the dkt.scgm atlas and...
Read more >
Statement of Financial Position IS Income Statement SCGM ...
–Statement of Financial PositionIS-Income StatementSCGM-Statement of Cost of Goods Manufactured1. Accounts receivable2. Finished goods inventory, beginning3 ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found