Comments (6)
Yes
we generated x2 kernels with those parameters and downscaled the image twice or generated a x4 kernel analytically and downscaled once by 4 (2 identical possible ways)
from kernelgan.
also the parameters for 4x downsampling
from kernelgan.
The dataset was generated with some randomness.
You can either take what we generated or generate them yourself but it will not be identical.
from kernelgan.
The dataset was generated with some randomness.
You can either take what we generated or generate them yourself but it will not be identical.
Thanks. Could you tell me the values of the following parameters you used to generate 2x/4x testing images?
scale_factor = np.array([4, 4]) # choose scale-factor
avg_sf = np.mean(scale_factor) # this is calculated so that min_var and max_var will be more intutitive
min_var = 0.175 * avg_sf # variance of the gaussian kernel will be sampled between min_var and max_var
max_var = 2.5 * avg_sf
k_size = np.array([21, 21]) # size of the kernel, should have room for the gaussian
noise_level = 0.4 # this option allows deviation from just a gaussian, by adding multiplicative noise noise
from kernelgan.
See section 5.2 in the paper.
It includes all details, parameters and links
from kernelgan.
Section 5.2 doesn't specify the scale factors. Did you use the same settings (e.g. kernel width, rotation and noise) for both scale factor 2 and 4?
from kernelgan.
Related Issues (20)
- X4 kernel specs in DIV2KRK HOT 1
- It seems like a bug?
- UnknownError: Failed to get convolution algorithm. This is probably because cuDNN failed to initialize HOT 5
- RuntimeError: cuDNN error: CUDNN_STATUS_BAD_PARAM HOT 2
- network parameter asking HOT 6
- Why do you swap axis? HOT 2
- why not directly save the params of Generator for downscaling? why not non-linear? HOT 3
- Question about the DownScaleLoss HOT 1
- About DIV2KRK HOT 1
- about Generator and Discriminator output size HOT 5
- Questions about generator networks HOT 2
- How do you generate such an image? HOT 8
- How do you visualize the ".mat" files HOT 3
- There was a problem with training in another data set HOT 1
- How to gain the PSNR and SSIM HOT 2
- What's the meaning of "input-dir" and "input_img_path"
- Is your training data set the same as your test set HOT 2
- Why there needs flip orperation when calculate the kernel ? HOT 1
- No file .mat HOT 1
- ValueError: shapes (512,512,1) and (3,) not aligned: 1 (dim 2) != 3 (dim 0) HOT 2
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 kernelgan.