Code Monkey home page Code Monkey logo

abduallahmohamed / social-implicit Goto Github PK

View Code? Open in Web Editor NEW
78.0 4.0 9.0 6.29 MB

Code for: "Social-Implicit: Rethinking Trajectory Prediction Evaluation and The Effectiveness of Implicit Maximum Likelihood Estimation" Accepted @ ECCV2022

License: MIT License

Python 74.60% Jupyter Notebook 24.18% Shell 1.23%
graph-convolutional-networks gcnn-pedestrians graph-neural-networks human-trajectory-prediction pedestrian-trajectories spatio-temporal-graphs social-implicit motion-prediction trajectory-prediction motion-forecasting

social-implicit's People

Contributors

abduallahmohamed avatar aprameyap avatar tsutikgiau 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

social-implicit's Issues

few questions on geometry angle loss

Can you please clarify the implementation of geometric angle losss at

cos_loss = torch.abs(

In the figure provided at Social-Loss.png, it is shown angle b/w two edges, however from the code, it looks like the code computes the angle at the origin between any predicted points t and j.

Can you please clarify further on G-angle loss about its inputs and what angle are we computing? and can you also please tell if V_pred and V_target at [line 88] (

V_pred = V_pred.contiguous()
)
are velocities or absolute predicted points?

About the results on the SDD dataset

We found that the effect you achieved on the SDD data set is significantly better than other methods, but why are the results of the same SDD data set so different?

微信图片_20231206112451 微信图片_20231206112520

Can the results of the two be compared uniformly? Hope you can clear up my current confusion.

I wish you have a nice day!

cluster the motion of pedestrians

In model.py line 149
As the v.shape is [batch,2,obs_len,num_ped], then (v.permute(0, 3, 1, 2)[0, :, :, 0]).shape is [num_ped,2], which means the location of num_ped pedestrians at the first time step. The location of every pedestrian at the first timestep is (0,0). I am confused that how the line 149 in model.py can obtain the max speed change for every sequence.

Can you explain how to obtain group’s maximum change of speed and cluster the motion of pedestrians?

Calculation of AMV

Thanks for providing the implementations of AMD and AMV.

I am confused by the code about AMV when taking the average. In the function calc_amd_amv of the file amd_amv_kde_metrics.py, the estimated covariance matrix is averaged over all time steps and all agents. Then, the maximum eigenvalue is computed on the averaged matrix. The calculation is inconsistent with Eq. (4) in the paper. Eq. (4) says the covariance matrix is estimated for each agent at each time step, from which a maximum eigenvalue is computed. The final AMV is obtained by averaging these eigen values. I belive the two quanties, i.e., maximum eigen value of an average matrix and the average of maximum eigen values, are generally not equal.

Could you explain the difference? It will be valuable for me when applying the code to new predictions on other datasets.

Problem about visualization data.

Great work! Thank you for contributing the code. I am now trying to make a visualization following the provided code. But when I run the Align.ipynb, the return value in sections 4 to 7 are (181, 181, 364, 181) instead of (2253, 2253, 2356, 2253). But section 3 (Trajectorn++) returns the same value as 364. Is there any problem with my package version or the downloaded data?
Screenshot from 2022-10-08 09-20-33

About Visualization in papers

Thank you very much for your great contribution. I am very interested in the results of model visualization in your paper. I want to visualize my model. What should I do?

problem about pip3 install -r requirements。txt

Great work! Thank you for contributing the code. When I use python 3.8 to install it, I find that scikit_learn==1.0.1 is not match with scipy=0.19.1. I guess that your requirements.txt is wrong.

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.