cunjunyu / STAR

[ECCV 2020] Code for "Spatio-Temporal Graph Transformer Networks for Pedestrian Trajectory Prediction"
MIT License
338 stars 78 forks source link

nei_list is referenced before it is defined #24

Open Jhfyut opened 4 months ago

Jhfyut commented 4 months ago

If the following conditions hold: framenum >= self.args.obs_length and iftest The variable nei_list is not defined When you run this line of code: spatial_input_embedded = self.spatial_encoder_1(spatial_inputembedded[-1].unsqueeze(1), nei_list) The program will report an error, and the variable nei_list was referenced before it was defined How should I solve this problem, thank you