You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In FIgure 3. in your PETR paper, each referencepoint has multi sampling points.
But the shape of input sampling_locations for MultiScaleDeformableAttnFunction is (bs, num_query, num_heads, num_levels, num_leypoints, 2).
Did you set the number of sampling offsets for one reference point (i.e. one keypoint) as 1?
yes, the number of sampling offsets for one reference point (i.e. one keypoint) is set as 1 for each head and feature level
So there are 32 sampling offsets for one reference point.
In FIgure 3. in your PETR paper, each referencepoint has multi sampling points.
But the shape of input
sampling_locations
forMultiScaleDeformableAttnFunction
is(bs, num_query, num_heads, num_levels, num_leypoints, 2)
.Did you set the number of sampling offsets for one reference point (i.e. one keypoint) as 1?
opera/opera/models/utils/transformer.py
Line 409 in a7cadf6
The text was updated successfully, but these errors were encountered: