MCPcopy Create free account
hub / github.com/VincentHancoder/SSGD / select_single_mlvl

Function select_single_mlvl

mmdet/core/utils/misc.py:88–116  ·  view source on GitHub ↗

Extract a multi-scale single image tensor from a multi-scale batch tensor based on batch index. Note: The default value of detach is True, because the proposal gradient needs to be detached during the training of the two-stage model. E.g Cascade Mask R-CNN. Args: mlvl_t

(mlvl_tensors, batch_id, detach=True)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

get_bboxesMethod · 0.90
get_bboxesMethod · 0.90
get_bboxesMethod · 0.90
test_select_single_mlvlFunction · 0.90

Calls 1

detachMethod · 0.80

Tested by 1

test_select_single_mlvlFunction · 0.72