charlesq34 / pointnet

PointNet: Deep Learning on Point Sets for 3D Classification and Segmentation
Other
4.73k stars 1.45k forks source link

Question about symmetric function max pooling #86

Closed godspeed1989 closed 6 years ago

godspeed1989 commented 6 years ago

Hi, i notice the symmetric function max pooling:

    net = tf_util.max_pool2d(net, [num_point,1],
                `padding='VALID',` scope='maxpool')

the pooling function use the default stride value [2, 2]

def max_pool2d(inputs,
               kernel_size,
               scope,
               stride=[2, 2],
               padding='VALID'):

may be it shoud be [1,1]?

huipengly commented 5 years ago

I have the same question. Could you explain it to @godspeed1989

我也有这个疑问,能不能解释下你为啥关了这个issue?

godspeed1989 commented 5 years ago

Because the input to this layer is [B, num_point, 1, C] and kernel size here is [num_point,1], which means the [2,2] stride here wouldn't has any effect.

huipengly commented 5 years ago

Many thanks.