Giter Site home page Giter Site logo

comma10k-baseline's Introduction

๐Ÿš— comma10k-baseline

A semantic segmentation baseline using @comma.ai's comma10k dataset.

Using U-Net with efficientnet encoder, this baseline reaches 0.045 validation loss.

Visualize

Here is an example (randomly from the validation set, no cherry picking)

Ground truth

Ground truth

Predicted

Prediction

How to use

This baseline uses two stages (i) 448x576 (ii) 896x1184 (close to full resolution)

python3 train_lit_model.py --backbone efficientnet-b4 --version first-stage --gpus 2 --batch-size 28 --epochs 100 --height 448 --width 576
python3 train_lit_model.py --backbone efficientnet-b4 --version second-stage --gpus 2 --batch-size 7 --learning-rate 5e-5 --epochs 30 --height 896 --width 1184 --seed-from-checkpoint .../efficientnet-b4/first-stage/checkpoints/last.ckpt

WIP

  • Update to pytorch lightning 1.0
  • Use A.PadIfNeeded in the second stage instead of Resize
  • Try more image augmentations

Dependecies

Python 3.5+, pytorch 1.6+ and dependencies listed in requirements.txt.

comma10k-baseline's People

Contributors

ed2k avatar yassineyousfi avatar

Watchers

 avatar

Forkers

edodm85

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.