Comments (2)
The current code requires the original image for PSNR evaluation. If you want to apply it on an already blurred image without evaluation, a few changes to the code would be necessary. You would also need to make sure the code uses the correct blurring kernel.
from ddrm.
Was anyone ever able to figure out how to implement this in the code? I have been looking through the code for hours debugging line by line, and I'm still not sure if it is possible. Any help or hints on this would be greatly appreciated.
Edit: To be specific, I'm currently trying to apply the code to perform a combination of linear inverses; inpainting, and super-resolution. An image sample may have an empty region of arbitrary size that I want to inpaint, and it may also have known regions that are low-resolution. I think I can see how to code up the inpainting part of the problem, as the Inpainting class defined in svd_replacement.py can fill in gaps of any shape as long as the mask is known (which it is). Would it be possible to combine this with the SuperResolution class somehow? i.e. inpaint where there are gaps, ignore high-resolution pixels, and restore low-resolution pixels.
Apologies for the long-winded question, I am just trying to understand the potential capability of this code. Thanks so much for putting this out and letting us experiment with it.
from ddrm.
Related Issues (20)
- Generating Samples from Noise
- demos for Colorization
- re-training diffusion model HOT 1
- about train
- about exp folder HOT 1
- RuntimeError: CUDA error: out of memory HOT 1
- How to reproduce the inpainting experiments?
- About the theoretical derivation~
- Attribute Error: Can't pickle local object
- RuntimeError: PytorchStreamReader failed reading zip archive: failed finding central directory
- Derviation of the equation 17 in supplemental document HOT 1
- Restoration for real-world images
- [Question] Is there an easy way to test an arbitrary single image?
- [Arbitrary image size support]?
- Access Denied on CELEBA_HQ checkpoint HOT 1
- How to use my own dataset?
- Doesn't seem to generalize well HOT 5
- Error when using image_256_cc.yml HOT 1
- Error when using image_512_cc.yml HOT 3
- imagenet_256_cc.yml runtime error 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 ddrm.