GithubHelp home page GithubHelp logo

Comments (6)

wei-tim avatar wei-tim commented on July 28, 2024 1

@nkise
Hi,
that's true, you need to modify this part if you train with your own dataset.

from yowo.

okankop avatar okankop commented on July 28, 2024 1

Currently I am refactoring the whole repo. So, there won't be these kind of bugs. More importantly, I will add the training details for the AVA dataset, and also update the article with AVA results.

Stay tuned!

from yowo.

nkise avatar nkise commented on July 28, 2024

@wei-tim it seems that you have hardcoded numbers of class in region_loss.py

        # try focal loss with gamma = 2
        FL = FocalLoss(class_num=24, gamma=2, size_average=False)
        loss_cls = self.class_scale * FL(cls, tcls)

from yowo.

nkise avatar nkise commented on July 28, 2024

@nkise
Hi,
that's true, you need to modify this part if you train with your own dataset.

So, as I understand, I need to modify clues_num to my number of classes?

from yowo.

wei-tim avatar wei-tim commented on July 28, 2024

@nkise

exactly.

from yowo.

hfarhid avatar hfarhid commented on July 28, 2024

Did this fix you problem? still have same issue after fixing the class_num

from yowo.

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.