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

Add indexing parameter to meshgrid call #55

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

MvWouden
Copy link

@MvWouden MvWouden commented Mar 9, 2023

Using a newer version or PyTorch (required for modern GPUs), the following user warning will be thrown during the training process:

 UserWarning: torch.meshgrid: in an upcoming release, it will be required to pass the indexing argument.
(Triggered internally at ..\aten\src\ATen\native\TensorShape.cpp:3191.)

Avoid this by adding the indexing parameter to the torch.meshgrid call.

See the PyTorch documentation on meshgrid for more info.

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

Successfully merging this pull request may close these issues.

1 participant