Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nei_list is referenced before it is defined #24

Open
Jhfyut opened this issue Feb 19, 2024 · 0 comments
Open

nei_list is referenced before it is defined #24

Jhfyut opened this issue Feb 19, 2024 · 0 comments

Comments

@Jhfyut
Copy link

Jhfyut commented Feb 19, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant