MCPcopy Create free account
hub / github.com/KyanChen/RSPrompter / predict

Method predict

projects/SparseInst/sparseinst/sparseinst.py:84–170  ·  view source on GitHub ↗

Predict results from a batch of inputs and data samples with post- processing. Args: batch_inputs (Tensor): Inputs with shape (N, C, H, W). batch_data_samples (List[:obj:`DetDataSample`]): The Data Samples. It usually includes information such

(self,
                batch_inputs: Tensor,
                batch_data_samples: SampleList,
                rescale: bool = True)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 7

_forwardMethod · 0.95
rescoring_maskFunction · 0.85
sizeMethod · 0.80
unsqueezeMethod · 0.80
squeezeMethod · 0.80
new_zerosMethod · 0.80

Tested by

no test coverage detected