Giter Site home page Giter Site logo

d123456ddq / apolloscape-loc Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bexcite/apolloscape-loc

0.0 1.0 0.0 28.94 MB

PoseNet localization task implementation on Apolloscape dataset with PyTorch.

Home Page: https://capsulesbot.com/blog/2018/08/24/apolloscape-posenet-pytorch.html

Jupyter Notebook 97.26% Python 2.74%

apolloscape-loc's Introduction

Apolloscape dataset for localization task.

Exploring localization task on Apolloscape dataset.

Read my blog post about PoseNet implementation details https://capsulesbot.com/blog/2018/08/24/apolloscape-posenet-pytorch.html

ECCV2018 Self-localization on-the-fly challenge task details.

NOTE: This repository is a work in progress.

Prerequisites

Dataset reader based on Pytorch 0.4.1 Dataset. To install all dependencies:

pip install -r requirements.txt

Data

Download Apolloscape data from page and unpack it to a folder. Examples below assume that data folder symbolically linked to apolloscape-loc/data/apolloscape.

mkdir ./data
ln -s <DATA FOLDER>/apolloscape ./data

Sample data file for zpark road provided in localization challenge section supported automatically (it has different folder names, files order and pose data files format)

Python Notebook example

See roads and record graphs in Apolloscape_View_Records Notebook

PoseNet training, error calculation and result visualization in Apolloscape_PoseNet

PoseNet on Train

Show/Save path and sample images by record id

python plot_dataset.py --data ./data/apolloscape --road road03_seg --record Record018

Generate video of the path by record id

python plot_dataset.py --data ./data/apolloscape --road road03_seg --record Record018 --video

Record video

Train PoseNet convnet on ZPark road

python train.py --data ./data/apolloscape --road zpark-sample --checkpoint-save 50 --fig-save 1 --epochs 2000 --lr 1e-5 --experiment zpark_posenet_L1 --feature-net resnet34 --feature-net-pretrained --learn-beta

Training process:

Training and validation results:

TODO:

  • VidLoc implementation
  • [Optional] Prepare data for eval script
  • SfM / 3D Reconstruction pipeline
  • WGAN for generating new samples
  • Qt/OpenGL visualizations

apolloscape-loc's People

Contributors

bexcite avatar

Watchers

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