Coder Social home page Coder Social logo

Comments (8)

josedolz avatar josedolz commented on May 16, 2024

Hi @RayJkl. I allow to include the GT when testing to automatically report the metrics from the results(in this case DICE). This GT is therefore only used once the segmentation is done, it has nothing to do with sampling during testing. If you want to use a trained model in an image without corresponding GT, a straightforward solution would be to include a fake GT, with all its values to 0, for example,and ignore the metrics.

Jose

from livianet.

RayJkl avatar RayJkl commented on May 16, 2024

screenshot 2018-02-11 11 24 09
Hi @josedolz , thanks for the reply! I also keep getting this TypeError issue which prevents me from using GPU for training. Even when I solved one another one shows up.
Thanks!

from livianet.

josedolz avatar josedolz commented on May 16, 2024

THEANO_FLAGS='floatX=float32' python ./networkTraining.py ./LiviaNET_Config.ini 0

from livianet.

RayJkl avatar RayJkl commented on May 16, 2024

Yes I've also run this script but everything seemed to run on CPU since then (GPU is not used at all).

from livianet.

RayJkl avatar RayJkl commented on May 16, 2024

Hi @josedolz , another questions is that the model doesn't seem to generalize well on other similar datasets (even if I have got around 90% on the training set). Do you think that the absence of pooling layers caused such overfitting issue? (since there may be too many parameters involved)

from livianet.

josedolz avatar josedolz commented on May 16, 2024

Hi, sorry for my late answer, I am quite busy these days.

Let's see. For the TypeError problem I experienced it when running on CPU and in some computers, but it never happened to me in GPU. I will investigate it a bit, but I think this has more to do with your local configuration of Theano.

The second question is more difficult to answer without having more details. I think that generalization problem is more a general problem rather than a specific model-related issue, particularly if testing data varies a lot from training data. Adding pooling layers will simply allow you to increase the receptive field, but there will not be more parameters involved, unless you change the conv kernels. With that you simply reduce the dimensionality of the feature maps, not the number of trainable parameters. Can you give me more details about the data used for training and testing? From our experience we see that the model generalizes well and on different applications. In the paper included in this repository we were able to segment images from 17 different hospitals with different MRIs, only training with subjects from few sites. Furthermore, we have made some modifications to this network and successfully participated in some challenges involving other segmentation problems (such as brain tissue segmentation).

Jose.

from livianet.

RayJkl avatar RayJkl commented on May 16, 2024

Hi @josedolz , thanks very much for the help! I have sent one image from my testing set and one from the training set to your email address. I very much hope to put this model into practice. Thank you!

from livianet.

RayJkl avatar RayJkl commented on May 16, 2024

For running on GPU, did you set something like this? THEANO_FLAGS=device=cuda0 python XXXX.py

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.