Comments (10)
BTW, is the architecture in the code different from that in the paper?
from livianet.
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):
from livianet.
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.
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.
Sure,
I just uploaded the config file I used to generate that image. Here is the link.
from livianet.
from livianet.
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.
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):
from livianet.
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.
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)
- type error when training HOT 2
- Deploy the model without ground truth HOT 8
- Code for visualization of the feature map activation HOT 4
- How to concatenate x1 and x2 in HyperDenseNet HOT 2
- Questions about HyperDenseNet configuration HOT 2
- TypeError with theano HOT 3
- About the MHD HOT 4
- About the number of samples at each subEpoch HOT 10
- Pre-processing MRI images HOT 5
- A problem about NAN HOT 2
- Directory structure for multiple modalities. HOT 4
- Visualization HOT 1
- Probabilities contain NaN while using my nifti input HOT 4
- Error occured while training HOT 13
- ZeroDivisionError: integer division or modulo by zero
- how did you got the GT? HOT 4
- version of LIvianet trained for cerebellar lobules parcellsation
- EDGE DETECTION
- Dropout value fix to 0.0 and 0.5 in fully connected and softmax layers HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from livianet.