GithubHelp home page GithubHelp logo

custom the output resolution about propainter HOT 3 CLOSED

sczhou avatar sczhou commented on September 16, 2024
custom the output resolution

from propainter.

Comments (3)

sczhou avatar sczhou commented on September 16, 2024 1

Sure, you can set --size in your command.

Please refer to the arguments in inference code: https://github.com/sczhou/ProPainter/blob/main/inference_propainter.py#L177

from propainter.

21pl avatar 21pl commented on September 16, 2024

there seems to be an issue trying to set the tuple with --size from the command line. Tried x, y and x y and (x y) and (x,y) but always seems to error out.
I added the ability to read the input dimensions and set the size internally but the inference quickly runs out of GPU ram (it wanted 96 G for 1920x1080 input)
Also if the new resolution is not divisible by 8 on width and height an error is generated. Could pad the input and then unpad the output?

from propainter.

Note-Liu avatar Note-Liu commented on September 16, 2024

there seems to be an issue trying to set the tuple with --size from the command line. Tried x, y and x y and (x y) and (x,y) but always seems to error out. I added the ability to read the input dimensions and set the size internally but the inference quickly runs out of GPU ram (it wanted 96 G for 1920x1080 input) Also if the new resolution is not divisible by 8 on width and height an error is generated. Could pad the input and then unpad the output?

The output of 1080P consumes a lot of GPU graphics memory. Unless your GPU graphics memory is large enough, you need to reduce the output resolution.

from propainter.

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.