Giter VIP home page Giter VIP logo

stepankonev / motioncnn-waymo-open-motion-dataset Goto Github PK

View Code? Open in Web Editor NEW
30.0 1.0 3.0 1.12 MB

Implementation of "MotionCNN: A Strong Baseline for Motion Prediction in Autonomous Driving" for Waymo Open Motion Dataset

Home Page: https://arxiv.org/abs/2206.02163

License: Other

Python 100.00%
autonomous-driving motion-prediction pytorch pytorch-implementation self-driving-car waymo-challenge waymo-open-dataset cvpr2021 sdc workshop-autonomous-driving

motioncnn-waymo-open-motion-dataset's Introduction

Refactored implementation of paper "MotionCNN: A Strong Baseline for Motion Prediction in Autonomous Driving"

MotionCNN Neural Network Scheme This repository contains updated code for our team's solution of Waymo Motion Prediction Challenge 2021 where we have achieved 3rd place.

If you find this repo helpful feel free to share and ⭐️ it

Related repos

Team behind this solution:

Listed as in the paper

Dataset

Download datasets uncompressed/tf_example/{training,validation,testing}

Training and prerendering

In order to train the model first you need to prepare the dataset in a convenient format

python prerender.py \
    --data-path path/to/original/split \
    --output-path path/to/preprocessed/split \
    --config path/to/config.yaml \
    --n-jobs 16 \
    --n-shards 8 \
    --shard-id 0 \

Rendering the training split without sharding might be very resource demanding, so we recommend to use sharding (the number of shards depends on your computer's configuration)

Once the dataset is preprocessed, you can run the training script

python train.py \
    --train-data-path path/to/preprocessed/training/split \
    --val-data-path path/to/preprocessed/validation/split \
    --checkpoints-path path/to/save/checkpoints \
    --config path/to/config.yaml \
    [--multi-gpu]

TODO:

Recently a Waymo Open Motion Dataset support was added to trajdata repo, that provides a unified way to work with different motion datasets. We aim to refactor this code to consume trajdata format

Citation

@misc{konev2022motioncnn,
      title={MotionCNN: A Strong Baseline for Motion Prediction in Autonomous Driving}, 
      author={Stepan Konev and Kirill Brodt and Artsiom Sanakoyeu},
      year={2022},
      eprint={2206.02163},
      archivePrefix={arXiv},
      primaryClass={cs.CV}
}

motioncnn-waymo-open-motion-dataset's People

Contributors

stepankonev 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

Watchers

 avatar

motioncnn-waymo-open-motion-dataset's Issues

Results are not saved

After training results are not getting stored. Like the weight files (.pt) are not getting saved.

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.