Coder Social home page Coder Social logo

swiftnet's Introduction

SwiftNet

Source code to reproduce results from

In Defense of Pre-trained ImageNet Architectures for Real-time Semantic Segmentation of Road-driving Images
Marin Oršić*, Ivan Krešo*, Siniša Šegvić, Petra Bevandić (* denotes equal contribution)
CVPR, 2019.

Steps to reproduce

Install requirements

  • Python 3.7+
pip install -r requirements.txt

Download Cityscapes

From https://www.cityscapes-dataset.com/downloads/ download:

  • leftImg8bit_trainvaltest.zip (11GB)
  • gtFine_trainvaltest.zip (241MB)

Either download and extract to datasets/ or create a symbolic link datasets/Cityscapes Expected dataset structure for Cityscapes is:

labels/
    train/
        aachen/
            aachen_000000_000019.png
            ...
        ...
    val/
        ...
rgb/
    train/
        aachen/
            aachen_000000_000019.png
            ...
        ...
    val/
        ...

Evaluate

Pre-trained Cityscapes models available
  • Download and extract to weights directory.

Set evaluating = True inside config file (eg. configs/rn18_single_scale.py) and run:

python eval.py configs/rn18_single_scale.py

Train

python train.py configs/rn18_single_scale.py --store_dir=/path/to/store/experiments

swiftnet's People

Contributors

orsic 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.