Comments (2)
I tried to replicate it but for me, the neural network always tend to produce empty results (label everything as background) after few epochs. How did you overcome that?
from unet-zoo.
Ok let me try answering these one by one -
- You don't need the scans to be in png format, as long as you can load them as numpy/PIL Image formats into Python, it doesn't matter. I used MATLAB and the niftii package to save them as .png.
- Yeah, I iterate over the 3D image, and save every z-coordinate as a 2D image.
- I chose to ignore all the images that have only background. The totally blank z-coordinates will be at the very top and very bottom of the scan, so you can put some sort of check when you're converting 3D to 2D to only convert if there is a non-zero component in the scan.
- I believe it took me 100 epochs to get those results.
- I believe I was getting completely empty results when I had completely empty images. The way the DICE score is written, it tends to equate any mask to blank with 1.0 score. That's why I added an epsilon to the denominator. If you remove the completely blank scans, your performance should improve.
Let me know if you need any other help!
from unet-zoo.
Related Issues (16)
- Which BraTS set was used for training? HOT 2
- Questions about BraTS Masks HOT 1
- A question about the DICELossMultiClass HOT 4
- kU-NET implementation
- 3D Unet unable to locate
- Inference using UNET + BD-LSTM?
- Hi, just a quick thought: difference comparision to 3d-unet
- No module named dataParser HOT 3
- Missing 'losses' module
- How to realize BDC-LSTM in Keras?
- Question about BDC-LSTM input. HOT 2
- Question about prediction output HOT 1
- how to prepare data for bdclstm.py HOT 7
- about the database HOT 4
- Dice Score HOT 3
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 unet-zoo.