hzxie / GRNet

The official implementation of "GRNet: Gridding Residual Network for Dense Point Cloud Completion". (Xie et al., ECCV 2020)
https://haozhexie.com/project/grnet
MIT License
301 stars 57 forks source link

Question: Why the values of vertices are larger than 1? #36

Closed Andykwan123 closed 2 years ago

Andykwan123 commented 2 years ago

I used the command to display the value of the grid, and observed that many values will be greater than 1, which is different from (2) in the paper, I think N (vi) is not divided to cause w to be greater than one, or am I misunderstand about (2) (I think its value will be between 0~1)?

hzxie commented 2 years ago

No. For each grid cell, the values of vertices should between 0 and 1. However, the values of vertices are accumulated from its neighboring grid cells.

Andykwan123 commented 2 years ago

so the values of vertices are not divided by N (vi). If so how do I know the number of N(vi)? thank you!

hzxie commented 2 years ago

You can know it according to its coordinates. For example, N(vi) = 0 for (0, 0, 0) and N(vi) = 8 for (15, 15, 15)

Andykwan123 commented 2 years ago

Thanks for your reply!

hzxie commented 2 years ago

No. I don't create a variable for that because I didn't use it.