Comments (3)
Hi Bonsen,
I think using sub-images instead of the whole pictures is way better, because training on only 20 images would be very hard. Moreover, by extracting partially overlapping sub-images you obtain a significant augmentation of the data. At early stages of development I did few experiments with full images, but with very poor results.
As @pythonokai said, the "2" in the code introduce the two classes: positive (blood vessel) and negative (no blood vessel). I did it only to adapt the data to the keras model, but maybe there's a better way to do it :)
from retina-unet.
Hi, Bonsen,
first I am not the initial developer, @lantiga @dcorti they are.
And if you don't mind, here is my understanding, If there is any error, please correct me:
g-net(just like a Gaussian curve?) is a model derived from u-net, added upsampling and maxpool,
it seems that the AUC of ROC on DRIVE being increased by 0.1%,
but the cost is 3x training time of u-net.
And function 'masks_Unet' show that mask_patches(1-channel) have been turn to 2-channel,
to save the 'Negative-channel' and the 'Positive-channel',
I think it just want to adapt the data to the model's output then fit.
And next time, added the code from and from line is better. : )
Hope it can help you.
from retina-unet.
@pythonokai @dcorti
THANKS!
from retina-unet.
Related Issues (20)
- Produce the segmentation for a whole image.
- only the configuration.txt file is available in the resulting test folder
- Why is there no 1st_manual and 2nd_manual under test file after I download the DIRVE? HOT 4
- Could not get the files after running training code HOT 3
- can't find sample_input_imgs
- how to train on other database?
- how to train on my own database HOT 1
- Keras and tf version HOT 2
- TypeError: float() argument must be a string or a number, not 'TiffImageFile' HOT 2
- ImportError: cannot import name 'jaccard_similarity_score' HOT 1
- how to create overlapping patches from images
- version
- How to python run_training.py ?
- please help "ImportError: No module named visualize_util
- For those who are interested in the theoretical part of this code... the article's title of this code is "Retina Blood Vessel Segmentation Using A U-Net Based Convolutional Neural Network".
- Why i am getting less performance than yours?
- Process finished with exit code -1073740791 (0xC0000409) HOT 1
- Trouble with model architecture HOT 1
- Any subsequent image repair work
- semi-supervised learning
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 retina-unet.