Code Monkey home page Code Monkey logo

Comments (4)

Timen avatar Timen commented on July 22, 2024

When you say usage do you mean memory usage or gpu computation utilisation? In the first case the reason that you don't see a difference could be because with such small batch sizes the memory space required is minimal compared to the space required for the model parameters. If you use bigger batch sizes like 64 or even 256 you will see a difference in gpu memory usage.

In the case of gpu computation utilisation, the main reason is that the overhead memory operations and general inefficient use of the cores dominates the performance, if you would be to use bigger batch size like 32 or 64 you will probably start to see performance degradation.

from squeezedet.

chenfsjz avatar chenfsjz commented on July 22, 2024

Thank you for your reply! when the batch sizes are 1 or 10 bigger, the usage of GPU memory is almost 10G, I am not sure dose this statistic data is correct. I just change the src/cfg/kitti_squeezeDet_config.py file.

from squeezedet.

andreapiso avatar andreapiso commented on July 22, 2024

Tensorflow always allocates all your GPU memory by default. There is a tensorflow setting to prevent this from happening if you do not want that.

from squeezedet.

auvx avatar auvx commented on July 22, 2024

你好,我在训练的时候根本不占gpu,只占一点点的显存,你知道是什么问题吗?是需要修改代码某个地方吗,十分感谢!!

from squeezedet.

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.