yanx27 / PointASNL

PointASNL: Robust Point Clouds Processing using Nonlocal Neural Networks with Adaptive Sampling (CVPR 2020)
MIT License
260 stars 34 forks source link

question about variable "smpws" #2

Closed amiltonwong closed 4 years ago

amiltonwong commented 4 years ago

Hi, @yanx27 ,

Thanks a lot for releasing such useful package. When reading the code, I found a variable "smpws_pl" but cannot figure out its meaning. Would does the variable "smpws" mean? Does it mean remission value?

THX!

yanx27 commented 4 years ago

@amiltonwong Hi, 'smpws_pl' is used to record weight of each point, because we use weighted cross-entropy loss. It also masks point we don't need to calculate loss.

amiltonwong commented 4 years ago

@yanx27, thanks~