How to handle higher dimensional coordinate vectors #167
-
I am trying to incorporate your neural network on a protein system, however unlike your typical datasets where you work on atoms and each atom is represented by a single 3D coordinate and velocity vector, I work on compound residues consisting of multiple atoms. Given this, I'm wondering what would be the best strategy when using SphericalHarmonicEdgeAttrs, and RadialBasisEdgeEncoding on such a beast. I could of course just treat it as 4 separate 3D coordinate vectors and then just call each of the functions 4 times with the standard 1x0e+1x1o for the edge_sh, and standard edge_vector_length for the RadialBasisEdgeEncoding. I can then just concatenate the results and get some output which will then be 4x0e+4x1o and this will likely capture what I am looking for. I am wondering whether there is a better way to do this? I believe there might be, but I don't quite have the experience or grasp on how these two functions work (SphericalHarmonicEdgeAttrs, RadialBasisEdgeEncoding) to know what would be the right way to do this. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
Hi @tueboesen , There is definitely a better way to do this, and it is pretty straightforward, but I want to make sure I'm understanding right what you are saying first: the four vectors are all global coordinates, or they are all relative to the position of the residue position? If it is a single position that has some vector-valued input features associated to it, there is a way to handle it, but if it is really 4 independent points, then just putting 4 particles into the graph is the correct approach. |
Beta Was this translation helpful? Give feedback.
Hi @tueboesen ,
There is definitely a better way to do this, and it is pretty straightforward, but I want to make sure I'm understanding right what you are saying first: the four vectors are all global coordinates, or they are all relative to the position of the residue position?
If it is a single position that has some vector-valued input features associated to it, there is a way to handle it, but if it is really 4 independent points, then just putting 4 particles into the graph is the correct approach.