QUVA-Lab / escnn

Equivariant Steerable CNNs Library for Pytorch https://quva-lab.github.io/escnn/
Other
361 stars 47 forks source link

Can escnn be used to process one-dimensional data? #96

Closed wgimmy closed 2 months ago

wgimmy commented 11 months ago

hi,I am currently studying the problem of spatial transformation of molecular diffusion trajectories. The data used is a matrix with two rows and n columns. However, unlike image data, if the numbers in the matrix are regarded as pixel values ​​of the image, after multiplying the matrix by a rotation matrix, the value of the corresponding position will change (the corresponding position of the real picture is rotated The pixel value is unchanged) so I am not sure whether escnn can be applied to one-dimensional data. Can you give me some suggestions?

maxxxzdn commented 8 months ago

Generally, escnn supports 2D and 3D grids, as well as irregular grids (e.g. point clouds). Usually, that is how people work with molecular data - cast is a a graph with features (I assume that is the feature matrix you are talking about) and run point convolutions.

escnn totally supports that; check out this example https://github.com/maxxxzdn/implicit-steerable-kernels/blob/main/examples/3_point_conv.ipynb