Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can we deal with dynamic number of human? #16

Open
mincheulkim opened this issue Aug 3, 2021 · 3 comments
Open

How can we deal with dynamic number of human? #16

mincheulkim opened this issue Aug 3, 2021 · 3 comments

Comments

@mincheulkim
Copy link

mincheulkim commented Aug 3, 2021

Hi, I'm very impressed with your work. I'd like to know your thoughts on the following issues related to human trajectory prediction on training real datasets.

  1. What if the number of people changes at each timestamps? e.g., the number of people per scene may varies(5⇒5⇒6⇒8⇒1⇒...)
  2. Even if the number of people is fixed for each timestamp, what if the people who make up the scene change? e.g. at t=1, human id=1,2,3,4,5 ⇒ t=2, human id=2,3,4,6,7(human 1,5 are missing but human 6,7 are pop in).

The above problems may not occur in the simulation using a synthetic dataset in which the number of people is unchanged, but it may be happen on the train with real datasets. I wish to hear your opinion on this?

Thanks,

@a79687417
Copy link

Hi, I'm doing a trajectory prediction research as well, my reseach is mainly based on Social GAN (SGAN), but I think most of the LSTM based methods treat the trajectory/position input pretty much the same way. I might be wrong though, please correct me if I'm wrong.

In most of my referenced methods, they only consider trajectories in same timestamps, for example, if we're using 8 observed length trajectory input, when considering interaction relations at t=0, we'd only compute all trajectories that exist from t=0, t=1, ... to t=7. If a certain person with trajectory only exists from t=0 to t=4, or from t=0 to t=7 but missing a frame between, then this trajectory would not be processed.

In the missing frame case, some would use interpolating method to fix it, there are some examples in adjusted ETH/UCY dataset like: https://github.com/erichhhhho/DataExtraction , but if someone leave the scene with trajectory insufficient to the set-up length, then his/her trajectory won't be processed. Another way to fix this may be reducing your observed length and prediction length, or even increace fps of your samples from datasets.

@cunjunyu
Copy link
Owner

Sorry for the late reply.

Yes, @a79687417 is right about this (Thank you for helping answer the question).

Most of the methods only consider trajectories in the same timestamps. Trajectories shorter than predefined are not considered.

@xiaocc612
Copy link

Can anyone tell me how these remaining tracks are generally handled? Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants