Git Product home page Git Product logo

baseline-viame-2018's Introduction

VIAME Detection Challenge - Baseline

A baseline solution to the 2018 VIAME detection challenge

This repo outlines a baseline solution to the 2018 VIAME Detection Challenge using the algorithms provided by Detectron system (developed by Facebook Research).

Challenge Website: 1

The instructions in this script rely on a few predefined directories. You may overwrite these to fit your personal workflow.

Getting Started

CODE_DIR=$HOME/code
DATA_DIR=$HOME/data
WORK_DIR=$HOME/work

Get the data

First, download the groundtruth (phase0-annotations.tar.gz) and the images (phase0-imagery.tar.gz) from 2.

After downloading the data from challenge.kitware.com, extract it to your data directory

mkdir -p $DATA_DIR/viame-challenge-2018
tar xvzf $HOME/Downloads/phase0-annotations.tar.gz -C $DATA_DIR/viame-challenge-2018
tar xvzf $HOME/Downloads/phase0-imagery.tar.gz -C $DATA_DIR/viame-challenge-2018

tar xvzf data-challenge-training-imagery.tar.gz
tar xvzf test_data.tar.gz

Install the Detectron docker image.

Assuming you already have installed nvidia-docker, clone the Detectron repo and build the associated docker image.

DETECTRON=$CODE_DIR/Detectron
if [ ! -d "$DETECTRON" ]; then
    git clone https://github.com/facebookresearch/Detectron.git $DETECTRON
fi
# Build the docker container with caffe2 and detectron (which must use python2 ☹)
cd $DETECTRON/docker
docker build -t detectron:c2-cuda9-cudnn7 .
# test the image to make sure it works
nvidia-docker run -v ~/data:/data --rm -it detectron:c2-cuda9-cudnn7 python2 tests/test_batch_permutation_op.py

baseline-viame-2018's People

Contributors

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