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

assertion error in _GridSample2dBackward() #623

Open
Shanthika opened this issue Oct 31, 2023 · 0 comments
Open

assertion error in _GridSample2dBackward() #623

Shanthika opened this issue Oct 31, 2023 · 0 comments

Comments

@Shanthika
Copy link

Im trying to use the grid sampler implemented in stylegan3/torch_utils/ops/grid_sample_gradfix.py"

Im using the following function call:
interp = grid_sample_gradfix.grid_sample(grid,coords )

However I'm getting the following error:
assert_ not ctx.needs_input_grad[2]
AssertionError

Can you please help me with this?

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