naturomics / CapsNet-Tensorflow

A Tensorflow implementation of CapsNet(Capsules Net) in paper Dynamic Routing Between Capsules
Apache License 2.0
3.8k stars 1.16k forks source link

Vector Length #76

Open AuliaRizky opened 6 years ago

AuliaRizky commented 6 years ago

How to determine the vector length and can anybody explaine to me about what it represent?

naturomics commented 6 years ago

The length of vector in the CapsNet paper represents the Euclidean norm, which a.k.a Euclidean distance of vector, in TensorFlow, you can simply call tf.norm to calculate the length of vector.

parinaya-007 commented 6 years ago

The length of vector represents the probability of existence of a given entity/object/object-part. Vector length is simply the magnitude of the vector (vector-norm).

AnushaMehta commented 5 years ago

Related to vector, it is defined that the orientation of vector specifies pose parameters, how to get these parameters from output vector?