Methodforward Input: - srcs: List of multi features [bs, ci, hi, wi] - masks: List of multi masks [bs, hi, wi] - refpoi
models/dtlsd/deformable_transformer.py:174
Methodforward Input: - src: [bs, sum(hi*wi), 256] - pos: pos embed for src. [bs, sum(hi*wi), 256] - spatial_shapes: h,w
models/dtlsd/deformable_transformer.py:380
Methodforward Input: - tgt: nq, bs, d_model - memory: hw, bs, d_model - pos: hw, bs, d_model - refpoints_un
models/dtlsd/deformable_transformer.py:504
Methodforward(self, src, pos, reference_points, spatial_shapes, level_start_index, key_padding_mask=None)
models/dtlsd/deformable_transformer.py:616
Methodforward :param query (N, Length_{query}, C) :param reference_points (N, Length_{query}, n_levels, 2), range
models/dtlsd/ops/modules/ms_deform_attn.py:78
Methodforward(ctx, value, value_spatial_shapes, value_level_start_index, sampling_locations, attention_weights, im2col_step
models/dtlsd/ops/functions/ms_deform_attn_func.py:23
Functionget_expected_points_from_mapget_gaussian_map_from_points B,C,H,W -> B,N,2 float(0, 1) float(0, 1) softargmax function Args: hm (float): Input images(
util/utils.py:102