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

Function get_uncertainty

mmdet/models/utils/point_sample.py:6–29  ·  view source on GitHub ↗

Estimate uncertainty based on pred logits. We estimate uncertainty as L1 distance between 0.0 and the logits prediction in 'mask_pred' for the foreground class in `classes`. Args: mask_pred (Tensor): mask predication logits, shape (num_rois, num_classes, mask_height

(mask_pred, labels)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Calls

no outgoing calls

Tested by

no test coverage detected