Giter Site home page Giter Site logo

Comments (10)

apaszke avatar apaszke commented on July 22, 2024

If that's all of your memory then the system might be swapping and the performance loss is expected. To fix it try with fewer workers or buy more RAM 😉

from examples.

zym1010 avatar zym1010 commented on July 22, 2024

@apaszke thanks. but seems that the code keeps assuming more and and more memory... is that expected? I mean on ImageNet dataset. When using Caffe with LMDB, it consumes all the memory, but training isn't slowed down.

from examples.

apaszke avatar apaszke commented on July 22, 2024

No. Are you using the script from the official examples repo or is it your own?

from examples.

zym1010 avatar zym1010 commented on July 22, 2024

the official one.

from examples.

zym1010 avatar zym1010 commented on July 22, 2024

I'm now trying to reboot the computers, and see if it helps.

from examples.

zym1010 avatar zym1010 commented on July 22, 2024

@apaszke BTW, can you have a look at https://discuss.pytorch.org/t/how-to-prefetch-data-when-processing-with-gpu/548/4? I think when I'm using Caffe, memory is not that a big issue.

from examples.

zym1010 avatar zym1010 commented on July 22, 2024

@apaszke I retried, and seems by checking free -m, the reason of slowing down is that too much data got cached in mem (the python programs don't take much memory), and maybe the it takes time for the OS to make room for newly read images. I'm using a CentOS 6 cluster system. Maybe the caching mechanism is poor there?

from examples.

zym1010 avatar zym1010 commented on July 22, 2024

@apaszke I tested the same script on another machine with Ubuntu 14.04. This time, the training speed is rock solid. So I think problem is with CentOS 6.

from examples.

VictorJiangXin avatar VictorJiangXin commented on July 22, 2024

Sorry to bother you after so long time, but I have met the same problem with you. Have you solve your problem?

from examples.

zym1010 avatar zym1010 commented on July 22, 2024

@VictorJiangXin not sure. At least for newer OSes (not CentOS 6), this should not be a problem.

from examples.

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.