Coder Social home page Coder Social logo

Comments (10)

gangli95 avatar gangli95 commented on May 16, 2024

BTW, is the architecture in the code different from that in the paper?

from livianet.

josedolz avatar josedolz commented on May 16, 2024

Hi @gangli95

Thanks for you comments. So, few things about this.

1 - For the sampling. Segments, it is just another way to call the sub-patches. So segment size is the same than sample size. It is actually 27x27x27 for training and I think we used 35x35x35 for segmentation in that paper. And yes, the 500 samples must be selected from different (ideally all) subjects during training.

2 - I realized last week that there is a small error in the code (see this ). Basically I hard-coded the values of the dropout rates for the fully convolutional connected layers, being equal to 0.0. A workaround (that I just made for the following results) might be to manually set these dropout rates to 0.25 in all the fully connected layers (Keep 0.5 for softmax).

3 - The architecture in the config file is a tinny net to simply try the code. It is not the one used in the paper. Just have a look to the paper and you will easily see what you need to change in the config file (number of layers, kernels per layer, interconnected layers,etc...). I just run it with the current code and current data, just modifying the config file properly and the trick of the dropout and only after 3 epochs I got this for the validation subject (training on 6 subjects and validating in only one):

subcortical

from livianet.

josedolz avatar josedolz commented on May 16, 2024

Just one question. When you use your data? Do you use it for training and testing? Or only for testing? When I started to work with this dataset, I used matlab to load nifti files, which made changes in some axis (That is why the images look weird in your first row). So if you train with the given data, as it is, and test in your own data, you will have high chances that it will not work, since the appearance is way different.

from livianet.

gangli95 avatar gangli95 commented on May 16, 2024

Thanks for your replying! I used my data for training and testing, and it looks like now there is something wrong with the pre-processing, which I used the FreeSurfer to do it.
Could you please give me the new config file that that you used above? I have difficulty in changing there parameters. Thanks.

from livianet.

josedolz avatar josedolz commented on May 16, 2024

Sure,

I just uploaded the config file I used to generate that image. Here is the link.

from livianet.

gangli95 avatar gangli95 commented on May 16, 2024

from livianet.

josedolz avatar josedolz commented on May 16, 2024

Hi @gangli95

I am glad you could have reproduce the results. I hope you enjoy it and that it can be useful for your research.

Jose

from livianet.

gangli95 avatar gangli95 commented on May 16, 2024

Hi, @josedolz I got problems again, the results contained numbers of small regions when I used my data(both training and testing). And after I looked up at the https://github.com/josedolz/LiviaNET/issues/3, I did the normalization again, but the results were still similar. Did I need to do the post-pressing? I thought it was included in your code already.
Here are the result(one subject):

result1

result2

from livianet.

josedolz avatar josedolz commented on May 16, 2024

Hi @gangli95 I do not see any problem on your results, they look pretty ok. There are some isolated areas, which is normal given the reduced receptive field of the network. As I did in the paper, you need to apply some sort of component analysis to remove those isolated blobs. It is a straightforward step, so I did not include it in the code, since it might vary depending on the application.

from livianet.

gangli95 avatar gangli95 commented on May 16, 2024

Thanks for the reply! And it's great for me to hear the results are good. I'll try using regionprop in matlab to deal with. BTW, I think that regionprops may cause regions' loss, both I expect and not. And maybe regionprops3 (introduced in MatLAB R2017b) may improve this.

from livianet.

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.