Giter Site home page Giter Site logo

Comments (7)

shreyaspadhy avatar shreyaspadhy commented on May 25, 2024

The input to BDCLSTM is three feature maps that are output from a trained UNet model. So, if you have images {z-1, z, z+1}, you pass them through a pre-trained UNet, and pass the outputted feature maps to BDCLSTM. The code in main_bdclstm.py does this, you just need to specify the weights of your trained UNet model.

from unet-zoo.

mingrui avatar mingrui commented on May 25, 2024

thank you!

from unet-zoo.

mingrui avatar mingrui commented on May 25, 2024

looking at the code, it seems that the code is getting min and max of the entire data folder.

what happens when two slices of scan are from different patients?

For example z-1 is from patient 001 and z is from patient 002?

from unet-zoo.

shreyaspadhy avatar shreyaspadhy commented on May 25, 2024

For BDCLSTM, you need that {z-1, z, z+1} are from the same patient, because you want to use the spatial correlation b/w consecutive slices of the same 3D volume.

from unet-zoo.

mingrui avatar mingrui commented on May 25, 2024

I think I understand what you are describing.

My question is at this part of the code:

if (filename_fragments[2] != str(min_file)) and (filename_fragments[2] != str(max_file)):

there is no explicit check for file from the same patient?

from unet-zoo.

shreyaspadhy avatar shreyaspadhy commented on May 25, 2024

If I remember correctly, the files are named patientnum_scantype_zcoord_...

So, if I iterate through the files, as long as zcoord is not less than 0 (lowest possible coordinate), and not higher than 31 (highest possible coordinate), since the files are sorted, the check that it belongs to the same patient happens implicitly.

from unet-zoo.

mingrui avatar mingrui commented on May 25, 2024

aww... I see.
I don't have access to the brats dataset yet.
Thanks for the clarification!

from unet-zoo.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.