agrimgupta92 / sgan

Code for "Social GAN: Socially Acceptable Trajectories with Generative Adversarial Networks", Gupta et al, CVPR 2018
MIT License
819 stars 260 forks source link

Data preprocess #1

Closed zhangpur closed 6 years ago

zhangpur commented 6 years ago

I am confused with getting preprocessed data from original UCY dataset (zara01,zara02,univ), as there only gives annotations in image coordinate system. Can you provide data preprocessing code? Thanks very much!

agrimgupta92 commented 6 years ago

We used approximations to calculate the homography matrix for e.g. using the dimensions of a car (of specific model/company) and then using the homography matrix to convert from pixel to real world coordinates. At this time the code for data is not publicly available and I can't provide a timeline as to when that will happen.

avijit9 commented 6 years ago

How did you plot trajectories on images then (Fig. 6 in the paper)? If possible, can you make the code online for plotting trajectories?

agrimgupta92 commented 6 years ago

You might find this https://github.com/agrimgupta92/sgan/issues/5#issuecomment-414381686 helpful.

trungmanhhuynh commented 5 years ago

@avijit9 Are you able to plot the correct trajectories ?