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
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