Gutianpei / MID

[CVPR2022] Code for CVPR 2022 paper "Stochastic Trajectory Prediction via Motion Indeterminacy Diffusion"
182 stars 30 forks source link

Issue in data preprocessing #5

Open InhwanBae opened 2 years ago

InhwanBae commented 2 years ago

Hi @Gutianpei

Thank you for your great work and for releasing the code! It was an exciting paper, so I wanted to talk with you offline in New Orleans.

While looking at your code, I found out that your codebase uses the old version of the Trajectron++ code. There was a major bug in data preprocessing.

https://github.com/Gutianpei/MID/blob/601aee471b43fe4651993c37547546e753afd5bc/environment/data_utils.py#L19-L29

This issue, first known in October 2020, has not been fixed in so many Trajectron++-based variant models(e.g. SGNet, DisDis, BiTraP, Social-NCE). I think the authors should fix this issue and update the numbers in the arXiv paper for a fair comparison.

Thank you.

Gutianpei commented 2 years ago

Hello @InhwanBae

Thanks for your interest! I was at New Orleans presenting my paper, it was a pity we cannot meet. Thanks for bring this issue to us, I actually did not know Trajectron++ has such a problem otherwise we'll use PECNet as our baseline, since MID is an encoder-agnostic mehtod. I apologize I did not look into the code very carefully, and I agree with your. I'll try running some experiments using the encoder with fixing problem and show the comparison. Results and code will be updated after I've done all the experiments. Thanks again for your comment.

InhwanBae commented 2 years ago

Hi @Gutianpei, thank you for your prompt response.

I strongly agree that MID is the encoder-agnostic method. There is no doubt that if applied to a good baseline, greater synergy can be achieved. However, I would like to mention that PECNet also has problems with using a train-test split rather than the official train-val-test split for ETH/UCY datasets (issue 25 raised by STGCNN author). When it is corrected, the performance is somewhat degraded, as seen in the Table1-PECNet-MC of the NPSN paper.

WangHonghui123 commented 1 year ago

Hi @Gutianpei. I would like to know if you updated the code and result. I tried to use the same baseline and the modified code provided by @InhwanBae but the results degraded. I would like to know why it happens. Could you explain it? Thank you very much.

Hello @InhwanBae

Thanks for your interest! I was at New Orleans presenting my paper, it was a pity we cannot meet. Thanks for bring this issue to us, I actually did not know Trajectron++ has such a problem otherwise we'll use PECNet as our baseline, since MID is an encoder-agnostic mehtod. I apologize I did not look into the code very carefully, and I agree with your. I'll try running some experiments using the encoder with fixing problem and show the comparison. Results and code will be updated after I've done all the experiments. Thanks again for your comment.