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

Method _compute_gamma

mmdet/models/plugins/dropblock.py:62–81  ·  view source on GitHub ↗

Compute the value of gamma according to paper. gamma is the parameter of bernoulli distribution, which controls the number of features to drop. gamma = (drop_prob * fm_area) / (drop_area * keep_area) Args: feat_size (tuple[int, int]): The height and widt

(self, feat_size)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

forwardMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected