Comments (7)
Hi Karn,
In the paper SM C.4, we metnioned that
It is important to note that the implemented CNO models are specified on a predefined computational grid with a sampling rate of s ≥ 2w. The input functions must be compatible with this grid. If the input function is not compatible with the computational grid, one needs transform it to an appropriate representation (downsampling/usampling). Once the model is applied, the output is transformed back to the original representation.
Please refer to SM C.4 in https://arxiv.org/pdf/2302.01178.pdf for more details.
Let me know if this helped! :)
from convolutionalneuraloperator.
The computational grid is the grid that you perform all the operations on (i.e. training grid). All the training functions are sampled on that grid. If you want to evaluate model on different grid, first you have resample it (or transfer it) to the computational grid, apply the model, and then sample/transfer it back to the desired grid. Resampling can be done by appling up/downsampling directly in the Fourier space or using windowed-sinc filters.
This mechanism works both for higher and lower resolutions.
from convolutionalneuraloperator.
Hey, is_critically_sampled is related to the Niquist limit, which we never reach in our experiments.
from convolutionalneuraloperator.
Yeah, that helped. So If I have enough sampling rate (s ≥ 2w) and I have trained the model on a certain mesh size for that sampling rate so to transfer the solution I need to do a transformation such that it should be of the same size and later transform it back to input shape. Am I right?? Also, how did you transfer the solution to a higher resolution as plotted in the graph for different resolutions??
from convolutionalneuraloperator.
Alright Thanks.
from convolutionalneuraloperator.
Hi,
One more question I have is whether there are any resources where I can refer to the following arguments in the synthesis Layer.
is_critically_sampled, # Does this layer use critical sampling? #NOT IMPORTANT FOR CNO.
in_channels, # Number of input channels.
out_channels, # Number of output channels.
in_size, # Input spatial size: int or [width, height].
out_size, # Output spatial size: int or [width, height].
in_sampling_rate, # Input sampling rate (s).
out_sampling_rate, # Output sampling rate (s).
in_cutoff, # Input cutoff frequency (f_c).
out_cutoff, # Output cutoff frequency (f_c).
in_half_width, # Input transition band half-width (f_h).
out_half_width, # Output Transition band half-width (f_h).
# Hyperparameters.
filter_size = 6, # Low-pass filter size relative to the lower resolution when up/downsampling.
lrelu_upsampling = 2, # Relative sampling rate for leaky ReLU. Ignored for final the ToRGB layer.
use_radial_filters = False, # Use radially symmetric downsampling filter? Ignored for critically sampled layers.
from convolutionalneuraloperator.
Hi @bogdanraonic3 ,
I saw the plot where you have provided the error across different resolutions between FNO and CNO. But I don't think it's a fair comparison between both methods as for CNO across different dimensions you are resampling the signal in the Fourier domain but for FNO you are directly passing through the FNO as it is invariant to mesh size. But you should also resample the signal in the Fourier domain for FNO and plot test error which will be a fair comparison.
from convolutionalneuraloperator.
Related Issues (3)
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 convolutionalneuraloperator.