abduallahmohamed / Social-STGCNN

Code for "Social-STGCNN: A Social Spatio-Temporal Graph Convolutional Neural Network for Human Trajectory Prediction" CVPR 2020
MIT License
493 stars 140 forks source link

If just one pedestrian in one scene,how to deal in your code? #19

Closed buaafish closed 4 years ago

buaafish commented 4 years ago

I see that your code deals with more than two pedestrians. How to deal with one pedestrian?

abduallahmohamed commented 4 years ago

The dataset I'm using only allows for at least two peds, and this is a common settings for this problem as a benchmarking baseline.

Other than this, if you wanna use it for one peds you can create a virtual ped that doesn't move, yet I didn't try this personally. I do like to see the results of this if you tried it out.

Thanks for your question

xzf87845804 commented 2 years ago

@buaafish Hi, have you solved the prediction of only one pedestrian?