Coder Social home page Coder Social logo

OOM:out of memory about dpsh_pytorch HOT 2 CLOSED

treezzz avatar treezzz commented on September 15, 2024
OOM:out of memory

from dpsh_pytorch.

Comments (2)

TreezzZ avatar TreezzZ commented on September 15, 2024

您好,当我取cifar10整体训练的5w张拿来训练,存在一个显存溢出问题,请问你这边训练是用了多少数据

按照论文原文,取1000张作为查询图像,5000张作为训练图像。训练完成后,对所有图像生成hash code,然后用1000个查询图像计算mAP。
我记得我最开始的时候也是直接用cifar10所有的数据来训练的,没有溢出的问题。你检查一下是不是batch-size设置的太大了?

from dpsh_pytorch.

ray0809 avatar ray0809 commented on September 15, 2024

发现是我自己改动了代码的原因,感谢你的回答~

from dpsh_pytorch.

Related Issues (3)

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.