Giter Site home page Giter Site logo

tgs_salt's Introduction

[TGS Salt Identification Challenge] 276th Place Soultion

First of all, Thanks Fastai library which save me a lot of time to build the model. 276th place isn't a very good score, However, this notebook can be directly run on Google colab. You can use it as backbone to experiment with the ideas published by other top contestants. The most important thing is that you don't need to have your own GPU for this competition, you'd better have a faster GPU, though:).

For more information about source code, please read chinese blog: https://www.jianshu.com/p/ab0a10c2e710


Network architecture

  • U-net with a pre-trained resnet34/resnext50, resnext50 is better.

Training regime

  • Adam optimizer with weight decay. SGD is better than Adam, but it also much lower than Adam.
  • 5-folds cross validation.
  • use albumentations library to do data augmentation, random corp 50%~100% area region, scale to 128x128. Scale to 192x192 or 256x256 is recommended, but you need to change to a faster GPU.
  • stage1: train by SGD + BCE, stage2: train by Adam + Lovasz Hinge Loss, until validation loss is no longer reduced.

Techniques that helped

  • Adding Concurrent Spatial and Channel Squeeze & Excitation blocks to the U-net decoder (+0.032 Private LB)https://arxiv.org/pdf/1803.02579.pdf. I used the implementation generously provided by Bilal.
  • Depth-statified n-fold training (+0.01 LB). For me, 5-fold scored is good.
  • TTA: flip and non-flip (+0.02 LB)

Techniques that not helped

  • Hypercolumns: https://arxiv.org/pdf/1411.5752.pdf.
  • Many folks(Heng, et al) reported anywhere from a public LB +0.01 to +0.005 improvement after concatenating hypercolumns to their decoder's output. My attempt led to a lower score, and because I found it to be computationally expensive on my Paperspace P5000 machine, I didn't bother seeing if I could troubleshoot.

tgs_salt's People

Contributors

alexhuang2009 avatar alexshuang avatar

Watchers

James Cloos 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.