Coder Social home page Coder Social logo

RuntimeError: CUDA out of memory. Tried to allocate 22.00 MiB (GPU 0; 10.91 GiB total capacity; 10.03 GiB already allocated; 18.12 MiB free; 10.17 GiB reserved in total by PyTorch) about yolov3-channel-and-layer-pruning HOT 4 OPEN

tanluren avatar tanluren commented on June 18, 2024
RuntimeError: CUDA out of memory. Tried to allocate 22.00 MiB (GPU 0; 10.91 GiB total capacity; 10.03 GiB already allocated; 18.12 MiB free; 10.17 GiB reserved in total by PyTorch)

from yolov3-channel-and-layer-pruning.

Comments (4)

LeonNerd avatar LeonNerd commented on June 18, 2024

剩余空间不足 调低batchsize 或者下载apex

from yolov3-channel-and-layer-pruning.

huangzicheng avatar huangzicheng commented on June 18, 2024

原因找到啦:不能直接pip install apex 卸载从源码安装

pip uninstall apex
git clone https://www.github.com/nvidia/apex
cd apex
python setup.py install

from yolov3-channel-and-layer-pruning.

qaazii avatar qaazii commented on June 18, 2024

How you solved Out of memory problem. I am still struggling with this even though I have GPU 1080Ti and I installed apex

from yolov3-channel-and-layer-pruning.

Building-max avatar Building-max commented on June 18, 2024

原因找到啦:不能直接pip install apex 卸载从源码安装

pip uninstall apex
git clone https://www.github.com/nvidia/apex
cd apex
python setup.py install

大哥能否仔细说哈。。。

from yolov3-channel-and-layer-pruning.

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.