pointnet-keras icon indicating copy to clipboard operation
pointnet-keras copied to clipboard

Why have to set weight?

Open minhncsocial opened this issue 6 years ago • 1 comments

Hi Gary, Thank you for sharing your code. I was wondering at input transform and feature transform, why do we have to set it: x = Dense(9, weights=[np.zeros([256, 9]), np.array([1, 0, 0, 0, 1, 0, 0, 0, 1]).astype(np.float32)])(x) input_T = Reshape((3, 3))(x) f = Dense(64 * 64, weights=[np.zeros([256, 64 * 64]), np.eye(64).flatten().astype(np.float32)])(f) feature_T = Reshape((64, 64))(f) Could you tell me why? Thank you very much. Minh

minhncsocial avatar Aug 23 '18 03:08 minhncsocial

I think It's because it's mentioned in the paper that you should initialize with the identity matrix

melhousni avatar Aug 25 '19 20:08 melhousni