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

Hard code to mannually make sigma to 0 #57

Open
xiaobiaodu opened this issue Sep 30, 2023 · 0 comments
Open

Hard code to mannually make sigma to 0 #57

xiaobiaodu opened this issue Sep 30, 2023 · 0 comments

Comments

@xiaobiaodu
Copy link

Hi

I saw a piece of code in generator.py to set the sigma to 0. I am very confused as to why you set it like this. What benefits would it bring?

                padd = 0.1
                mask_box = torch.all(
                    p_i <= 1. + padd, dim=-1) & torch.all(
                        p_i >= -1. - padd, dim=-1)
                sigma_i[mask_box == 0] = 0.
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