Giter Site home page Giter Site logo

cyue0316 / sgcn Goto Github PK

View Code? Open in Web Editor NEW

This project forked from yonghaodong/sgcn

0.0 0.0 0.0 2.57 MB

Code for "SGCN:Sparse Graph Convolution Network for Pedestrian Trajectory Prediction" CVPR 2021

License: MIT License

Shell 2.02% Python 97.98%

sgcn's Introduction

SGCN

Code for SGCN:Sparse Graph Convolution Network for Pedestrian Trajectory Prediction (CVPR2021)

Paper

Environment

The code is trained and tested on RTX 2080Ti, Python 3.6.2, numpy 1.19.0, pytorch 1.2.0 and CUDA11.2.

SGCN

SGCN models the sparse graph in two aspects:

  1. a Spatial Sparse Graph to represent sparse interaction
  2. a Temprial Sparse Graph to represent diverse motion tendencies

framework


Sprarse Graph Learning


Train

To train a model on a single dataset, such as eth, you can run below code in root directory of this project:

python train.py --dataset eth

or training on each dataset:

sh train.sh

Test

To evaluate your trained model or our pretrain model you can run:

python test.py

Note that the pretrain model lies in 'checkpoints'.

Download

You can download this project by :

git clone https://github.com/shuaishiliu/SGCN.git

Cite

If you find this repo useful, please consider citing our paper

@inproceedings{shi2021sgcn,
  title={Sparse Graph Convolution Network for Pedestrian Trajectory Prediction},
  author={Liushuai Shi and Le Wang and Chengjiang Long and Sanping Zhou and Mo Zhou and Zhenxing Niu and Gang Hua},
  booktitle={Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year={2021}
}

Reference

The code base borrows from Social-STGCNN

sgcn's People

Contributors

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