question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Questions about offset calculation

See original GitHub issue

Hi, thanks for your wonderful work.

I’m currently studying your work, and come up with some question about the offset calculations.

I understood the offset calculation mentioned on the paper, but can’t understand about how generated offset is being used in the code.

For ex) if $S_H \times S_W : 3 \times 1$; I understood how the offset is applied in this figure 스크린샷 2022-06-13 오후 9 18 20

by calculate like this: 스크린샷 2022-06-13 오후 9 19 57

However, when I run the offset generating code, I can’t figure out how this offset is being used in deform_conv2d 스크린샷 2022-06-13 오후 9 21 57

Can you provide more detailed information about this??

And also, the paper contains how $S_H \times S_W: 3 \times 3$ works, but in the code, it seems like either one ofkernel_size[0] or kernel_size[1] has to be 1. So, if I want to use $S_H \times S_W : 3 \times 3$, do I have to make $3 \times 1$ and $1 \times 3$ offsets and add those together?

Thank you again for your work. I really learned a lot.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
tae-mocommented, Jun 13, 2022

Thank you very much for your kind explanation! Have a great day◡̈

1reaction
ShoufaChencommented, Jun 13, 2022

Yes, your understanding is correct.

Read more comments on GitHub >

github_iconTop Results From Across the Web

OFFSET Function - Formula, Examples, How to Use ...
The OFFSET function is categorized under Excel Lookup and Reference functions. OFFSET will return a range of cells.
Read more >
Calculating Multipliers and Offsets
The multiplier and offset are used when the relationship between the measured electrical output (say voltage) and the parameter being measured (say temperature) ......
Read more >
ROLLING OFFSET piping 45 degree (example question)
We go through a45 degree rolling offset piping example question. Finding the travel given the offset and the rise.
Read more >
Calculate percentage with an offset
As @Matti P. said in the comment here is the answer: Assuming: a = 0% b = 100% min = 500 max =...
Read more >
OFFSET calculation
i do have a field which is gt_po_detl-buss_part = p829829db6, i have to have 829 which is company code , pls tell me...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found