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

drtk.edge_grad_estimator() not working with autocast #10

Open
brucebravehart opened this issue Nov 30, 2024 · 0 comments
Open

drtk.edge_grad_estimator() not working with autocast #10

brucebravehart opened this issue Nov 30, 2024 · 0 comments

Comments

@brucebravehart
Copy link

Hey, when enabling autocast in pytorch and calling drtk.edge_grad_estimator(), the img, which is returned, loses the first dimension. When looking at src/edge_grad/edge_grad_module.cpp in line 169, there seems to be an array dereferencing at position 0. Is this intentional?

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