GithubHelp home page GithubHelp logo

Comments (6)

pfjaeger avatar pfjaeger commented on June 1, 2024

hi thanks for reaching out. can you post your configs please?

from medicaldetectiontoolkit.

cammu00 avatar cammu00 commented on June 1, 2024

Thanks for response. I used brat18 dataset with T1, T1ce, flair, and T2 . In preprocessing, I created 4ch data with this 4 files. So, 4ch dataset was combined with this 4 data file. Tumor segment file was used for ROIs. I applied mask rcnn for data training. Training stage was completed well.
I attached config.py files which was used for this.
config.txt
Best,
David.

from medicaldetectiontoolkit.

pfjaeger avatar pfjaeger commented on June 1, 2024

hey yes so like you assumed, the problem lies withing your channel dimension. As LIDC has only one channel, the LIDC data_loader does is not written for data with a multiple channels. So the image you pass to get_patch_crop_coords has 4 dimensions instead of the expected 3. The fixes you need to make should be easy to implement, just check to shift the dimensions by one where needed in the PatientBatchIterator class.

from medicaldetectiontoolkit.

pfjaeger avatar pfjaeger commented on June 1, 2024

I will write this class more generic to avoid the problem in the future, but it might take a couple of days till I find the time. Good Luck!

from medicaldetectiontoolkit.

cammu00 avatar cammu00 commented on June 1, 2024

Thank you for your comments. I'll try it for this. I have a wondering. If I do test with shifting the dimensions by one from 4ch data, is there any difference with each separately trained data?(e.g. when I do train each dataset(T1, T1ce, T2, Flair) as 1ch dataset)

Thank you for your help.
David.

from medicaldetectiontoolkit.

pfjaeger avatar pfjaeger commented on June 1, 2024

Generally you would want to train multi-modal models so as to grasp the correlations between modalities in your model paramters. In other words, if you train separately your model will not learn relational semantics between modalities.

from medicaldetectiontoolkit.

Related Issues (20)

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.