Code Monkey home page Code Monkey logo

Comments (4)

andreapiso avatar andreapiso commented on July 22, 2024

Can't you just use k-means on the boxes of your dataset?

from squeezedet.

tejashadkar avatar tejashadkar commented on July 22, 2024

Do we have to run k-means only on height and width parameters of GT bboxes for squeezeDet model?
I guess cx and cy are already being calculated in set_anchors method of kitti_squeezeDet_config.py. Please confirm!

from squeezedet.

andreapiso avatar andreapiso commented on July 22, 2024

from squeezedet.

cygerts avatar cygerts commented on July 22, 2024

@AndreaPisoni - can you please explain in more detail how the anchorse should be chosen using K-means, or give any link? Given I have W*H custom dataset, and X number of classes.

My current understanding is that I should run k-means on the size (W x H) of all gt-boxes, and then take top N (lets say 9 as in current config)?

EDIT: anchor generation is described here :https://arxiv.org/pdf/1606.01561.pdf. Basically run K-Means on width, and heights of boxes, where K is a hyperparameter but you can easily leave it as it is (9).

from squeezedet.

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.