Git Product home page Git Product logo

text-image-denoiser's Introduction

text-image-denoiser

deep learning models trained to denoise/deblur text images (signle frame, multi-frame) [pytorch]

benchmark dataset: LP HDR dataset

Model-1: U-Net

UNet

  • s&p + gaussian blur
  • single frame
  • real noise map

Loss plot


UNet loss


Denoised samples

Pre-trained model

drive link

text-image-denoiser's People

Contributors

zabir-nabil avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

text-image-denoiser's Issues

Why do you plot labels y instead of output?

Hi, something interesting here:
https://github.com/zabir-nabil/text-image-denoiser/blob/master/infer_demo.py

When we tried to use your code, we noticed that you plot y. I guess it should be output, right?


cnt = 0
t = 0
for i, data in enumerate(dataloader, 0):
# get the inputs; data is a list of [inputs, labels]
X, y = data
t1 = time.time()
X = X.cuda()
y = y.cuda()
outputs = model(X)
t2 = time.time()

t += (t2-t1)

plot_save(X[0,:,:,:].cpu(), **y[0,:,:,:].cpu()**, 'unet_demo/', cnt)

cnt += 1

if cnt == 100:
    break

print(f'Time average: {t/100.}')

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.