Coder Social home page Coder Social logo

pradur241 / group-obstacle-lstm Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mmlab-cv/group-obstacle-lstm

0.0 0.0 0.0 6.58 MB

Code for the papers Group-LSTM (ECCV2018) and Group-Obstacle-LSTM (CVIU2020).

License: MIT License

Shell 0.03% Python 99.97%

group-obstacle-lstm's Introduction

Group-Obstacle-LSTM

Code for the papers Group-LSTM (ECCV2018) and Group-Obstacle-LSTM (CVIU2020).

This repo contains a Tensorflow implementation for our ECCV paper and our CVIU paper. If you find this code useful in your research, please consider citing:

@inproceedings{bisagno2018group,
title={Group lstm: Group trajectory prediction in crowded scenarios},
author={Bisagno, Niccol{\'o} and Zhang, Bo and Conci, Nicola},
booktitle={Proceedings of the European conference on computer vision (ECCV)},
pages={0--0},
year={2018}
}

@article{bisagno2020embedding,
title={Embedding group and obstacle information in LSTM networks for human trajectory prediction in crowded scenes},
author={Bisagno, Niccol{\'o} and Saltori, Cristiano and Zhang, Bo and De Natale, Francesco GB and Conci, Nicola},
journal={Computer Vision and Image Understanding},
pages={103126},
year={2020},
publisher={Elsevier}
}

This code was tested on an Ubuntu 14.04 system using Pytorch 0.3.1

The data files, which have been normalised between [-1,1], are organised as:

-frame_id
-Pedestrian_id
-x_position
-y_position
-group_id

If group_id=0, the pedestrian of interest does not belong to any group.

Requirements

How to Run

  • Before running the code, create the required directories by running the script make_directories.sh
  • To train the model run python train.py (See the code to understand all the arguments that can be given to the command)
  • To test the model run python sample.py --epoch=n where n is the epoch at which you want to load the saved model.

group-obstacle-lstm's People

Contributors

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