GithubHelp home page GithubHelp logo

Comments (4)

anchen1011 avatar anchen1011 commented on May 17, 2024

Hi! Would you like to share the command you run as well as the file structure where you are running the command?

We haven't tested with input of that high resolution, but the behavior with different resolution (as long as 8x) should be consistent.

Also, I'm wondering what's the memory size of your machine? 1920 x 1072 is very high resolution as SR input...

Thanks!

from toflow.

Athenanna avatar Athenanna commented on May 17, 2024

@anchen1011 ,thank you for your reply. I use th demo.lua -mode sr -inpath ../data/xxx to do the SR, and the input is 3840x2144 (RGB, bicubic upsampling from 1920x1072), the expectde output is 3840x2144, while it is 2112x1168 instead。I notice that the size of input is limited in the loader.py: local npMax = 2500000, when it set to local npMax = 8500000, it crashed. however, i tried cutting the input images into four squares, and SR each square respectively. Is there any better solution?

from toflow.

anchen1011 avatar anchen1011 commented on May 17, 2024

The reason why it crashed should be memory outage, since 1920 x 1072 is very high resolution as SR input...

Cutting it into smaller squares should be able to generate a reasonable input. However, this might cause abnormal artifacts in boundaries. Introducing some overlapping, averaging, and smoothening might help.

from toflow.

anchen1011 avatar anchen1011 commented on May 17, 2024

Closed due to inactivity. Feel free to reopen if there is further question~

from toflow.

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.