Comments (3)
I'm not sure why you think one needs sort a node's neighborhood. If I understand you correctly, you want to implement a SplineConv
layer where B-spline weights models a Sobel-like kernel. You can do this by customizing the SplineConv.weight
, which is a tensor of shape [num_spline_weights, in_channels, out_channels]
. Therefore, for in_channels = out_channels = 1
, that would be something like
conv.weight = torch.tensor([-1, 0, 1, -2, 0, 2, -1, 0, 1]).view(-1, 1, 1)
from pytorch_spline_conv.
Thanks for your prompt response. I tried what you suggested, but without the intended results.
My goal is to have a SplineConv
layer that is given a feature on a graph and returns the feature's derivative along a specific spatial direction.
In a sense, this would be analogous to a finite difference scheme, but generalized to unstructured meshes. This is why I thought that one needs to sort each node's neighborhood (related paper).
Thanks again for the support.
from pytorch_spline_conv.
I managed to do what I wanted using RBFs. I eventually implemented a RBF-FD network from scratch, but your repo proved to be useful in the process.
Thanks for the support anyway.
from pytorch_spline_conv.
Related Issues (20)
- Tutorial Segmentation Fault HOT 2
- Performing Spline Convolution for evaluating Spline Surface HOT 1
- Only datatype float excepted HOT 8
- Installation issues HOT 1
- Use pseudo coordinates with gradients HOT 4
- graph preprocessing for SplineConv layer HOT 2
- Getting in depth understanding of the spline kernels HOT 2
- Cannot import torch-spline-conv when installed from pip wheel in Torch 1.9.0 HOT 19
- Error importing CPU wheel on machine with CUDA HOT 1
- ImportError occurs in Google Colab HOT 2
- CUDA libraries not generated when building pytorch-spline-conv HOT 7
- Cannot install pyg without pytorch_spline_conv in conda HOT 3
- Plotting Learned Filters HOT 2
- ImportError: cannot import name 'SplineConv' from 'torch_spline_conv' HOT 1
- CUDA error: an illegal memory access HOT 6
- Question: Similiar to Receptive Field HOT 4
- GLIBC incompatibility issue on RHEL8 HOT 5
- Batch operation support HOT 2
- Unclear installation instructions HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pytorch_spline_conv.