Giter Site home page Giter Site logo

chengy12 / causalhtp Goto Github PK

View Code? Open in Web Editor NEW
68.0 68.0 14.0 8.16 MB

The official PyTorch code implementation of "Human Trajectory Prediction via Counterfactual Analysis" in ICCV 2021.

Python 100.00%
causal-reasoning counterfactual-analysis deep-learning eth-dataset human-trajectory-prediction trajectory-prediction ucy-dataset

causalhtp's People

Contributors

chengy12 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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

causalhtp's Issues

Details about the Reproduced STGAT

Hi, thanks for your excellent work! May I ask the difference between your reproduced STGAT(STGAT*) and the optimised STGAT(raw)? It seems like your results on UNIV dataset do not outperform the optimised STGAT.

Questions about the conterfactual feature (Only zero vector is used, the other two are not given)

Hi, this is an interesting work. Thanks for sharing the code.
However, in your code "models.py" from line 255
"
traj_lstm_hidden_states_c = torch.zeros_like(traj_lstm_hidden_states[-1])
"
It seems that only zero vector is used. The mean vector of all history trajectories or the random trajectories
are not shown here as the counterfactual intervention.
Could you explain that? Thank you

Question about CNN networks

Thanks for your great work! According to your description, there is a CNN branch in the framework to process the input images, but I can't find images in your "datasets" folder (only the .txt files of the trajectory sequence), and I did't find the relevant code in "models.py".

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.