Giter VIP home page Giter VIP logo

hubmap-segmentation-competition's Introduction

Hubmap-segmentation-competition

Since the image resolution is quite large,I decide to use iafoss's trick to divide image into titles.By doing this,i can create small dataset without losing information from original image.I use this notebook to do this step

Preprocessing

|__converting-to-256x256.ipynb

dataset :https://www.kaggle.com/datasets/bhuynguyn/hubmaphacking2022-comp-256x256

After creating new dataset, I create data training pipeline:
I applied some data augmentation techniques such as CLAHE, RandomBrightness, RandomContrast,โ€ฆ to
enhance the quality of images and enrich training data.
data_prepare
|__dataloader.py

Model

Ensemble model : U-Resnet34+SCSE+FPA+Hypercolumns

image
link :https://arxiv.org/pdf/1904.04445.pdf

Authors inserted SCSE modules after each encoder and decoder blocks.They act as attention modules,using spatial attention mechanism helps model to focus on important features of FTU and suppress less important ones.

Additionally, in the bottleneck block between the encoder and the decoder authors use Feature Pyramid Attention module, which increases the receptive field by fusing features from different pyramid scales.By doing this, model will be able to focus on object at different places in the picture.

To exploiting feature maps from different scales authors use Hypercolumns. They stack the upsampled feature maps from all decoder blocks and use them as the input to the final layer. Therefore,they could get more precise localization and captures the semantics at the same time. (I will public my training later)

Pranet model

image

In this architecture, backbone resnet50 is used for extracting feature maps from different convolution layers.Feature maps after each convolution layer are fed into RFB(receptive field block) .RFB block is designed with 4 branches,using diliate convolution layers with different rate.With this design,this module not only capture global contextual information of tissues in the picture, but it also reduces the computation costs.The output map of RFB module is fed into RA(reverse attention) module to capture contextual informations and use them as a guild to combine with feature map of each layer to have both spatial informations and contextual ones.

Training pranet

optimizer :Adam
min_lr=1e-07
max_lr=1e-04
epoch :168 epochs
CosineAnnealingLR
Result: https://www.kaggle.com/code/bhuynguyn/training-pranet/notebook

hubmap-segmentation-competition's People

Contributors

bahuy15 avatar

Watchers

 avatar

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.