Giter VIP home page Giter VIP logo

Comments (3)

Zardinality avatar Zardinality commented on May 29, 2024 2

What you mentioned as num_groups is actually num_deform_group flag in the layer function. The num_deform_group and num_groups flags works in different ways. You can refer to this tutorial for how num_group works.
As to how num_deform_group works, you can simply imagine it splits the input to num_deform_group parts in channel dimension, and use different offsets for each of parts. Therefore we need num_deform_group different offsets, that further gives us the equation you post.

from tf_deformable_net.

Zardinality avatar Zardinality commented on May 29, 2024 1

These questions are rather subtle, you could find answers to most of them in the source of this operation.
Here is a fragment explaining the index behavior of this op:

const int data_offset_h_ptr = ((2 * (i * kernel_w + j)) * height_col + h_col) * width_col + w_col;
const int data_offset_w_ptr = ((2 * (i * kernel_w + j) + 1) * height_col + h_col) * width_col + w_col;

from tf_deformable_net.

knmac avatar knmac commented on May 29, 2024

Thank you for your response. Could you tell me the order of the offsets channels, e.g. which channel correspond to horizontal offsets, vertical offsets, which index of the convolution kernel, and which group? Besides, when you part the offset to num_deform_group, how you determine which part of the input map corresponds to which group? Thank you very much.

from tf_deformable_net.

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.