Git Product home page Git Product logo

kaggle_salt_bes_phalanx's Introduction

Kaggle TGS Salt Identification Challenge. b.e.s. & phalanx 1st Place Solution

To read the detailed solution, please, refer to the Kaggle post

ENVIRONMENT

The solution is available as a Docker container. The following dependecies should be installed:

DATA SETUP

Download and unzip competition data into data/ directory. One could specify local path to the new test images in SETTINGS.json file (NEW_TEST_IMAGES_DATA field). The competition test data is used by default.

DOCKER SETUP

To build and start a docker container run:

cd docker 
./build.sh
./run.sh

MODEL BUILD

  1. train models

    a) expect this to run for about 16 days on a single GTX1080Ti

    b) trains all models from scratch

  2. make prediction

    a) expect this to run for 3.5 hours for 18,000 test images on a single GTX1080Ti

    b) uses saved model weights

Commands to run each build are presented below:

1. train models (creates model weights in bes/weights and phalanx/weights)

/.train.sh

2. ordinary prediction (creates predictions/test_prediction.csv)

./predict.sh

ADDITIONAL NOTES

  1. Model weights are saved in bes/weights and phalanx/weights for b.e.s. and phalanx models respectively

  2. Individual model predictions before ensembling are stored in bes/predictions (lots of .png images) and phalanx/predictions (.npy files)

  3. Scripts to generate initial folds and jigsaw mosaics are located in bes/datasets: generate_folds.py and Generate_Mosaic.R

kaggle_salt_bes_phalanx's People

Contributors

ybabakhin avatar

Watchers

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