Khrylx / AgentFormer

[ICCV 2021] Official PyTorch Implementation of "AgentFormer: Agent-Aware Transformers for Socio-Temporal Multi-Agent Forecasting".
https://www.ye-yuan.com/agentformer/
MIT License
257 stars 64 forks source link

How to understand the variable num_seq_samples #28

Open liuyueChang opened 1 year ago

liuyueChang commented 1 year ago

Thank you for your work ! In the init method of the calss data_generator, I can not understand the function of the variable num_seq_samples. num_seq_samples = preprocessor.num_fr - (parser.min_past_frames + parser.min_future_frames - 1) * self.frame_skip Thank you very much !