Comments (2)
So, in my mind, it seems that you haven't use the real-world LR image as disc_img in the backward part. so it can't count as unsupervised training?
We made experiments with real-world images from the DPED dataset as well as images with artificial corruptions. Of course the latter are not actual real-world images, but are supposed to simulate real-world conditions.
Our goal is to generate downsampled "HR" images (i.e. "LR" images) with the same characteristics as the original HR images, or alternatively with the characteristics of another set of images. Cropping such an image does not change any of its local characteristics, but simply reduces the number of pixels used. We are applying the cropping to make sure that the real and fake images are of the same size, which balances the training of the discriminator. We are only using the original HR images during training, without assuming any specific downsampling operations. Therefore, the training happens in an unsupervised fashion.
Futhermore, If i want to have the real-world LR image envoled in the train_dataset, Can I just change the defination of the dataset the same way the Validation dataset is defined?(output 3 imgs: bicubiced_img, img downscaled by generator and real LR image)
I am not sure what you mean with this. What do you define as real LR image? If you feed in the bicubically downsampled images as target, then the whole process of learning the downsampling method is useless, because the downsampling method is already known.
And by the way, I want to assure that the output of utils.imresize(img) is the bicubic downsampled format of img?
yes
And what is the short word disc (in disc_img ) mean? (Just for personal interest.)
"discriminator image"
from real-world-sr.
Thanks For Your Kind Reply With Patience.
Now I totally understand the usage of the corruptions(gaussian or jpeg artifacts), which is used to simulate the real world domain and guide the DSGAN network.
Futhermore, If i want to have the real-world LR image envoled in the train_dataset, Can I just change the defination of the dataset the same way the Validation dataset is defined?(output 3 imgs: bicubiced_img, img downscaled by generator and real LR image)
I am not sure what you mean with this. What do you define as real LR image? If you feed in the bicubically downsampled images as target, then the whole process of learning the downsampling method is useless, because the downsampling method is already known.
And for the operation mentioned above, I meant to have real world image envolved in the training process. So in that process, the bicubic-downsampled images is not used for learning the target domain, while is for learning the rough structure of the input image.
Thats's what I wanna do.
from real-world-sr.
Related Issues (20)
- LR image generation HOT 2
- didn't match because some of the arguments have invalid types: (list, keepdim=bool)
- _pickle.PicklingError: Can't pickle <function <lambda> at 0x7f308810e2f0>: attribute lookup <lambda> on __main__ failed
- WIll I need to retrain DSGAN for 2x SR? HOT 1
- There is no if __name__ == '__main__': in train.py
- RuntimeError: one of the variables needed for gradient computation has been modified by an inplace operation: [torch.FloatTensor [1, 256, 1, 1]] is at version 2; expected version 1 instead. Hint: the backtrace further above shows the operation that failed to compute its gradient. The variable in question was changed in there or anywhere later. Good luck! HOT 15
- where are the options for testing? HOT 1
- ModuleNotFoundError: No module named 'PerceptualSimilarity' HOT 1
- Where is the source images Z for Discriminator?
- As for PerceptualSimilarity
- Pre-trained Models
- Files for DSGAN SDSR pretrained model broken HOT 1
- cannot import name 'models' from 'PerceptualSimilarity'
- no attribute PerceptualLoss HOT 8
- Loss Curves for Training HOT 2
- Trouble training ESRGAN with jpeg artifact images. HOT 2
- About test.yml HOT 5
- Why the dsgan's pretrained models can't uncompress? HOT 3
- Could I use the dsgan with my own image? HOT 4
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 real-world-sr.