Giter Site home page Giter Site logo

运行‘train.py’报错 about huawei-garbage HOT 6 CLOSED

qlmx avatar qlmx commented on August 14, 2024
运行‘train.py’报错

from huawei-garbage.

Comments (6)

fwt1226 avatar fwt1226 commented on August 14, 2024

已解决 图像维度问题
但是第一个epoch快跑完的时候出现内存泄漏:
(batch_size已修改为8)

RuntimeError: CUDA out of memory. Tried to allocate 20.25 MiB (GPU 0; 10.91 GiB total capacity; 9.48 GiB already allocated; 20.88 MiB free; 111.09 MiB cached)

train_batch/val_batch都改成4就能跑了

from huawei-garbage.

QLMX avatar QLMX commented on August 14, 2024

from huawei-garbage.

fwt1226 avatar fwt1226 commented on August 14, 2024

需要结合你的机器调整验证集合的batch_size fwt1226 @.***> 于2021年11月3日周三 下午5:06写道:

已解决 图像维度问题 但是第一个epoch快跑完的时候出现内存泄漏: RuntimeError: CUDA out of memory. Tried to allocate 20.25 MiB (GPU 0; 10.91 GiB total capacity; 9.48 GiB already allocated; 20.88 MiB free; 111.09 MiB cached) — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#29 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AF2A46CTHAIDQILWQCGJMQLUKD3R7ANCNFSM5HH2DOAQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

您好 我最终的验证准确率最高还是只能达到88 需要怎么调整呢?

from huawei-garbage.

QLMX avatar QLMX commented on August 14, 2024

from huawei-garbage.

fwt1226 avatar fwt1226 commented on August 14, 2024

是不是图片格式不对,你可以先全量检测一下图片是否有问题 fwt1226 @.***> 于2021年11月3日周三 上午9:52写道:

不好意思 全量检测是什么意思0.0

from huawei-garbage.

QLMX avatar QLMX commented on August 14, 2024

就是检测一下你的图片格式,尺寸是不是有问题

from huawei-garbage.

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.