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

GCN divided by 0 #10

Open
ibopeng opened this issue May 25, 2019 · 1 comment
Open

GCN divided by 0 #10

ibopeng opened this issue May 25, 2019 · 1 comment

Comments

@ibopeng
Copy link

ibopeng commented May 25, 2019

In GCN preporcessing, if a tensor x has the same feature values (e.g., a pixel with RGB = [255, 255, 255]), after mean removal, the L1-norm scale would be equal to 0, which results in 0 / 0. How would you avoid this? Thanks.

@liuentong
Copy link

我是这样做的,当0/0时会输出nan,将所有结果的列表输出,再将列表中的nan剔除,重新拍去找到最大和最小

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

2 participants