Giter VIP home page Giter VIP logo

Comments (6)

lyuwenyu avatar lyuwenyu commented on June 26, 2024

训练加上 --eval 变训练变eval就可以吧


star this repo, keep following trends
image

from rt-detr.

todesti2 avatar todesti2 commented on June 26, 2024

训练加上 --eval 变训练变eval就可以吧

星标此存储库,继续关注趋势 image

是加上了的,但是它输出的loss值,不是训练集的值嘛,我想知道验证集的loss值

from rt-detr.

lyuwenyu avatar lyuwenyu commented on June 26, 2024

这个目前的代码逻辑是不支持的 得改改代码

  1. 改模型 这里只有 self.training == Trueloss
    https://github.com/lyuwenyu/RT-DETR/blob/main/rtdetr_paddle/ppdet/modeling/heads/detr_head.py#L379
    https://github.com/lyuwenyu/RT-DETR/blob/main/rtdetr_paddle/ppdet/modeling/architectures/detr.py#L77

  2. 或者在trainer.py里的eval阶段强制 model.train()

from rt-detr.

todesti2 avatar todesti2 commented on June 26, 2024

这个目前的代码逻辑是不支持的 得改改代码

  1. 改模型 这里只有 self.training == Trueloss
    https://github.com/lyuwenyu/RT-DETR/blob/main/rtdetr_paddle/ppdet/modeling/heads/detr_head.py#L379
    https://github.com/lyuwenyu/RT-DETR/blob/main/rtdetr_paddle/ppdet/modeling/architectures/detr.py#L77
  2. 或者在trainer.py里的eval阶段强制 model.train()
    难怪!听你这么一说我就敢下手了哈哈哈。谢谢您的建议!我这就去试试

from rt-detr.

lyuwenyu avatar lyuwenyu commented on June 26, 2024

很稳, 可以star一下项目😬 有问题持续反馈

from rt-detr.

todesti2 avatar todesti2 commented on June 26, 2024

很稳, 可以star一下项目😬 有问题持续反馈

好的!

from rt-detr.

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.