GithubHelp home page GithubHelp logo

Comments (7)

Haoming02 avatar Haoming02 commented on June 5, 2024

Hmm.

What resolution was the image you tried to process?

from sd-webui-old-photo-restoration.

Shogun1978 avatar Shogun1978 commented on June 5, 2024

2259 x 3288 px (I've scanned an old picture with best possible resolution). And by asking me the right question, I might have found me issue: not enough memory to process such a large high-res picture. Am I right?

from sd-webui-old-photo-restoration.

Haoming02 avatar Haoming02 commented on June 5, 2024

Since you have:

OutOfMemoryError: CUDA out of memory

in the logs, I'd assume so

from sd-webui-old-photo-restoration.

Haoming02 avatar Haoming02 commented on June 5, 2024

How much System RAM do you have?

from sd-webui-old-photo-restoration.

Shogun1978 avatar Shogun1978 commented on June 5, 2024

The system memory of the VM is 4 or 8 GB, that is something I can easily set up to 64 GB. But the VRAM of the Tesla is just 8 GB. I think, this is the limitation. Unfortunately, I don't have access to a more powerful GPU yet. I will try to reduce the resolution of the picture and try again.

from sd-webui-old-photo-restoration.

Haoming02 avatar Haoming02 commented on June 5, 2024

Yeah, you can try lowering the input resolution first.

Alternatively, you can also try editing this line

https://github.com/Haoming02/sd-webui-old-photo-restoration/blob/main/scripts/main_function.py#L25

to:

GPU_ID = -1

to run it on the CPU instead.

from sd-webui-old-photo-restoration.

Shogun1978 avatar Shogun1978 commented on June 5, 2024

Great! Thank you!

from sd-webui-old-photo-restoration.

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.