Git Product home page Git Product logo

Comments (6)

CPFLAME avatar CPFLAME commented on June 9, 2024

是的 最后detectron2的数据读取格式全部转化成了统一的xyxy格式

from centerx.

csliuchang avatar csliuchang commented on June 9, 2024

from centerx.

CPFLAME avatar CPFLAME commented on June 9, 2024

加油💪

from centerx.

csliuchang avatar csliuchang commented on June 9, 2024

最近使用detectron2上使用balloon数据集进行单分类检测时候,
当num_classes设置为1,在json文件中将我自己的类category_id 设置为0,预测出来AP一直徘徊0-5左右
当将json里面category_id 设置为1时候,预测出来AP也在0-5左右(和coco数据集id排序一致,没有0)
当我设置num_class=80预测单分类,等多个epoch之后采取测试这样保证id预测出来是正确的测试结果为AP=50
可以问下您这里大概哪个地方有问题需要怎么改呢

from centerx.

CPFLAME avatar CPFLAME commented on June 9, 2024

盲猜可能是BASE_LR的问题,
num_class=80用默认的BASE_LR可能是没有问题的,
num_class=1的时候把BASE_LR调低点试试再跑吧

from centerx.

csliuchang avatar csliuchang commented on June 9, 2024

原来学习率是5e-5了 用的ADAMW的优化器,我调到5e-6 和5e-3都试了下,AP结果还是一样很小很小,就是不知道为啥分80类时候结果是正常的分1类就崩了。。。。

from centerx.

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.