Git Product home page Git Product logo

kaggle-severstal's Introduction

Severstal: Steel Defect Detection

This is the code for 30th place solution in kaggle Seversteal steel detection.

This might be a relatively simple approach. Just apply 5 class classification including background class and then 4 class segmenteation.
For classification task, I trained resnet50, efficientnet-b3 and se-resnext50.
For segmentation task, Unet with resnet18, PSPNet with resnet18 and FPN with resnet50.

Usage

$ python split_fold.py --config config/base_config.yml
$ python train_cls.py --config config/cls/001_resnet50_BCE_5class_fold0.yml
$ python train_cls.py --config config/cls/002_efnet_b3_cls_BCE_5class_fold1.yml
$ python train_cls.py --config config/cls/003_seresnext50_cls_BCE_5class_fold2.yml
$ python train_seg.py --config config/seg/001_resnet18_Unet_fold0.yml
$ python train_seg.py --config config/seg/002_resnet18_PSPNet_fold0.yml
$ python train_seg.py --config config/seg/003_resnet50_fpn_fold0.yml
$ python ensemble.py --config_dir config/

Reference

My code for this competition specific part is based on this great starter kernel

this kernel also inspired me a lot.

And I borrowed many idea from Heng's great disscussion topics.

kaggle-severstal's People

Contributors

bamps53 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

kaggle-severstal's Issues

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.