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

What is SloppyUniform and why might it interfer with the python debugger? #76

Open
HannesStark opened this issue May 17, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@HannesStark
Copy link

Hi and thanks for the library!

What is the purpose of SloppyUniform instead of torch.distributions.uniform.Uniform and why might it be causing my debugger to no longer stop at breakpoints?

class SloppyUniform(torch.nn.Module):

Thanks for any insights!

@Olllom Olllom added the bug Something isn't working label May 17, 2023
@Olllom
Copy link
Contributor

Olllom commented May 17, 2023

Hi Hannes, unfortunately, this is the ugliest hack you have ever seen. This is a uniform distribution that tolerates samples sloshing slightly over the boundaries due to small numerical errors in the flow. The implementation is gruesome though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants