Coder Social home page Coder Social logo

Comments (6)

zzh-tech avatar zzh-tech commented on August 23, 2024

Is this your command?

python inference.py

from estrnn.

Entretoize avatar Entretoize commented on August 23, 2024

Yes but I modified it not to have to write parameters each time:

if __name__ == '__main__':
    parser = ArgumentParser()
    parser.add_argument('--src', type=str, default="jardin", help="the path of input video or video dir")
    parser.add_argument('--ckpt', type=str, default="checkpoints/ESTRNN_C80B15_BSD_2ms16ms.tar", help="the path of checkpoint of pretrained model")
    parser.add_argument('--dst', type=str, default="result", help="where to store the results")
    args = parser.parse_args()

from estrnn.

zzh-tech avatar zzh-tech commented on August 23, 2024

What is the image file format in this dir "jardin"?
If you don't mind, you can share the contents of this folder with me.

from estrnn.

Entretoize avatar Entretoize commented on August 23, 2024

After your message I tried with the BSD data and it doesn't worked, then as I already successfully tried your script I redownloaded all py files and it works, then sorry I think I had modified something somewhere that corrupted the code...

Maybe I should open a new issue, tell me, but I have a small issue, the script works great with blurred images but when there's no blur at all the original image is sharpen than the result, is there a way to have a threshold to prevent adding blur on sharp images or on sharp portion of an image ?
(sample images : https://linkall.pro/ESTRNN/000001.png and 000002.png...)

from estrnn.

zzh-tech avatar zzh-tech commented on August 23, 2024

Maybe you can design some solutions with blur detection.

from estrnn.

Entretoize avatar Entretoize commented on August 23, 2024

Yes, I'll compare original and modifed and keep the best after computation.
Thanks

from estrnn.

Related Issues (20)

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.