MCPcopy Create free account
hub / github.com/XunshanMan/MVGFormer / forward

Method forward

lib/models/dq_decoder.py:850–1045  ·  view source on GitHub ↗

During each decoder layer, each 3D poses of each queries will be projected into each camera view to aggregate features and update coarse projected 2D poses. Then, a triangulation will be performed to get updated 3D poses for each queries. Also, the feature of each query will

(self, tgt, query_pos, reference_points, src_views,
                src_spatial_shapes,
                level_start_index, meta, src_padding_mask=None, rgb_views = None, 
                output_dir='./', frame_id = None, indices=None, threshold=0.5, indices_all=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 14

generate_featuresMethod · 0.95
update_featureMethod · 0.95
generate_valid_masksMethod · 0.95
calculate_2d_offsetsMethod · 0.95
learnable_triangulateMethod · 0.95
bayesian_updateMethod · 0.95
visualize_funcMethod · 0.95
generate_batch_query_idsFunction · 0.85
retrieve_validFunction · 0.85
printFunction · 0.50

Tested by

no test coverage detected