Giter VIP home page Giter VIP logo

Comments (3)

rocketbear avatar rocketbear commented on May 27, 2024

估计短期内没人来回答,自己答了吧。

把Decode改成DecodeNormResize后,还是能训练的。
没跑大数据集,就拿yolov8_n,用coco val训练,coco val测试,直接拿训练好的yolov8_n_coco模型来初始化,跑了一百多个epoch,mAP已经超过0.3了。
因为数据集小,每个epoch只有一百个step左右,因此warm up要改多一点,我用了30个epoch做warm up。
尽管直接用训练好的模型初始化,刚开始的时候loss还是从三百跳到四百多才缓慢下降。要是仍然保持3个epoch warm up,loss直接爆炸到几万然后掉到0。
或者,下调学习率也许可以收到和增加warm up epoch数量类似的效果。

但无论如何,用Decode + MosaicPerspective肯定是错误的,Decode必须换成DecodeNormResize。

from paddleyolo.

nemonameless avatar nemonameless commented on May 27, 2024

您好,现在代码确实有问题,感谢反馈,已经在排查训练验证中周末会更新完正确的。最初yolov8训练合入的时候验证过是ok的,后来相关代码有改动但是漏了验证yolov8,会尽快对代码库做全面排查,周末会更新完全。
此外yolov8训练周期较长,如果您需求紧急或想快速无误地训出高精度的结果,推荐也可以尝试使用PP-YOLOE+和RT-DETR,谢谢~

from paddleyolo.

nemonameless avatar nemonameless commented on May 27, 2024

您好,develop分支先前已更新修复了。谢谢。

from paddleyolo.

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.