Giter Club home page Giter Club logo

Comments (5)

daa233 avatar daa233 commented on June 12, 2024

暂时没有时间做这个,可以把遇到的问题贴到这里。

from generative-inpainting-pytorch.

01SHENyankun avatar 01SHENyankun commented on June 12, 2024

from generative-inpainting-pytorch.

01SHENyankun avatar 01SHENyankun commented on June 12, 2024

RuntimeError: CUDA out of memory. Tried to allocate 128.00 MiB (GPU 0; 4.00 GiB total capacity; 2.48 GiB already allocated; 0 bytes free; 2.77 GiB reserved in total by PyTorch)
报错的是这样的,我尝试把batch_size调小也没有解决问题,在网上说加with torch.no_grad():,但是我不知道加在哪里,所以请教一下,这是我复现的第一篇论文,意义重大

from generative-inpainting-pytorch.

01SHENyankun avatar 01SHENyankun commented on June 12, 2024

RuntimeError: CUDA out of memory. Tried to allocate 128.00 MiB (GPU 0; 4.00 GiB total capacity; 2.48 GiB already allocated; 0 bytes free; 2.77 GiB reserved in total by PyTorch)
报错的是这样的,我尝试把batch_size调小也没有解决问题,在网上说加with torch.no_grad():,但是我不知道加在哪里,所以请教一下,这是我复现的第一篇论文,意义重大

from generative-inpainting-pytorch.

daa233 avatar daa233 commented on June 12, 2024

可以把显卡型号发一下,看上去是显存不够导致的

from generative-inpainting-pytorch.

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.