kangxue / P2P-NET

P2P-NET: Bidirectional Point Displacement Net for Shape Transform
Other
52 stars 8 forks source link

Calculation of displacement #2

Open Mr-Yellow opened 1 year ago

Mr-Yellow commented 1 year ago

Hi, When I read the code, I was confused about the calculation of displacement "tf.sigmoid(net) FLAGS.range_max 2 - FLAGS.range_max".
Why do we need to subtract the maximum of length?

Mr-Yellow commented 1 year ago

I seem to understand this formulation. it maps [0,1] to [-max_length, max_length].